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
@@ -23,18 +23,21 @@
#ifndef CONFIGURETABLEVIEWDIALOG_H
#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;
/**
@@ -57,29 +60,41 @@ class ConfigureTableViewWidget : public ViewConfigureWidget
LookAndFeelPage *mPage;
};
/**
Internal class. It is only defined here for moc
*/
-class LookAndFeelPage : public QWidget
+class LookAndFeelPage : public QVBox
{
Q_OBJECT
public:
LookAndFeelPage( QWidget *parent, const char *name = 0 );
~LookAndFeelPage() {}
void restoreSettings( KConfig* );
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;
KURLRequester *mBackgroundName;
QCheckBox *mBackgroundBox;