VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMapEditorInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtMapEditorInterface_H_
11 #define DtMapEditorInterface_H_
12 
14 
15 namespace makVrv
16 {
20  {
21  public:
22  virtual ~DtMapEditorInterface();
23 
26  virtual void setPossibleValues(QStringList values,int column = 1) = 0;
27 
29  virtual void setValue(const std::string& key, const std::string& value, int index = 1,
31 
33  virtual void deleteValue(const std::string& key) = 0;
34 
36  virtual void clearValues() = 0;
37 
39  virtual void unableToRenameParameter(const std::string& oldName) = 0;
40 
42  virtual void selectValue(const std::string& key) = 0;
43 
47  virtual void renameKey(const std::string& oldkey, const std::string& newkey) = 0;
48 
50  virtual void setLabelText(const std::string&) = 0;
51 
54  virtual void setUseSpacer(bool) = 0;
55 
57  virtual void sortValues() = 0;
58 
60  boost::signalslib::signal<void (const std::string& oldName,const std::string& newName)> signal_renameValue;
61 
64  boost::signalslib::signal<void (const std::string& key,const std::string& value, int index)> signal_addValue;
65 
66  boost::signalslib::signal<void()> signal_changeFileName;
67 
68  boost::signalslib::signal<void()> signal_changeFileFilter;
69 
71  boost::signalslib::signal<void (const std::string& key)> signal_deleteValue;
72 
74  boost::signalslib::signal<void (const std::string& key)> signal_itemSelected;
75  };
76 }
77 
78 #endif
79 
boost::signalslib::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.
Definition: DtMapEditorInterface.h:64
boost::signalslib::signal< void()> signal_changeFileFilter
Definition: DtMapEditorInterface.h:68
EditorType
Definition: DtCustomTreeWidgetEditor.h:32
Contains makVrv::DtCustomTreeWidgetEditor class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
boost::signalslib::signal< void()> signal_changeFileName
Definition: DtMapEditorInterface.h:66
boost::signalslib::signal< void(const std::string &key)> signal_deleteValue
Signal emitted when the user wants to delete a key value.
Definition: DtMapEditorInterface.h:71
Interface for a key/value pair editor GUI.
Definition: DtMapEditorInterface.h:19
Definition: DtCustomTreeWidgetEditor.h:34
boost::signalslib::signal< void(const std::string &oldName, const std::string &newName)> signal_renameValue
Signal emitted when the user wants to rename a key.
Definition: DtMapEditorInterface.h:60
boost::signalslib::signal< void(const std::string &key)> signal_itemSelected
Signal emitted when a value is selected.
Definition: DtMapEditorInterface.h:74

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)