stif/QtUI/StifQtUI/dlgsetting.h
branchRCL_3
changeset 8 cfe32394fcd5
parent 7 8a14024f954a
child 9 7e287c5c61f0
equal deleted inserted replaced
7:8a14024f954a 8:cfe32394fcd5
     1 /*
       
     2  * dlgsetting.h
       
     3  *
       
     4  *  Created on: 2010-2-8
       
     5  *      Author: y183zhan
       
     6  */
       
     7 
       
     8 #ifndef DLGSETTING_H_
       
     9 #define DLGSETTING_H_
       
    10 #include <QDialog>
       
    11 #include "uisetting.h"
       
    12 
       
    13 
       
    14 QT_BEGIN_NAMESPACE
       
    15 class QTabWidget;
       
    16 class QGridLayout;
       
    17 class QCheckBox;
       
    18 class QPushButton;
       
    19 QT_END_NAMESPACE
       
    20 
       
    21 class DlgSetting : public QDialog {    
       
    22     Q_OBJECT
       
    23     
       
    24 public:
       
    25     DlgSetting(UiSetting* settingObj, QWidget *parent = 0);
       
    26     
       
    27 private:
       
    28     void SetupUI();
       
    29     
       
    30 private:
       
    31     QPushButton* btnOk;
       
    32     QPushButton* btnCancel;
       
    33     QCheckBox* chkShowoutput;
       
    34     
       
    35 private slots:
       
    36     void on_btnOk_clicked();
       
    37     void on_btnCancel_clicked();
       
    38     
       
    39 private:
       
    40     UiSetting* setting;
       
    41     
       
    42     };
       
    43 
       
    44 #endif /* DLGSETTING_H_ */