summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views/configuretableviewdialog.h
Side-by-side diff
Diffstat (limited to 'kaddressbook/views/configuretableviewdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/configuretableviewdialog.h21
1 files changed, 18 insertions, 3 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
@@ -25,14 +25,17 @@
#define CONFIGURETABLEVIEWDIALOG_H
#include "viewconfigurewidget.h"
+#include <qvbox.h>
+
class QString;
class QWidget;
class QRadioButton;
class QCheckBox;
class KURLRequester;
class KConfig;
+class QLabel;
namespace KABC { class AddressBook; }
class LookAndFeelPage;
@@ -59,9 +62,9 @@ class ConfigureTableViewWidget : public ViewConfigureWidget
/**
Internal class. It is only defined here for moc
*/
-class LookAndFeelPage : public QWidget
+class LookAndFeelPage : public QVBox
{
Q_OBJECT
public:
@@ -72,12 +75,24 @@ class LookAndFeelPage : public QWidget
void saveSettings( KConfig* );
protected slots:
void enableBackgroundToggled( bool );
-
+ void setTextFont();
+ void setHeaderFont();
+ void enableFonts();
+ void enableColors();
+
private:
void initGUI();
-
+ void updateFontLabel( QFont, QLabel * );
+
+ QCheckBox *cbEnableCustomFonts,
+ *cbEnableCustomColors;
+ class ColorListBox *lbColors;
+ QLabel *lTextFont, *lHeaderFont;
+ class QPushButton *btnFont, *btnHeaderFont;
+ class QWidget* vbFonts;
+
QRadioButton *mAlternateButton;
QRadioButton *mLineButton;
QRadioButton *mNoneButton;
QCheckBox *mToolTipBox;