author | sandman <sandman> | 2002-09-23 22:41:28 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-23 22:41:28 (UTC) |
commit | 44e815d58c7565eccab2bd585923e343b70ac0f3 (patch) (side-by-side diff) | |
tree | 3f8529224432f46f7a2a1f1fd0a15778d43d6e3e /noncore/settings/appearance2/appearance.h | |
parent | 074769a4adb816153e47d63087e9e326bd3a04bf (diff) | |
download | opie-44e815d58c7565eccab2bd585923e343b70ac0f3.zip opie-44e815d58c7565eccab2bd585923e343b70ac0f3.tar.gz opie-44e815d58c7565eccab2bd585923e343b70ac0f3.tar.bz2 |
- minor bugfixes
- fileselector is now in libopie as OFileSelector
Diffstat (limited to 'noncore/settings/appearance2/appearance.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/appearance.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/noncore/settings/appearance2/appearance.h b/noncore/settings/appearance2/appearance.h index ce0d4b0..4a86e57 100644 --- a/noncore/settings/appearance2/appearance.h +++ b/noncore/settings/appearance2/appearance.h @@ -37,12 +37,13 @@ class QLineEdit; class QListBox; class QMultiLineEdit; class QPushButton; class QRadioButton; class QToolButton; class SampleWindow; +class OFontSelector; class Appearance : public QDialog { Q_OBJECT public: @@ -54,26 +55,22 @@ protected: virtual void done ( int r ); protected slots: void styleClicked ( int ); void styleSettingsClicked ( ); void decoClicked ( int ); - void fontFamilyClicked ( int ); - void fontStyleClicked ( int ); - void fontSizeClicked ( int ); + void fontClicked ( const QFont & ); void colorClicked ( int ); -// void tabStyleClicked ( int ); void editSchemeClicked(); void saveSchemeClicked(); void deleteSchemeClicked(); private: void loadStyles ( QListBox * ); void loadDecos ( QListBox * ); - void loadFonts ( QListBox * ); void loadColors ( QListBox * ); void changeText(); QWidget *createStyleTab ( QWidget *parent ); QWidget *createDecoTab ( QWidget *parent ); @@ -87,30 +84,26 @@ private: bool m_scheme_changed; bool m_deco_changed; bool m_color_changed; int m_original_style; int m_original_deco; - int m_original_fontfamily; - int m_original_fontstyle; - int m_original_fontsize; int m_original_tabstyle; + bool m_original_tabpos; QListBox * m_style_list; QPushButton * m_style_settings; QListBox * m_deco_list; QListBox * m_color_list; - QListBox * m_font_family_list; - QComboBox * m_font_style_list; - QComboBox * m_font_size_list; + OFontSelector *m_fontselect; SampleWindow *m_sample; QComboBox * m_tabstyle_list; QRadioButton *m_tabstyle_top; QRadioButton *m_tabstyle_bottom; }; -#endif // APPEARANCESETTINGS_H +#endif |