summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views/configuretableviewdialog.h
authorulf69 <ulf69>2004-09-03 01:20:37 (UTC)
committer ulf69 <ulf69>2004-09-03 01:20:37 (UTC)
commit7d5e6ab1868753f1f6a3b0831ba2e3c9d6ba411c (patch) (side-by-side diff)
treecd2d7717d04533ab62cfc8435c7cafae8c82a8dc /kaddressbook/views/configuretableviewdialog.h
parent546841acf4cdfd83d576cdd2a5ddbcc94c3921f6 (diff)
downloadkdepimpi-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.h17
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 @@
#include "viewconfigurewidget.h"
+#include <qvbox.h>
+
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,9 +76,21 @@ 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;