VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtLoadScenarioDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtLoadScenarioDialog.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 #include <vrfGuiCoreQt/DtScenarioSettingsInterface.h>
00018 
00019 #ifdef QT_NO_FILEDIALOG
00020 #define RESET_NO_FILE_DIALOG
00021 #endif
00022 
00023 #undef QT_NO_FILEDIALOG
00024 #include <QtGui/QFileDialog>
00025 
00026 class QToolButton;
00027 class QComboBox;
00028 class QLabel;
00029 
00030 namespace makVrf
00031 {
00032    class DtScenarioPreviewPage;
00033    class DtScenarioLoadLogic;
00034    class DtVrfScenarioRemapFunction;
00035 
00037    class DT_DLL_VRFGUICOREQT DtLoadScenarioDialog : public QFileDialog, public DtScenarioSettingsInterface
00038    {
00039    Q_OBJECT;
00040 
00041    public:
00042 
00044       DtLoadScenarioDialog(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::Tool );
00045 
00047       virtual ~DtLoadScenarioDialog();
00048 
00049    public:
00050       virtual void accept();
00051 
00052    protected:
00053       virtual void addLoadBalancingComboBox();
00054 
00055    public slots:
00056       virtual void showScenarioInfo();
00057 
00058    protected slots:
00059       virtual void scenarioNameChanged(const QString&);
00060 
00061    protected:
00062       makVrv::DtDe& myDe;
00063 
00064       DtScenarioLoadLogic*    myLogic;
00065 
00066    public:
00067       DtScenarioPreviewPage*  myScenarioPreviewPage;
00068       QToolButton*            myInfoButton;
00069       QComboBox*              myLoadBalancingComboBox;
00070       QLabel*                 myLoadBalancingLabel;
00071       QSize                   myDialogSize;
00072       DtVrfScenarioRemapFunction*   myRemap;
00073    };
00074 }
00075 
00076 #ifdef RESET_NO_FILE_DIALOG
00077 #define QT_NO_FILEDIALOG
00078 #undef RESET_NO_FILE_DIALOG
00079 #endif
00080 
00081 

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)