kchart
kchartFontConfigPage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __KCHARTFONTCONFIGPAGE_H__
00021 #define __KCHARTFONTCONFIGPAGE_H__
00022
00023 #include <qwidget.h>
00024 #include <qbutton.h>
00025
00026 #include "kchartcolorarray.h"
00027
00028 #include "koChart.h"
00029
00030 class QLineEdit;
00031 class QListBox;
00032 class QPushButton;
00033
00034 namespace KChart
00035 {
00036
00037 class KChartParams;
00038
00039 class KChartFontConfigPage : public QWidget
00040 {
00041 Q_OBJECT
00042
00043 public:
00044 KChartFontConfigPage( KChartParams* params,QWidget* parent,
00045 KDChartTableData *dat);
00046 void init();
00047 void apply();
00048 void initList();
00049
00050 public slots:
00051 void changeLabelFont();
00052
00053 private:
00054 KChartParams *m_params;
00055
00056
00057 QLineEdit *m_font;
00058 QListBox *m_list;
00059 QPushButton *m_fontButton;
00060
00061
00062 QFont xTitle;
00063 QFont yTitle;
00064 QFont yAxis;
00065 QFont xAxis;
00066 QFont label;
00067
00068
00069 QButton::ToggleState xTitleIsRelative;
00070 QButton::ToggleState yTitleIsRelative;
00071 QButton::ToggleState labelIsRelative;
00072 QButton::ToggleState yAxisIsRelative;
00073 QButton::ToggleState xAxisIsRelative;
00074 QButton::ToggleState legendIsRelative;
00075 KDChartTableData *data;
00076 };
00077
00078 }
00079
00080 #endif
00081
|