![]() |
VR-Forces 4.5 Class Documentation
|
Interface of the makVrv::DtMultiMapEditorWidget for the makVrv::DtMultiMapEditorLogic. More...

Public Member Functions | |
| virtual | ~DtMultiMapEditorInterface () |
| virtual void | setPossibleValues (QStringList values, int column=1)=0 |
| Set the list of possible values for value. | |
| virtual void | addValue (const std::string &key, const std::string &value, int index=1)=0 |
| Called by the logic to add a key/value to the widget. | |
| virtual void | changeValue (const std::string &key, const std::string &oldValue, const std::string &value, int index=1)=0 |
| Called by the logic to change a key/value to the widget. | |
| virtual void | deleteValue (const std::string &key, const std::string &value)=0 |
| Called by the logic to delete a key/value to the widget. | |
| virtual void | deleteValues (const std::vector< std::string > &key, const std::vector< std::string > &value)=0 |
| Called by the logic to delete key/value to the widget. | |
| virtual void | replaceValue (const std::string &key, const std::string &oldValue, const std::string &newValue)=0 |
| Called by the logic to replace the old value with the new value for the specified key. | |
| virtual void | clearValues ()=0 |
| Called by the logic to clear all values on widget. | |
| virtual void | unableToRenameParameter (const std::string &oldName)=0 |
| Called by the logic when a renameValue fails. | |
| virtual void | sortItems ()=0 |
| Sort the items. | |
| virtual void | selectValue (const std::string &key, const std::string &value)=0 |
| Called by the logic to select a value in the widget. | |
| virtual void | selectFirstValue (const std::string &key)=0 |
| Called by the logic to select a value in the widget. | |
| virtual void | renameKey (const std::string &oldkey, const std::string &value, const std::string &newkey)=0 |
| 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. | |
| virtual void | setTitle (const QString &)=0 |
| Sets the title of the label next to dialog buttons. | |
| virtual bool | selectedInstanceNameAndValue (std::vector< std::string > &keys, std::vector< std::string > &values) const =0 |
| Returns the selected instance names and values in the supplied parameters. | |
| virtual QWidget * | widget ()=0 |
| Returns this widget. | |
| virtual void | setValid (const std::string &name, const std::string &value, bool valid, const QString &errorText)=0 |
| Sets value valid/invalid and gives text to display when selected if invalid. | |
| virtual void | showErrors ()=0 |
| Display invalid items if needed. | |
| virtual std::vector< std::string > | selectedInstancesNames ()=0 |
| get the current selected instances names | |
Public Attributes | |
| boost::signal< void(const std::string &oldName, const std::string &value, const std::string &newName)> | signal_renameValue |
| Signal emitted when the user wants to rename a key. | |
| boost::signal< void(const std::string &key, const std::string &value, int index)> | signal_addValue |
| Signal emitted when the user wants to add a new key/value. | |
| boost::signal< void(const std::string &key, const std::string &oldValue, const std::string &value, int index)> | signal_valueChanged |
| Signal emitted when the user wants to add a new key/value. | |
| boost::signal< void(const std::vector< std::string > &keys, const std::vector < std::string > &values)> | signal_deleteValue |
| Signal emitted when the user wants to delete key value. | |
| boost::signal< void(const std::string &key)> | signal_itemSelected |
| Signal emitted when the user select items. | |
Interface of the makVrv::DtMultiMapEditorWidget for the makVrv::DtMultiMapEditorLogic.
|
virtual |
|
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 |
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::DtMultiMapEditorWidget, and makVrv::DtEntityTypeMapEditorWidget.
|
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.
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::DtMultiMapEditorWidget, and makVrv::DtEntityTypeMapEditorWidget.
|
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::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::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::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::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::signal<void (const std::string& key)> makVrv::DtMultiMapEditorInterface::signal_itemSelected |
Signal emitted when the user select items.