![]() |
VR-Forces 5.0.3 Developer's Guide
|
Interface of the makVrv::DtMultiMapEditorWidget for the makVrv::DtMultiMapEditorLogic.

Public Member Functions | |
| DtMultiMapEditorInterface () | |
| virtual | ~DtMultiMapEditorInterface () |
| virtual void | setPossibleValues (const QStringList &values, int column=1)=0 |
| virtual void | addValue (const std::string &key, const std::string &value, int index=1)=0 |
| virtual void | changeFilePath ()=0 |
| virtual void | changeValue (const std::string &key, const std::string &oldValue, const std::string &value, int index=1)=0 |
| virtual void | deleteValue (const std::string &key, const std::string &value)=0 |
| virtual void | deleteValues (const std::vector< std::string > &key, const std::vector< std::string > &value)=0 |
| virtual void | replaceValue (const std::string &key, const std::string &oldValue, const std::string &newValue)=0 |
| virtual void | clearValues ()=0 |
| virtual void | unableToRenameParameter (const std::string &oldName)=0 |
| virtual void | sortItems ()=0 |
| virtual void | selectValue (const std::string &key, const std::string &value)=0 |
| virtual void | selectAdditionalValue (const std::string &key, const std::string &value)=0 |
| virtual void | selectFirstValue (const std::string &key)=0 |
| virtual void | filterValues (const std::vector< std::string > &keys)=0 |
| virtual void | filterValues (const std::vector< std::pair< std::string, std::string > > &keys)=0 |
| virtual void | setAllTopLevelTreeWidgetItemsHidden (bool hide)=0 |
| virtual void | renameKey (const std::string &oldkey, const std::string &value, const std::string &newkey)=0 |
| virtual void | setTitle (const QString &)=0 |
| virtual bool | selectedInstanceNameAndValue (std::vector< std::string > &keys, std::vector< std::string > &values) const =0 |
| virtual QWidget * | widget ()=0 |
| virtual void | setValid (const std::string &name, const std::string &value, bool valid, const QString &errorText)=0 |
| virtual void | showErrors ()=0 |
| virtual std::vector< std::string > | selectedInstancesNames ()=0 |
Public Attributes | |
| boost::signalslib::signal < void(const std::string &oldName, const std::string &value, const std::string &newName)> | signal_renameValue |
| boost::signalslib::signal < void(const std::string &key, const std::string &value, int index)> | signal_addValue |
| boost::signalslib::signal< void()> | signal_changeFilePath |
| boost::signalslib::signal< void()> | signal_changeFileFilterPath |
| boost::signalslib::signal < void(const std::string &key, const std::string &oldValue, const std::string &value, int index)> | signal_valueChanged |
| boost::signalslib::signal < void(const std::vector < std::string > &keys, const std::vector< std::string > &values)> | signal_deleteValue |
| boost::signalslib::signal < void(const std::string &key)> | signal_itemSelected |
Private Member Functions | |
| DtMultiMapEditorInterface (const DtMultiMapEditorInterface ©) | |
| DtMultiMapEditorInterface & | operator= (const DtMultiMapEditorInterface &) |
| makVrv::DtMultiMapEditorInterface::DtMultiMapEditorInterface | ( | ) |
|
virtual |
|
private |
Copy Constructor.
|
private |
Assignment Operator Not implemented.
|
pure virtual |
Set the list of possible values for value. Optionally there may be multiple sets of values, specified by the index.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to add a key/value to the widget.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Changes the path of currently selected definition to the file path currently displayed on the dropdown box.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to change a key/value to the widget.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to delete a key/value to the widget.
Implemented in makVrv::DtEntityTypeMapEditorWidget, and makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to delete key/value to the widget.
Implemented in makVrv::DtEntityTypeMapEditorWidget, and makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to replace the old value with the new value for the specified key.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to clear all values on widget.
Implemented in makVrv::DtEntityTypeMapEditorWidget, and makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic when a renameValue fails.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Sort the items.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to select a value in the widget.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to select a value in the widget without clearing previous selections.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to select a value in the widget.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Filters the tree by the given keys.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Filters the tree by the given key and name pairs.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Sets all the top level items hidden or not.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Called by the logic to rename a key Warning: This only does so visually and is primarily only used when using the map editor to display an ordered list with an invisible key.
Implemented in makVrv::DtEntityTypeMapEditorWidget, and makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Sets the title of the label next to dialog buttons.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Returns the selected instance names and values in the supplied parameters. Will return true if there is something selected.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Returns this widget.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Sets value valid/invalid and gives text to display when selected if invalid. Invalid background color is 0.
Implemented in makVrv::DtMultiMapEditorWidget.
|
pure virtual |
Display invalid items if needed.
Implemented in makVrv::DtEntityTypeMapEditorWidget.
|
pure virtual |
get the current selected instances names
Implemented in makVrv::DtMultiMapEditorWidget.
| boost::signalslib::signal<void(const std::string& oldName, const std::string& value, const std::string& newName)> makVrv::DtMultiMapEditorInterface::signal_renameValue |
Signal emitted when the user wants to rename a key.
| boost::signalslib::signal<void(const std::string& key, const std::string& value, int index)> makVrv::DtMultiMapEditorInterface::signal_addValue |
Signal emitted when the user wants to add a new key/value. Optionally there is an index provided for multiple values.
| boost::signalslib::signal<void()> makVrv::DtMultiMapEditorInterface::signal_changeFilePath |
Signal emitted when the user wants to change the file path of the currently selected element.
| boost::signalslib::signal<void()> makVrv::DtMultiMapEditorInterface::signal_changeFileFilterPath |
Signal emitted when the user wants to filter out all files whose file path doesn't match the path in the dropdown box.
| boost::signalslib::signal<void(const std::string& key, const std::string& oldValue, const std::string& value, int index)> makVrv::DtMultiMapEditorInterface::signal_valueChanged |
Signal emitted when the user wants to add a new key/value. Optionally there is an index provided for multiple values.
| boost::signalslib::signal<void(const std::vector<std::string>& keys, const std::vector<std::string>& values)> makVrv::DtMultiMapEditorInterface::signal_deleteValue |
Signal emitted when the user wants to delete key value.
| boost::signalslib::signal<void(const std::string& key)> makVrv::DtMultiMapEditorInterface::signal_itemSelected |
Signal emitted when the user select items.