stifui/qt/inc/uisetting.h
branchRCL_3
changeset 12 aefcba28a3e0
parent 9 404ad6c9bc20
child 19 d40e813b23c0
equal deleted inserted replaced
11:454d022d514b 12:aefcba28a3e0
    16 
    16 
    17 #ifndef UISETTING_H_
    17 #ifndef UISETTING_H_
    18 #define UISETTING_H_
    18 #define UISETTING_H_
    19 #include <QHash>
    19 #include <QHash>
    20 
    20 
       
    21 const QString KShowOutput = "showoutput";
       
    22 const QString KStyleSheet = "StyleSheet";
       
    23 
       
    24 
    21 class UiSetting
    25 class UiSetting
    22     {
    26     {
    23 public:
    27 public:
    24     UiSetting();
    28     UiSetting();
    25     ~UiSetting();
    29     ~UiSetting();
    30     
    34     
    31 private:
    35 private:
    32     bool load();
    36     bool load();
    33     bool save();
    37     bool save();
    34     void loadDefault();
    38     void loadDefault();
       
    39     QString getDefaultValue(const QString& item);
    35     
    40     
    36 private:
    41 private:
    37     QHash<QString, QString> settingList;
    42     QHash<QString, QString> settingList;
    38     };
    43     };
    39 
    44