stifui/qt/inc/frmmain.h
branchRCL_3
changeset 15 65b472535a0d
parent 13 822c625f7adc
child 17 d40e813b23c0
equal deleted inserted replaced
13:822c625f7adc 15:65b472535a0d
    26 #include "dlgoutput.h"
    26 #include "dlgoutput.h"
    27 #include "uisetting.h"
    27 #include "uisetting.h"
    28 #include "dlgsetting.h"
    28 #include "dlgsetting.h"
    29 #include "dlgsetselector.h"
    29 #include "dlgsetselector.h"
    30 #include "uiversion.h"
    30 #include "uiversion.h"
       
    31 #include "dlgrepeatrun.h"
    31 
    32 
    32 QT_BEGIN_NAMESPACE
    33 QT_BEGIN_NAMESPACE
    33 class QAction;
    34 class QAction;
    34 class QLabel;
    35 class QLabel;
    35 class QMenu;
    36 class QMenu;
    84     void loadStatistic();
    85     void loadStatistic();
    85     QList<CSTFCase> getSelectedCases();
    86     QList<CSTFCase> getSelectedCases();
    86     void reloadStatisticItem(QString name, QTreeWidgetItem* item, TSTFCaseStatusType type);
    87     void reloadStatisticItem(QString name, QTreeWidgetItem* item, TSTFCaseStatusType type);
    87     void setSetting();
    88     void setSetting();
    88     void startRunning();
    89     void startRunning();
       
    90     void setItemClicked(QTreeWidgetItem* item);
    89     
    91     
    90 private:
    92 private:
    91     IStfQtUIController* controller;
    93     IStfQtUIController* controller;
    92     IStfQtUIModel* model;
    94     IStfQtUIModel* model;
    93     DlgOutput* dlgOutput;
    95     DlgOutput* dlgOutput;
    94     UiSetting* uiSetting; 
    96     UiSetting* uiSetting; 
    95     bool layoutType;
    97     bool layoutType;
       
    98     QTreeWidgetItem* lastItemSelected;
    96 
    99 
    97 private: //UI Components
   100 private: //UI Components
    98     QWidget* centerWidget;
   101     QWidget* centerWidget;
    99     QGridLayout *mainLayout;
   102     QGridLayout *mainLayout;
   100     QGroupBox *groupBox;
   103     QGroupBox *groupBox;
   138 
   141 
   139     //cases actoins
   142     //cases actoins
   140     QAction *actOpenFile;
   143     QAction *actOpenFile;
   141     QAction *actRunCaseSeq;
   144     QAction *actRunCaseSeq;
   142     QAction *actRunCasePar;
   145     QAction *actRunCasePar;
       
   146     QAction *actReapeatRunSeq;
   143     QAction *actAddtoSet;
   147     QAction *actAddtoSet;
   144     QAction *actSelectAll;
   148     QAction *actSelectAll;
   145     QAction *actExpandAll;
   149     QAction *actExpandAll;
   146     QAction *actCollapseAll;
   150     QAction *actCollapseAll;
   147     QAction *actSetting;
   151     QAction *actSetting;
   165     
   169     
   166     void on_actAbout_triggered();    
   170     void on_actAbout_triggered();    
   167     void on_actOpenFile_triggered();
   171     void on_actOpenFile_triggered();
   168     void on_actRunCaseSeq_triggered();
   172     void on_actRunCaseSeq_triggered();
   169     void on_actRunCasePar_triggered();
   173     void on_actRunCasePar_triggered();
       
   174     void on_actReapeatRunSeq_triggered();
   170     void on_actAddtoSet_triggered();
   175     void on_actAddtoSet_triggered();
   171     void on_actSelectAll_triggered();
   176     void on_actSelectAll_triggered();
   172     void on_actExpandAll_triggered();
   177     void on_actExpandAll_triggered();
   173     void on_actCollapseAll_triggered();
   178     void on_actCollapseAll_triggered();
   174     void on_actExpand_triggered();
   179     void on_actExpand_triggered();