VR-Vantage 1.4.1 API Class Documentation
DtMenu.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtMenuBuilder.h,v $ $Revision: 1.8 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvCoreQt/vrvCoreQt.h>
00015 
00016 class QMenu;
00017 class QWidget;
00018 
00019 namespace makVrv
00020 {
00026    class DT_DLL_VRVCOREQT DtMenu
00027    {
00028    public:
00029 
00031       DtMenu(DtDe& de,const std::string& menuIdName);
00032 
00034       virtual ~DtMenu();
00035 
00038       virtual const std::string& menuIdName() const;
00039 
00041       virtual QMenu* createMenu(DtDe&, QWidget* parent) = 0;
00042 
00043    protected:
00044       DtDe& myDe;
00045       std::string myMenuIdName;
00046    };
00047 }


Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)