kchart
kchartParameterConfigPage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __KCHARTPARAMETERCONFIGPAGE_H__
00021 #define __KCHARTPARAMETERCONFIGPAGE_H__
00022
00023 #include <qwidget.h>
00024 #include <kcolorbutton.h>
00025
00026 class QSpinBox;
00027 class QCheckBox;
00028 class QLineEdit;
00029 class QRadioButton;
00030
00031 namespace KChart
00032 {
00033
00034 class KChartParams;
00035
00036 class KChartParameterConfigPage : public QWidget
00037 {
00038 Q_OBJECT
00039
00040 public:
00041 KChartParameterConfigPage( KChartParams* params, QWidget* parent );
00042 void init();
00043 void apply();
00044 public slots:
00045 void changeXaxisState( bool );
00046 void automatic_precision_toggled( bool );
00047 void axisChanged();
00048 private:
00049 KChartParams* _params;
00050
00051
00052 QCheckBox *grid;
00053 QCheckBox *xaxis;
00054 QCheckBox *yaxis;
00055
00056
00057 QCheckBox *lineMarker;
00058
00059
00060
00061 QLineEdit *xtitle;
00062 QLineEdit *ytitle;
00063
00064 QRadioButton *lin;
00065 QRadioButton *log;
00066
00067 QRadioButton *max;
00068 QSpinBox *maximum_length;
00069
00070
00071
00072
00073 };
00074
00075 }
00076
00077 #endif
|