![]() |
VR-Forces 4.10 Class Documentation
|
!!!!!!!!!!! DtVrfModelDefinitionInstanceEditorWidget More...

Public Member Functions | |
| DtVrfModelDefinitionInstanceEditorWidget (makVrv::DtDe &de, makVrv::DtDe &appDe, QWidget *parent, bool is2D) | |
| virtual | ~DtVrfModelDefinitionInstanceEditorWidget () |
| virtual void | on_myAddButton_clicked () |
Public Member Functions inherited from makVrv::DtModelDefinitionInstanceEditorWidget | |
| DtModelDefinitionInstanceEditorWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| virtual | ~DtModelDefinitionInstanceEditorWidget () |
Public Member Functions inherited from makVrv::DtInstanceEditorWidget | |
| 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. More... | |
| virtual void | addInstance (const std::string &name) |
| Called by the logic to add an instance to the GUI. More... | |
| virtual void | setDuplicate (const std::string &name, bool b) |
| Balled by the logic to mark duplicate instances. More... | |
| virtual void | deleteInstance (const std::string &name) |
| Called by the logic to remove an instance from the GUI. More... | |
| virtual void | setInstanceFlags (const std::string &name, bool isSaved, bool isOk, bool isEnabled) |
| Called by the logic to set additional parameters about an instance. More... | |
| virtual void | clearInstances () |
| Called by the logic to remove all instances from the gui. More... | |
| virtual void | selectInstance (const std::string &name) |
| Called by the logic to select an instance in the GUI. More... | |
| virtual std::vector< std::string > | selectedInstances () const |
| Returns the currently selected instances. More... | |
| virtual void | clearFilters () |
| Clears out filters. More... | |
| virtual void | selectFilter (const std::string &name) |
| Selects a filter item and then emits signal that filter has changed. More... | |
| virtual void | addFilterItem (const std::string &, int) |
| Adds an item into the filter list. More... | |
| 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. More... | |
| virtual void | setInstancesCopyable (bool copyable) |
| Called by the logic to enable/disable the copy button. More... | |
| virtual void | setInstancesEditable (bool editable) |
| Called by the logic to enable/disable the edit button. More... | |
| virtual void | setInstancesRenamable (bool renamable) |
| Called by the logic to enable/disable the rename button. More... | |
| virtual void | setInstancesRemovable (bool removable) |
| Called by the logic to enable/disable removing of instances. More... | |
| virtual void | setFilters (const std::vector< std::pair< std::string, bool > > &filters) |
| Set a list of filter strings the interface may display. More... | |
| virtual void | setFilterToolTip (const std::string &text) |
| Set the filter tool tip text. More... | |
| virtual QPushButton * | addButton () |
| Set the 'add' button text. More... | |
| virtual void | setDeleteButtonText (QString text) |
| Set the 'delete' button text. More... | |
| virtual void | setCopyButtonText (QString text) |
| Set the 'copy' button text. More... | |
| virtual void | setEditButtonText (QString text) |
| Set the 'edit' button text. More... | |
| virtual void | setRenameButtonText (QString text) |
| Set the 'rename' button text. More... | |
| virtual void | sortInstances () |
| Sorts the instances by name. More... | |
| virtual void | setupInvalidInstances () |
| Cycles through dialog to look at items that have "red" background. More... | |
| 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. More... | |
| virtual void | setDeleteButtonEnabled (bool) |
| Sets whether or not the delete button is enabled. More... | |
| virtual void | setDeleteButtonToolTip (const QString &) |
| Sets too tip on delete button. If empty string, sets default. More... | |
| virtual void | setSelectionMode (SelectionMode mode) |
| Sets the selection mode default is single selection. More... | |
| virtual void | resetFilters () |
| clean the filters More... | |
Public Member Functions inherited from makVrv::DtInstanceEditorInterface | |
| virtual | ~DtInstanceEditorInterface () |
| Virtual DTOR. More... | |
| virtual std::string | selectedInstance () const =0 |
| Returns the selected instance. More... | |
| virtual std::string | selectedInstanceCategory () const =0 |
| Returns category selected instance is in. More... | |
| virtual int | selectedInstanceCategoryIndex () const =0 |
| Returns category selected instance is in (integer) More... | |
Public Attributes | |
| boost::signals2::signal< void()> | signal_doubleClicked |
Public Attributes inherited from makVrv::DtInstanceEditorInterface | |
| boost::signalslib::signal < void(const std::string &name, const std::string &schema)> | signal_createInstance |
| Signal emitted when the user clicks the "New". More... | |
| boost::signalslib::signal < void(const std::string &, const std::string &)> | signal_deleteInstance |
| Signal emitted when the user clicks the "Delete". More... | |
| boost::signalslib::signal < void(std::vector < std::string >)> | signal_deleteInstances |
| Signal emitted when the user clicks the "Delete" with multiple instances selected Connected to a slot in the logic. More... | |
| boost::signalslib::signal < void(const std::string &, const std::string &, const std::string &)> | signal_copyInstance |
| Signal emitted when the user clicks the "Copy", containing the old name, and the new name. More... | |
| boost::signalslib::signal < void(const std::string &, const std::string &)> | signal_editInstance |
| Signal emitted when the user clicks the "Edit". More... | |
| boost::signalslib::signal < void(const std::string &oldName, const std::string &newName, int)> | signal_renameInstance |
| Signal emitted when the user clicks the "Edit". More... | |
| boost::signalslib::signal< void()> | signal_changeFileName |
| boost::signalslib::signal < void(const std::string &, const std::string &, int)> | signal_selectionChanged |
| Signal emitted when the user selects an instance. More... | |
| boost::signalslib::signal < void(const std::string &)> | signal_filterChanged |
| Signal emitted when the user changes the filter. More... | |
Protected Slots | |
| virtual void | itemDoubleClicked (QTreeWidgetItem *item, int col) |
Protected Slots inherited from makVrv::DtModelDefinitionInstanceEditorWidget | |
| virtual void | on_jumpToEntityDefinitionButtonClicked () |
| slot for the jump to entity element definition button More... | |
| virtual void | on_jumpToUnitDefinitionButtonClicked () |
| slot for the jump to unit/aggregate element definition button More... | |
| virtual void | on_jumpToTacticalGraphicDefinitionButtonClicked () |
| slot for the jump to tactical graphics/environmental element definition button More... | |
| virtual void | on_jumpToInteractionDefinitionButtonClicked () |
| slot for the jump to interaction element definition button More... | |
| virtual void | on_jumpToTactialSmokeDefinitionButtonClicked () |
| slot for the jump to tactiacl smoke element definition button More... | |
| virtual void | on_myTreeWidget_itemSelectionChanged () |
| override for DtInstanceEditorWidget's slot when an item is selected. More... | |
Protected Slots inherited from makVrv::DtInstanceEditorWidget | |
| virtual void | on_myTreeWidget_itemSelectionChanged () |
| virtual void | on_myDeleteButton_clicked () |
| virtual void | on_myCopyButton_clicked () |
| virtual void | on_myEditButton_clicked () |
| virtual void | on_myFilterGroup_triggered (const QString &) |
| virtual void | on_myFilterActionGroup_triggered (QAction *) |
| virtual void | on_mySearchLineEdit_textChanged (const QString &) |
| virtual void | on_mySearchCleanButton_released () |
| void | on_myTreeWidget_itemClicked (QTreeWidgetItem *item, int column) |
| void | on_myTreeWidget_itemActivated (QTreeWidgetItem *item, int column) |
| void | on_myTreeWidget_itemDoubleClicked (QTreeWidgetItem *item, int column) |
| virtual std::string | selectedInstance () const |
| virtual std::string | selectedInstanceCategory () const |
| virtual int | selectedInstanceCategoryIndex () const |
Additional Inherited Members | |
Public Types inherited from makVrv::DtInstanceEditorInterface | |
| enum | SelectionMode { NoSelection, SingleSelection, MultiSelection, ExtendedSelection, ContiguousSelection } |
Protected Types inherited from makVrv::DtInstanceEditorWidget | |
| typedef boost::unordered_map < std::string, QTreeWidgetItem * > ::iterator | ItemItr |
Protected Member Functions inherited from makVrv::DtModelDefinitionInstanceEditorWidget | |
| void | setupGui () |
| QString | askForNewInstanceName (QString initial, QString &schema, const QString &title) |
| Ask for the new instance name. More... | |
| virtual void | on_myRenameButton_clicked () |
| Override to warn user that changes might mean saving of other items in the system that rely on this model definition name. More... | |
| virtual void | slot_jumpToModelDefinition (const DtUnicode &modeDefinitionName) |
| boost slot for handling the jumpt to dialog signal for jumping to a model definition More... | |
Protected Member Functions inherited from makVrv::DtInstanceEditorWidget | |
| QString | askForNewInstanceName (QString initial, const QString &title) |
| void | setupGui () |
| QTreeWidgetItem * | findItem (const std::string &name) |
| virtual void | updateErrorMessage (QTreeWidgetItem *item) |
| brief update the error messages when you delete item More... | |
!!!!!!!!!!! DtVrfModelDefinitionInstanceEditorWidget
| DtVrfModelDefinitionInstanceEditorWidget::DtVrfModelDefinitionInstanceEditorWidget | ( | makVrv::DtDe & | de, |
| makVrv::DtDe & | appDe, | ||
| QWidget * | parent, | ||
| bool | is2D | ||
| ) |
|
virtual |
|
virtual |
Reimplemented from makVrv::DtModelDefinitionInstanceEditorWidget.
|
protectedvirtualslot |
| boost::signals2::signal<void ()> DtVrfModelDefinitionInstanceEditorWidget::signal_doubleClicked |
|
protected |
|
protected |