VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtMapEditorInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtMapEditorInterface.h,v $ $Revision: 1.13 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtMapEditorInterface_H_
00014 #define DtMapEditorInterface_H_
00015 
00016 #include <vrvCoreQt/vrvCoreQt.h>
00017 #include <QtCore/QStringList>
00018 
00019 #include <vrvCoreQt/DtCustomTreeWidgetEditor.h>
00020 
00021 namespace makVrv
00022 {
00025    class DT_DLL_VRVCOREQT DtMapEditorInterface
00026    {
00027    public:     
00028       virtual ~DtMapEditorInterface();
00029 
00032       virtual void setPossibleValues(QStringList values,int column = 1) = 0;
00033 
00035       virtual void setValue(const std::string& key, const std::string& value, int index = 1,
00036          DtCustomTreeWidgetEditor::EditorType defaultEditor = DtCustomTreeWidgetEditor::DefaultEditor) = 0;
00037 
00039       virtual void deleteValue(const std::string& key) = 0;
00040 
00042       virtual void clearValues() = 0;
00043 
00045       virtual void unableToRenameParameter(const std::string& oldName) = 0;
00046 
00048       virtual void selectValue(const std::string& key) = 0;
00049 
00053       virtual void renameKey(const std::string& oldkey, const std::string& newkey) = 0;
00054 
00056       virtual void setLabelText(const std::string&) = 0;
00057 
00060       virtual void setUseSpacer(bool) = 0;
00061 
00063       virtual void sortValues() = 0;
00064 
00066       boost::signal<void (const std::string& oldName,const std::string& newName)> signal_renameValue;
00067 
00070       boost::signal<void (const std::string& key,const std::string& value, int index)> signal_addValue;
00071 
00073       boost::signal<void (const std::string& key)> signal_deleteValue;
00074 
00076        boost::signal<void (const std::string& key)> signal_itemSelected;
00077    };
00078 }
00079 
00080 #endif
00081 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)