![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtPointObjectDefinitionInterface.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00012 00013 #pragma once 00014 00015 #include <vrvUtil/signalslib.h> 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <QtCore/QString> 00018 00019 namespace makVrf 00020 { 00021 class DT_DLL_VRFGUICOREQT DtPointObjectDefinitionInterface 00022 { 00023 00024 public: 00025 00026 enum DtDialogInteractionMode { 00027 DtCreationMode = 0, 00028 DtEditingMode 00029 }; 00030 00031 public: 00032 00033 //DTOR 00034 virtual ~DtPointObjectDefinitionInterface() {}; 00035 00037 //virtual DtPoint getLocation() = 0; 00038 00040 virtual QString getName() = 0; 00041 00043 //virtual void setLocation(const DtPoint& pt) = 0; 00044 00046 //virtual void setName(std::string name) = 0; 00047 00049 //virtual void setTitle(std::string title) = 0; 00050 00052 boost::signal<void ()> signal_dialogClosing; 00053 00056 boost::signal<void (bool)> signal_reviewMouseClicks; 00057 00058 protected: 00059 00061 virtual void setupGui() = 0; 00062 00063 protected: 00064 00065 DtDialogInteractionMode myInteractionMode; 00066 00067 }; 00068 }