![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: bhaveDebugLinesSetting.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ** Created: 12/16/09 MEM 00008 ******************************************************************************/ 00009 00011 00012 #ifndef bhaveDebugLinesSetting_H_ 00013 #define bhaveDebugLinesSetting_H_ 00014 00015 #include <bhave3DGui/bhave3DGuiDefines.h> 00016 #include <vrvCoreQt/DtCheckedItem.h> 00017 00018 #include <QtGui/QWidget> 00019 00020 class QCheckBox; 00021 class QAction; 00022 00023 namespace BHAVE 00024 { 00025 namespace BHAVE3DGui 00026 { 00028 class DT_DLL_bhave3DGui DtBhaveDebugLinesItem : 00029 public makVrv::DtCheckedItem 00030 { 00031 public: 00032 DtBhaveDebugLinesItem(makVrv::DtDe& de); 00033 virtual ~DtBhaveDebugLinesItem(); 00034 00036 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00037 00038 protected: 00039 //Set the value due to being triggered. 00040 virtual void setValue(bool value); 00041 00042 //Get the current value. 00043 virtual bool getValue() const; 00044 00046 virtual void on_aboutToShow(); 00047 }; 00048 } 00049 } 00050 00051 #endif