lgrFileMenu.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #ifndef lgrFileMenu_H_
00010 #define lgrFileMenu_H_
00011 
00012 #include "lgrMenu.h"
00013 
00014 namespace MAKLogger
00015 {
00017    class DT_DLL_LGRGUI DtLgrFileMenu : public DtLgrMenu
00018    {
00019    public:
00020 
00022       DtLgrFileMenu(QWidget* parent);
00023 
00025       virtual ~DtLgrFileMenu();
00026 
00028       virtual void connectToEventHandler(QObject* lgrSlots);
00029 
00031       void restoreDefaultMenuItems(QWidget* parent);    
00032 
00034       void addExportType(QString name,int exportType);
00035 
00037       virtual void postModelUpdate(DtLgrGuiModel& model);
00038 
00040 
00041       DtDynamicMenuItem* newFile();
00042       DtDynamicMenuItem* openFile();
00043       DtDynamicMenuItem* closeFile();
00044       DtDynamicMenuItem* saveFile();
00045       DtDynamicMenuItem* saveFileAs();
00046       DtDynamicMenuItem* revert();
00047       DtDynamicMenuItem* connection();
00048       DtDynamicMenuItem* disconnect();
00049       DtDynamicMenuItem* connect();
00050       DtDynamicMenuItem* exit();
00051       DtDynamicMenu* exportMenu();
00052       DtDynamicMenu* exportSelectionMenu();
00054 
00055       QObject* myExportSlot;
00056 
00057    };
00058 
00059 }
00060 
00061 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)