author | sandman <sandman> | 2002-11-24 18:26:33 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-11-24 18:26:33 (UTC) |
commit | 60cf133c331f02fddee902caa13c19f63ab0f3b9 (patch) (side-by-side diff) | |
tree | 37a512d0f8fe22c5bef18df5ef6797a69b6fc338 /noncore/settings/appearance2/appearance.h | |
parent | 89bf0723eefc1e66a104fe8135f1a5389f021442 (diff) | |
download | opie-60cf133c331f02fddee902caa13c19f63ab0f3b9.zip opie-60cf133c331f02fddee902caa13c19f63ab0f3b9.tar.gz opie-60cf133c331f02fddee902caa13c19f63ab0f3b9.tar.bz2 |
- New GUI for the "force style" and "don't style" options.
- Also restructured some of the old code.
- Fixed a bug regarding color-scheme saving (why didn't anybody notice
this ?!)
Diffstat (limited to 'noncore/settings/appearance2/appearance.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/appearance.h | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/noncore/settings/appearance2/appearance.h b/noncore/settings/appearance2/appearance.h index a392aa7..065dfb7 100644 --- a/noncore/settings/appearance2/appearance.h +++ b/noncore/settings/appearance2/appearance.h @@ -31,7 +31,6 @@ #include <qpe/fontdatabase.h> -#include <qmainwindow.h> #include <qdialog.h> class QCheckBox; @@ -45,6 +44,9 @@ class QRadioButton; class QToolButton; class SampleWindow; class OFontSelector; +class QListView; +class QListViewItem; +class Config; class Appearance : public QDialog { @@ -68,19 +70,23 @@ protected slots: void editSchemeClicked(); void saveSchemeClicked(); void deleteSchemeClicked(); + + void tabChanged ( QWidget * ); + + void addExcept ( ); + void delExcept ( ); + void upExcept ( ); + void downExcept ( ); + void clickedExcept ( QListViewItem *, const QPoint &, int ); private: - void loadStyles ( QListBox * ); - void loadDecos ( QListBox * ); - void loadColors ( QListBox * ); - void changeText(); - QWidget *createStyleTab ( QWidget *parent ); - QWidget *createDecoTab ( QWidget *parent ); - QWidget *createFontTab ( QWidget *parent ); - QWidget *createColorTab ( QWidget *parent ); - QWidget *createGuiTab ( QWidget *parent ); + QWidget *createStyleTab ( QWidget *parent, Config &cfg ); + QWidget *createDecoTab ( QWidget *parent, Config &cfg ); + QWidget *createFontTab ( QWidget *parent, Config &cfg ); + QWidget *createColorTab ( QWidget *parent, Config &cfg ); + QWidget *createAdvancedTab ( QWidget *parent, Config &cfg ); private: bool m_style_changed; @@ -92,7 +98,7 @@ private: int m_original_style; int m_original_deco; int m_original_tabstyle; - bool m_original_tabpos; + bool m_original_tabpos; QListBox * m_style_list; QPushButton * m_style_settings; @@ -108,6 +114,10 @@ private: QComboBox * m_tabstyle_list; QRadioButton *m_tabstyle_top; QRadioButton *m_tabstyle_bottom; + + QWidget * m_advtab; + QListView * m_except; + QCheckBox * m_force; }; #endif |