Developer Documentation
|
Public Member Functions | |
virtual void | pickModeChanged (const std::string &_mode) |
virtual void | mouseEvent (QMouseEvent *_event) |
PropertyModel (QObject *parent=0) | |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const =0 |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const =0 |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const =0 |
virtual QModelIndex | index (int row, int column, QModelIndex const &parent=QModelIndex()) const =0 |
virtual void | objectUpdated ()=0 |
Revisualizes visualized properties. More... | |
virtual void | visualize (QModelIndexList selectedIndices, QWidgetList widgets=QWidgetList())=0 |
Visualizes the selected properties. More... | |
virtual void | removeProperty (QModelIndexList selectedIndices)=0 |
Removes the selected properties. More... | |
virtual void | duplicateProperty (QModelIndexList selectedIndices)=0 |
Duplicates the selected properties. More... | |
virtual void | gatherProperties ()=0 |
Searches for properties and creates PropertyVisualizers. More... | |
virtual void | clear (QModelIndexList selectedIndices)=0 |
Clears the selected property visualization. More... | |
virtual void | hideWidget ()=0 |
Hides the widget. More... | |
virtual QWidget * | getWidget ()=0 |
Returns the widget. More... | |
virtual void | updateWidget (const QModelIndexList &selectedIndices)=0 |
Updates the widget. More... | |
virtual void | connectLogs (PropertyVisualizer *propViz)=0 |
Connects the PropertyVisualizer log signals with the log slot. More... | |
virtual PropertyInfo | getPropertyInfo (const QModelIndex index) const =0 |
Returns the property info for the property with the given index. More... | |
QModelIndex | indexFromFancyPropName (const QString &propName) const |
Returns the index of the property with the given name. More... | |
QModelIndex | indexFromPlainPropName (const QString &propName) const |
Returns the index of the property with the given name. More... | |
Definition at line 52 of file PropertyModel.hh.
|
inlineexplicit |
Definition at line 60 of file PropertyModel.hh.
|
inlinevirtual |
Definition at line 61 of file PropertyModel.hh.
|
pure virtual |
Clears the selected property visualization.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Connects the PropertyVisualizer log signals with the log slot.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Duplicates the selected properties.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Searches for properties and creates PropertyVisualizers.
Implemented in OMPropertyModel< MeshT >, OVMPropertyModel< MeshT >, MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Returns the property info for the property with the given index.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Returns the widget.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Hides the widget.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
QModelIndex PropertyModel::indexFromFancyPropName | ( | const QString & | propName | ) | const |
Returns the index of the property with the given name.
Definition at line 45 of file PropertyModel.cc.
QModelIndex PropertyModel::indexFromPlainPropName | ( | const QString & | propName | ) | const |
Returns the index of the property with the given name.
Definition at line 56 of file PropertyModel.cc.
|
inlinevirtual |
Reimplemented in OMPropertyModel< MeshT >, and OVMPropertyModel< MeshT >.
Definition at line 58 of file PropertyModel.hh.
|
pure virtual |
Revisualizes visualized properties.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
inlinevirtual |
Reimplemented in OMPropertyModel< MeshT >, and OVMPropertyModel< MeshT >.
Definition at line 57 of file PropertyModel.hh.
|
pure virtual |
Removes the selected properties.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Updates the widget.
Implemented in OMPropertyModel< MeshT >, OVMPropertyModel< MeshT >, MultiObjectPropertyModel, and SingleObjectPropertyModel.
|
pure virtual |
Visualizes the selected properties.
Implemented in MultiObjectPropertyModel, and SingleObjectPropertyModel.