Changeset 56 in tspsg-svn for trunk/src/settingsdialog.h
- Timestamp:
- Aug 21, 2009, 2:28:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/settingsdialog.h
r42 r56 26 26 27 27 #include "globals.h" 28 #ifdef Q_OS_WINCE 29 #include "ui_settingsdialog.ce.h" 30 #else 31 #include "ui_settingsdialog.h" 32 #endif // Q_OS_WINCE 28 #include "ui_settingsdialog.h" 33 29 34 30 class SettingsDialog: public QDialog, public Ui::SettingsDialog … … 37 33 public: 38 34 SettingsDialog(QWidget *parent = 0); 35 bool colorChanged() const; 39 36 bool fontChanged() const; 40 bool colorChanged() const; 37 38 #ifndef Q_OS_WINCE 39 QCheckBox *cbSaveState; 40 QLabel *imgIcon; 41 QLabel *labelHint; 42 QFrame *lineVertical; 43 #endif // Q_OS_WINCE 41 44 42 45 private: 43 Q Settings *settings;46 QColor color; 44 47 QFont font; 45 QColor color;46 48 bool newFont; 47 49 bool newColor; 50 QSettings *settings; 48 51 #ifndef Q_OS_WINCE 49 52 bool event(QEvent *); … … 52 55 private slots: 53 56 void accept(); 57 void buttonColorClicked(); 58 void buttonFontClicked(); 54 59 void spinRandMinValueChanged(int val) { spinRandMax->setMinimum(val + 1); } 55 void buttonFontClicked();56 void buttonColorClicked();57 60 }; 58 61
Note: See TracChangeset
for help on using the changeset viewer.