kchart
kchartHeaderFooterConfigPage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __KCHARTHEADERFOOTERCONFIGPAGE_H__
00021 #define __KCHARTHEADERFOOTERCONFIGPAGE_H__
00022
00023 #include <qwidget.h>
00024 #include <kcolorbutton.h>
00025
00026 class QLineEdit;
00027 class QPushButton;
00028
00029 namespace KChart
00030 {
00031
00032 class KChartParams;
00033
00034 class KChartHeaderFooterConfigPage : public QWidget
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 KChartHeaderFooterConfigPage( KChartParams* params, QWidget* parent );
00040 void init();
00041 void apply();
00042 protected slots:
00043 void changeTitleFont();
00044 void changeSubtitleFont();
00045 void changeFooterFont();
00046 private:
00047 KChartParams* _params;
00048
00049 QLineEdit *titleEdit;
00050 KColorButton *titleColorButton;
00051 QPushButton *titleFontButton;
00052 QFont titleFont;
00053 QButton::ToggleState titleFontIsRelative;
00054
00055 QLineEdit *subtitleEdit;
00056 KColorButton *subtitleColorButton;
00057 QPushButton *subtitleFontButton;
00058 QFont subtitleFont;
00059 QButton::ToggleState subtitleFontIsRelative;
00060
00061 QLineEdit *footerEdit;
00062 KColorButton *footerColorButton;
00063 QPushButton *footerFontButton;
00064 QFont footerFont;
00065 QButton::ToggleState footerFontIsRelative;
00066 };
00067
00068 }
00069
00070 #endif
|