|
void | addCustomProperty () |
|
void | filterChanged () |
| Called when user changes entity filter at the top of the property editor.
|
|
void | getAdjustedPropertyValue (void propertyTypeId) |
|
void | initBooleanControls (void objectName, void propertyTypeId, void onlyChanges, void control) |
| Initializes a boolean control (combo box with yes / no) for the given property.
|
|
void | initChoiceControls (void objectName, void propertyTypeId, void onlyChanges, void control, void choices, void choicesData) |
| Initializes a choice control (combo box) for the given property.
|
|
void | initControls (void propertyTypeId, void onlyChanges, void control) |
| Initializes a control for the given property.
|
|
void | initNumberControls (void objectName, void propertyTypeId, void onlyChanges, void control, void index) |
| Initializes a number control (RMathLineEdit) for the given property.
|
|
void | initStringControls (void objectName, void propertyTypeId, void onlyChanges, void control) |
| Initializes a string control (QLineEdit) for the given property.
|
|
void | makeReadOnly (void control) |
| Make given control read-only and more visibly so.
|
|
void | makeReadWrite (void control) |
| Make given control read-write again.
|
|
void | PropertyEditorImpl (void basePath) |
|
void | requestAllProperties () |
| Called when the user requests all properties to be shown.
|
|
void | updateGui (void onlyChanges) |
| Implementation from RPropertyEditor to update the property editor GUI.
|
|
virtual void | clearEditor () |
| This method is called to signal that no properties are currently relevant.
|
|
virtual void | clearLayers () |
| This method is called to signal that no document is currently active.
|
|
virtual QStringList | getAppProperties () |
|
RPropertyAttributes | getCustomPropertyAttributes (const QString &group, const QString &title) |
|
RS::EntityType | getEntityTypeFilter () const |
|
virtual QStringList | getFixedCustomPropertyNames (const QList< RS::EntityType > &objectTypes) |
|
QStringList | getGroupTitles () |
|
RPropertyAttributes | getPropertyAttributes (const QString &group, const QString &title) |
|
RPropertyAttributes | getPropertyAttributes (const RPropertyTypeId &propertyTypeId) |
|
QStringList | getPropertyTitles (const QString &group) |
|
QVariant | getPropertyValue (const QString &group, const QString &title) |
|
QVariant | getPropertyValue (const RPropertyTypeId &propertyTypeId) |
|
int | getTypeCount (RS::EntityType type) |
|
QList< RS::EntityType > | getTypes () |
|
void | listPropertyChanged (RPropertyTypeId propertyTypeId, int index, QVariant propertyValue) |
|
void | propertyChanged (RPropertyTypeId propertyTypeId, QVariant propertyValue, RS::MetaType typeHint=RS::UnknownType) |
|
| RPropertyEditor () |
| Default Constructor.
|
|
virtual void | setCurrentLayer (RDocumentInterface *documentInterface, RObject::Id previousLayerId) |
| This method is called when a different layer becomes the new current layer.
|
|
void | setEntityTypeFilter (RS::EntityType type) |
|
virtual void | updateFromDocument (RDocument *document, bool onlyChanges, RS::EntityType filter=RS::EntityUnknown, bool manual=false, bool showOnRequest=false) |
| Removes all but the given properties from the combined properties collected so far.
|
|
void | updateFromDocumentNow (RDocument *document, bool onlyChanges, RS::EntityType filter=RS::EntityUnknown, bool manual=false, bool showOnRequest=false) |
|
virtual void | updateFromObject (RObject *object, RDocument *document=NULL) |
| Implements updateFromObject from RPropertyListener to show properties for one single object.
|
|
virtual void | updateLayers (RDocumentInterface *documentInterface) |
|
virtual void | updateLayers (RDocumentInterface *documentInterface, QList< RObject::Id > &layerIds) |
| This method is called whenever at least one layer in the given document has changed.
|
|
virtual | ~RPropertyEditor () |
| Destructor.
|
|
virtual | ~RPropertyListener () |
|
virtual | ~RLayerListener () |
|
|
static bool | checkType (RS::EntityType type, RS::EntityType filter) |
|
static RPropertyEditor * | getInstance () |
|
static void | makeReadOnly (QWidget *control, bool on) |
|
typedef QMap< QString, RPropertyMap > | RPropertyGroupMap |
| group key / key,value,attributes
|
|
typedef QMap< QString, QPair< QVariant, RPropertyAttributes > > | RPropertyMap |
| key / value / attributes
|
|
virtual bool | showCustomAppProperties (RPropertyAttributes::Option opt) |
| Can be re-implemented to show custom app properties of the given type(s).
|
|
virtual void | updateEditor (RObject &object, const QList< RPropertyTypeId > &propertyTypeIds, bool doUpdateGui, RDocument *document=NULL, bool showOnRequest=false) |
| Updates the property widget to include the properties of the given property owner.
|
|
virtual void | updateGui (bool onlyChanges=false) |
| Updates the user interface of this property editor.
|
|
void | updateProperty (const RPropertyTypeId &propertyTypeId, RObject &object, RDocument *document, bool showOnRequest=false) |
| Sets the property with the given name to the given value or to 'mixed' if that property exists already with a different value.
|
|
static void | computePropertyValue (RProperty &property) |
|
RPropertyGroupMap | combinedProperties |
|
QMap< RS::EntityType, int > | combinedTypes |
|
RS::EntityType | entityTypeFilter |
|
QStringList | groupOrder |
|
bool | guiUpToDate |
|
QMap< QString, QStringList > | propertyOrder |
|
bool | updatesDisabled |
|
static RPropertyEditor * | instance = NULL |
| Copyright (c) 2011-2018 by Andrew Mustun.
|
|
Property editor implementation.