VR-Forces 4.0.4 Class Documentation
include/tmqt/tmFileMenu.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: tmFileMenu.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTTMFILEMENU_H
00013 #define DTTMFILEMENU_H
00014 
00015 #include "commonWgt/popupMenu.h"
00016 
00017 #include "tmqt/tmqtDefines.h"
00018 class DT_DLL_tmqt DtTMFileMenu : public DtPopupMenu
00019 {
00020    Q_OBJECT
00021 
00022 public:
00023    DtTMFileMenu(QWidget * parent, bool display = true);
00024    virtual ~DtTMFileMenu();
00025 
00027 protected:
00028    virtual QString menuName();
00029 
00036    virtual bool initMenuItems();
00037 
00039    virtual bool initActionGroups();
00040 
00041 public slots:
00042 
00044    virtual void processFilePrintValid();
00045 
00047    virtual void processFileSaveMapAreaValid();
00048 
00049 public:
00050    static DtPopupMenu* create(QWidget* parent, bool display = true);
00051 
00052 protected:
00053    virtual DtActionGroup* getActionGroupForType(DtMenuItemType iType);
00054 
00055 protected:
00056    DtActionGroup* myFileActionGroup;
00057    DtActionGroup* myWindowActionGroup;
00058    DtActionGroup* myPrintActionGroup;
00059 };
00060 
00061 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)