![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtEntityMenu.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrfGuiCoreQt/DtConfigurableMenu.h> 00018 00019 namespace makVrf 00020 { 00021 class DT_DLL_VRFGUICOREQT DtEntityMenu : public DtConfigurableMenu 00022 { 00023 public: 00024 00026 DtEntityMenu(makVrv::DtDe&); 00027 00029 virtual ~DtEntityMenu(); 00030 00032 virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent); 00033 00034 static DtEntityMenu& instance(makVrv::DtDe&); 00035 00039 static DtEntityMenu* menuInstance(makVrv::DtDe&); 00040 00041 virtual DtEntityMenu* newInstance(); 00042 00043 public: 00045 virtual DtSubMenuConfiguration& menuConfiguration(); 00046 00048 virtual DtConfigurableMenuAssembler& menuAssembler(); 00049 00050 protected: 00052 virtual void createMenuConfiguration(makVrv::DtDe& de); 00053 00054 protected: 00056 static DtConfigurableMenuAssembler* theMenuAssembler; 00057 static DtSubMenuConfiguration* theMenuConfiguration; 00058 }; 00059 }