Changeset 149 in tspsg-svn for trunk/src/settingsdialog.h
- Timestamp:
- Dec 20, 2010, 9:53:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/settingsdialog.h
r143 r149 39 39 class SettingsDialog: public QDialog, Ui::SettingsDialog 40 40 { 41 41 Q_OBJECT 42 42 public: 43 44 45 46 43 SettingsDialog(QWidget *parent = 0); 44 bool colorChanged() const; 45 bool fontChanged() const; 46 qint8 translucencyChanged() const; 47 47 48 48 private: 49 50 51 49 bool _newFont; 50 bool _newColor; 51 qint8 _translucency; 52 52 53 54 53 QColor color; 54 QFont font; 55 55 56 57 56 QSettings *settings; 57 QHBoxLayout *layoutCitiesLimit; 58 58 #ifdef Q_WS_WIN32 59 59 QCheckBox *cbUseTranslucency; 60 60 #endif // Q_WS_WIN32 61 62 61 QCheckBox *cbCheck4Updates; 62 QSpinBox *spinUpdateCheckInterval; 63 63 #ifndef QT_NO_PRINTER 64 64 QCheckBox *cbHQGraph; 65 65 #endif 66 66 #ifdef Q_WS_WINCE_WM 67 67 QRect currentGeometry; 68 68 #elif !defined(HANDHELD) 69 70 71 72 69 QCheckBox *cbSaveState; 70 QLabel *imgIcon; 71 QFrame *lineVertical; 72 QLabel *labelHint; 73 73 74 74 #ifndef QT_NO_STATUSTIP 75 75 bool event(QEvent *ev); 76 76 #endif // QT_NO_STATUSTIP 77 77 #endif // Q_WS_WINCE_WM 78 78 79 79 private slots: 80 81 82 80 void accept(); 81 void buttonColorClicked(); 82 void buttonFontClicked(); 83 83 #ifdef Q_WS_WINCE_WM 84 85 84 void desktopResized(int screen); 85 void showEvent(QShowEvent *ev); 86 86 #endif // Q_WS_WINCE_WM 87 87 void spinRandMinValueChanged(int val); 88 88 }; 89 89
Note: See TracChangeset
for help on using the changeset viewer.