author | ulf69 <ulf69> | 2004-09-03 01:20:37 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-09-03 01:20:37 (UTC) |
commit | 7d5e6ab1868753f1f6a3b0831ba2e3c9d6ba411c (patch) (unidiff) | |
tree | cd2d7717d04533ab62cfc8435c7cafae8c82a8dc /kaddressbook/views/configuretableviewdialog.h | |
parent | 546841acf4cdfd83d576cdd2a5ddbcc94c3921f6 (diff) | |
download | kdepimpi-7d5e6ab1868753f1f6a3b0831ba2e3c9d6ba411c.zip kdepimpi-7d5e6ab1868753f1f6a3b0831ba2e3c9d6ba411c.tar.gz kdepimpi-7d5e6ab1868753f1f6a3b0831ba2e3c9d6ba411c.tar.bz2 |
sourceforge 1014886: added configurationsettings for color and font of tableview
Diffstat (limited to 'kaddressbook/views/configuretableviewdialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/views/configuretableviewdialog.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/kaddressbook/views/configuretableviewdialog.h b/kaddressbook/views/configuretableviewdialog.h index 8392710..003ccf8 100644 --- a/kaddressbook/views/configuretableviewdialog.h +++ b/kaddressbook/views/configuretableviewdialog.h | |||
@@ -26,12 +26,15 @@ | |||
26 | 26 | ||
27 | #include "viewconfigurewidget.h" | 27 | #include "viewconfigurewidget.h" |
28 | 28 | ||
29 | #include <qvbox.h> | ||
30 | |||
29 | class QString; | 31 | class QString; |
30 | class QWidget; | 32 | class QWidget; |
31 | class QRadioButton; | 33 | class QRadioButton; |
32 | class QCheckBox; | 34 | class QCheckBox; |
33 | class KURLRequester; | 35 | class KURLRequester; |
34 | class KConfig; | 36 | class KConfig; |
37 | class QLabel; | ||
35 | 38 | ||
36 | namespace KABC { class AddressBook; } | 39 | namespace KABC { class AddressBook; } |
37 | 40 | ||
@@ -60,7 +63,7 @@ class ConfigureTableViewWidget : public ViewConfigureWidget | |||
60 | /** | 63 | /** |
61 | Internal class. It is only defined here for moc | 64 | Internal class. It is only defined here for moc |
62 | */ | 65 | */ |
63 | class LookAndFeelPage : public QWidget | 66 | class LookAndFeelPage : public QVBox |
64 | { | 67 | { |
65 | Q_OBJECT | 68 | Q_OBJECT |
66 | 69 | ||
@@ -73,9 +76,21 @@ class LookAndFeelPage : public QWidget | |||
73 | 76 | ||
74 | protected slots: | 77 | protected slots: |
75 | void enableBackgroundToggled( bool ); | 78 | void enableBackgroundToggled( bool ); |
79 | void setTextFont(); | ||
80 | void setHeaderFont(); | ||
81 | void enableFonts(); | ||
82 | void enableColors(); | ||
76 | 83 | ||
77 | private: | 84 | private: |
78 | void initGUI(); | 85 | void initGUI(); |
86 | void updateFontLabel( QFont, QLabel * ); | ||
87 | |||
88 | QCheckBox *cbEnableCustomFonts, | ||
89 | *cbEnableCustomColors; | ||
90 | class ColorListBox *lbColors; | ||
91 | QLabel *lTextFont, *lHeaderFont; | ||
92 | class QPushButton *btnFont, *btnHeaderFont; | ||
93 | class QWidget* vbFonts; | ||
79 | 94 | ||
80 | QRadioButton *mAlternateButton; | 95 | QRadioButton *mAlternateButton; |
81 | QRadioButton *mLineButton; | 96 | QRadioButton *mLineButton; |