VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtMapEditorInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtMapEditorInterface.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtMapEditorInterface_H_
14 #define DtMapEditorInterface_H_
15 
16 #include <vrvCoreQt/vrvCoreQt.h>
17 #include <QtCore/QStringList>
18 
20 
21 namespace makVrv
22 {
26  {
27  public:
28  virtual ~DtMapEditorInterface();
29 
32  virtual void setPossibleValues(QStringList values,int column = 1) = 0;
33 
35  virtual void setValue(const std::string& key, const std::string& value, int index = 1,
37 
39  virtual void deleteValue(const std::string& key) = 0;
40 
42  virtual void clearValues() = 0;
43 
45  virtual void unableToRenameParameter(const std::string& oldName) = 0;
46 
48  virtual void selectValue(const std::string& key) = 0;
49 
53  virtual void renameKey(const std::string& oldkey, const std::string& newkey) = 0;
54 
56  virtual void setLabelText(const std::string&) = 0;
57 
60  virtual void setUseSpacer(bool) = 0;
61 
63  virtual void sortValues() = 0;
64 
66  boost::signal<void (const std::string& oldName,const std::string& newName)> signal_renameValue;
67 
70  boost::signal<void (const std::string& key,const std::string& value, int index)> signal_addValue;
71 
73  boost::signal<void (const std::string& key)> signal_deleteValue;
74 
76  boost::signal<void (const std::string& key)> signal_itemSelected;
77  };
78 }
79 
80 #endif
81 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)