00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
#ifndef APPEARANCEPAGE_H
00011
#define APPEARANCEPAGE_H
00012
00013
#include <qvariant.h>
00014
#include <qwidget.h>
00015
00016
class QVBoxLayout;
00017
class QHBoxLayout;
00018
class QGridLayout;
00019
class QSpacerItem;
00020
class QLabel;
00021
class QGroupBox;
00022
class QCheckBox;
00023
class QFrame;
00024
class KIntSpinBox;
00025
class KFontCombo;
00026
class KColorButton;
00027
00028
class AppearancePage :
public QWidget
00029 {
00030 Q_OBJECT
00031
00032
public:
00033 AppearancePage(
QWidget* parent = 0,
const char* name = 0, WFlags fl = 0 );
00034 ~AppearancePage();
00035
00036
QLabel* labelHeader;
00037
QGroupBox* gbFont;
00038
QCheckBox* cbStandardFonts;
00039
QFrame* frameFonts;
00040
QLabel* labelDetailsFont;
00041
QLabel* labelDetailsFontSize;
00042
QLabel* labelBodyFont;
00043
QLabel* labelFixedFontSize;
00044
QLabel* labelFixed;
00045 KIntSpinBox* kisbDetailsFontSize;
00046 KIntSpinBox* kisbFixedFontSize;
00047
QLabel* labelBodyFontSize;
00048 KFontCombo* kfcBodyFont;
00049 KFontCombo* kfcDetailsFont;
00050 KFontCombo* kfcFixedFont;
00051
QLabel* labelHeaderFont;
00052 KFontCombo* kfcHeaderFont;
00053 KFontCombo* kfcHeadlineFont;
00054
QLabel* labelHeaderFontSize;
00055
QLabel* labelHeaderFontSize_2;
00056 KIntSpinBox* kisbBodyFontSize;
00057
QLabel* labelHeadlines;
00058 KIntSpinBox* kisbHeaderFontSize;
00059 KIntSpinBox* kisbHeadlineFontSize;
00060
QGroupBox* gbHeadline;
00061
QCheckBox* cbBackgroundColor;
00062
QFrame* frameBGColor;
00063 KColorButton* kcbHeaderBGColor;
00064
QLabel* tlBackgroundColor;
00065
QLabel* tlHeaderColor;
00066 KColorButton* kcbHeaderTextColor;
00067
00068
protected:
00069
QVBoxLayout* AppearancePageLayout;
00070
QSpacerItem* Spacer4;
00071
QVBoxLayout* gbFontLayout;
00072
QGridLayout* frameFontsLayout;
00073
QVBoxLayout* gbHeadlineLayout;
00074
QGridLayout* frameBGColorLayout;
00075
QSpacerItem* Spacer3;
00076
00077
protected slots:
00078
virtual void languageChange();
00079
00080 };
00081
00082
#endif // APPEARANCEPAGE_H