![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCockpitSettingItem.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvGlStudioQt/DtGlStudioQt.h> 00016 #include <vrvCoreQt/DtCheckedItem.h> 00017 #include <vrvUtil/DtSignalConnectionManager.h> 00018 00019 namespace makVrv 00020 { 00021 00024 class DT_DLL_VRVGLSTUDIO_QT DtCockpitSettingItem : public DtCheckedItem 00025 { 00026 public: 00027 DtCockpitSettingItem(DtDe&); 00028 00029 virtual ~DtCockpitSettingItem(); 00030 00032 virtual QAction* createAction(DtDe&, QWidget* parent); 00033 00034 protected: 00035 //Set the value due to being triggered. 00036 virtual void setValue(bool value); 00037 00038 //Get the current value. 00039 virtual bool getValue() const; 00040 00041 virtual void on_postInitialize(); 00042 00043 boost::signal<void (bool)> signal_settingChanged; 00044 00045 DtSignalConnectionManager mySignals; 00046 }; 00047 00048 }//makVrv::