blob: 7cb8055a08b38f70057ced42c1683cff2640cfc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
#ifndef _kchartWIZARDSETUPAXESPAGE_H
#define _kchartWIZARDSETUPAXESPAGE_H
#include <qwidget.h>
#include <kcolorbutton.h>
class QColor;
class QLineEdit;
class QSpinBox;
class QPushButton;
class QCheckBox;
namespace KChart
{
class KChartPart;
class kchartWidget;
class KChartWizardSetupAxesPage : public QWidget
{
Q_OBJECT
public:
KChartWizardSetupAxesPage( QWidget* parent, KChartPart* chart );
~KChartWizardSetupAxesPage();
bool chart3d;
public slots:
void apply();
void changeLabelColor(const QColor &);
void changeLabelFont();
void changeBorderColor(const QColor &);
void changeGridColor(const QColor &);
protected:
void paintEvent( QPaintEvent *_ev );
private:
kchartWidget* preview;
KChartPart* _chart;
QCheckBox* gridX;
QCheckBox* gridY;
QCheckBox* border;
QLineEdit *y_interval;
QLineEdit *y_max;
QLineEdit *y_min;
QLineEdit *ylabel_fmt;
#if 0
QLineEdit *ylabel2_fmt;
#endif
QSpinBox *angle;
QSpinBox *depth;
QSpinBox *barWidth;
QPushButton *ylabelFont;
KColorButton *borderColor;
KColorButton *gridColor;
KColorButton *ylabelColor;
QFont ylabel;
QColor ycolor;
QColor colorGrid;
QColor colorBorder;
};
} //namespace KChart
#endif
|