![]() |
QCAD
Open Source 2D CAD
|
Abstract base class for classes that are interested in properties of the current selection or the current action. More...
#include <RPropertyListener.h>
Public Member Functions | |
virtual void | clearEditor ()=0 |
This method is called to signal that no properties are currently relevant. | |
virtual void | updateFromDocument (RDocument *document, bool onlyChanges, RS::EntityType entityTypeFilter=RS::EntityAll, bool manual=false, bool showOnRequest=false)=0 |
This method is called whenever the relevant combined properties of the objects in document have changed. | |
virtual void | updateFromObject (RObject *object, RDocument *document=NULL)=0 |
This method is called if only the properties of the given property owner are currently relevant. | |
virtual | ~RPropertyListener () |
Abstract base class for classes that are interested in properties of the current selection or the current action.
For example a property browser or editor.
|
inlinevirtual |
|
pure virtual |
This method is called to signal that no properties are currently relevant.
For example that no entities are selected in a document or that nothing is being drawn at the moment.
Implemented in RPropertyEditor.
|
pure virtual |
This method is called whenever the relevant combined properties of the objects in document
have changed.
For example this can mean that the selection in a document has changed and the combined properties of the selected entities should be displayed in a property browser or editor.
onlyChanges | Only changes of entities, the set of entities has not changed (no deletes, no additions). |
Implemented in RPropertyEditor.
|
pure virtual |
This method is called if only the properties of the given property owner are currently relevant.
For example this can be the case when an entity is being drawn and only the properties of that entity should be displayed, so that the user can adjust properties before or while drawing the entity.
Implemented in RPropertyEditor.