Public Member Functions |
| | DtVrfModelDefinitionInstanceEditorWidget (makVrv::DtDe &de, QWidget *parent, bool is2D) |
| virtual | ~DtVrfModelDefinitionInstanceEditorWidget () |
| virtual void | on_myAddButton_clicked () |
| | DtModelDefinitionInstanceEditorWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) |
| virtual | ~DtModelDefinitionInstanceEditorWidget () |
| | DtInstanceEditorWidget (DtDe &de, const QString &widgetEditorType, QWidget *parent=0, Qt::WindowFlags flags=0) |
| virtual | ~DtInstanceEditorWidget () |
| virtual void | setInstanceTypeName (const std::string &name) |
| | Called by the logic to set the type of instances.
|
| virtual void | addInstance (const std::string &name) |
| | Called by the logic to add an instance to the GUI.
|
| virtual void | deleteInstance (const std::string &name) |
| | Called by the logic to remove an instance from the GUI.
|
| virtual void | setInstanceFlags (const std::string &name, bool isSaved, bool isOk, bool isEnabled) |
| | Called by the logic to set additional parameters about an instance.
|
| virtual void | clearInstances () |
| | Called by the logic to remove all instances from the gui.
|
| virtual void | selectInstance (const std::string &name) |
| | Called by the logic to select an instance in the GUI.
|
| virtual void | clearFilters () |
| | Clears out filters.
|
| virtual void | selectFilter (const std::string &name) |
| | Selects a filter item and then emits signal that filter has changed.
|
| virtual void | addFilterItem (const std::string &, int) |
| | Adds an item into the filter list.
|
| virtual void | setEnableFilterEditor (bool filters) |
| | Called by the logic to enable/disable the filter editing control The filter editor typically selects the desired filter, the logic is still responsible for executing the actual filtering.
|
| virtual void | setInstancesCopyable (bool copyable) |
| | Called by the logic to enable/disable the copy button.
|
| virtual void | setInstancesEditable (bool editable) |
| | Called by the logic to enable/disable the edit button.
|
| virtual void | setInstancesRenamable (bool renamable) |
| | Called by the logic to enable/disable the rename button.
|
| virtual void | setInstancesRemovable (bool removable) |
| | Called by the logic to enable/disable removing of instances.
|
| virtual void | setFilters (const std::vector< std::pair< std::string, bool > > &filters) |
| | Set a list of filter strings the interface may display.
|
| virtual void | setFilterToolTip (const std::string &text) |
| | Set the filter tool tip text.
|
| virtual QPushButton * | addButton () |
| | Set the 'add' button text.
|
| virtual void | setDeleteButtonText (QString text) |
| | Set the 'delete' button text.
|
| virtual void | setCopyButtonText (QString text) |
| | Set the 'copy' button text.
|
| virtual void | setEditButtonText (QString text) |
| | Set the 'edit' button text.
|
| virtual void | setRenameButtonText (QString text) |
| | Set the 'rename' button text.
|
| virtual void | sortInstances () |
| | Sorts the instances by name.
|
| virtual void | setupInvalidInstances () |
| | Cycles through dialog to look at items that have "red" background.
|
| virtual void | renameInstance (const std::string &oldName, const std::string &newName, int selectedInstanceIndex) |
| | Renames the instance from the old to new name if the selected instance is the one given.
|
| virtual void | setDeleteButtonEnabled (bool) |
| | Sets whether or not the delete button is enabled.
|
| virtual void | setDeleteButtonToolTip (const QString &) |
| | Sets too tip on delete button. If empty string, sets default.
|
| virtual void | setSelectionMode (SelectionMode mode) |
| | Sets the selection mode default is single selection.
|
| virtual | ~DtInstanceEditorInterface () |
| | Virtual DTOR.
|
| virtual std::string | selectedInstance () const =0 |
| | Returns the selected instance.
|
| virtual std::vector< std::string > | selectedInstances () const =0 |
| | Returns the selected instances.
|
| virtual std::string | selectedInstanceCategory () const =0 |
| | Returns category selected instance is in.
|
| virtual int | selectedInstanceCategoryIndex () const =0 |
| | Returns category selected instance is in (integer)
|