From 7d5e6ab1868753f1f6a3b0831ba2e3c9d6ba411c Mon Sep 17 00:00:00 2001 From: ulf69 Date: Fri, 03 Sep 2004 01:20:37 +0000 Subject: sourceforge 1014886: added configurationsettings for color and font of tableview --- (limited to 'kaddressbook/views/configuretableviewdialog.h') 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 @@ #include "viewconfigurewidget.h" +#include + class QString; class QWidget; class QRadioButton; class QCheckBox; class KURLRequester; class KConfig; +class QLabel; namespace KABC { class AddressBook; } @@ -60,7 +63,7 @@ class ConfigureTableViewWidget : public ViewConfigureWidget /** Internal class. It is only defined here for moc */ -class LookAndFeelPage : public QWidget +class LookAndFeelPage : public QVBox { Q_OBJECT @@ -73,10 +76,22 @@ class LookAndFeelPage : public QWidget 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; -- cgit v0.9.0.2