![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: tmOptionsMenu.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DTTMOPTIONSMENU_H 00013 #define DTTMOPTIONSMENU_H 00014 00015 #include "commonWgt/popupMenu.h" 00016 00017 #include "tmqt/tmqtDefines.h" 00018 class DT_DLL_tmqt DtTMOptionsMenu : public DtPopupMenu 00019 { 00020 Q_OBJECT 00021 00022 public: 00023 DtTMOptionsMenu(QWidget* parent, bool display = true); 00024 virtual ~DtTMOptionsMenu(); 00025 00027 protected: 00028 virtual QString menuName(); 00029 00035 virtual bool initMenuItems(); 00036 00038 virtual bool initActionGroups(); 00039 00040 public: 00041 static DtPopupMenu* create(QWidget* parent, bool display = true); 00042 00043 protected: 00044 virtual DtActionGroup* getActionGroupForType(DtMenuItemType iType); 00045 00046 protected slots: 00047 virtual void processRubberBandActionValid(); 00048 00049 protected: 00050 DtActionGroup* myOptionsActionGroup; 00051 }; 00052 00053 #endif