stifui/qt/inc/dlgsetting.h
branchRCL_3
changeset 9 404ad6c9bc20
child 17 d40e813b23c0
equal deleted inserted replaced
8:87e9ebfbe96a 9:404ad6c9bc20
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: QT C++ based Class.
       
    15 */
       
    16 
       
    17 #ifndef DLGSETTING_H_
       
    18 #define DLGSETTING_H_
       
    19 #include <QDialog>
       
    20 #include "uisetting.h"
       
    21 
       
    22 
       
    23 QT_BEGIN_NAMESPACE
       
    24 class QTabWidget;
       
    25 class QGridLayout;
       
    26 class QCheckBox;
       
    27 class QPushButton;
       
    28 QT_END_NAMESPACE
       
    29 
       
    30 class DlgSetting : public QDialog {    
       
    31     Q_OBJECT
       
    32     
       
    33 public:
       
    34     DlgSetting(UiSetting* settingObj, QWidget *parent = 0);
       
    35     
       
    36 private:
       
    37     void SetupUI();
       
    38     
       
    39 private:
       
    40     QPushButton* btnOk;
       
    41     QPushButton* btnCancel;
       
    42     QCheckBox* chkShowoutput;
       
    43     
       
    44 private slots:
       
    45     void on_btnOk_clicked();
       
    46     void on_btnCancel_clicked();
       
    47     
       
    48 private:
       
    49     UiSetting* setting;
       
    50     
       
    51     };
       
    52 
       
    53 #endif /* DLGSETTING_H_ */