blob: 7ab41719a6e6765e9dffc8e19c7963c605e8d9ad (
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
65
|
#ifndef _kchartWIZARDSETUPAXESPAGE_H
#define _kchartWIZARDSETUPAXESPAGE_H
#include <tqwidget.h>
#include <kcolorbutton.h>
class TQColor;
class TQLineEdit;
class TQSpinBox;
class TQPushButton;
class TQCheckBox;
namespace KChart
{
class KChartPart;
class kchartWidget;
class KChartWizardSetupAxesPage : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
KChartWizardSetupAxesPage( TQWidget* parent, KChartPart* chart );
~KChartWizardSetupAxesPage();
bool chart3d;
public slots:
void apply();
void changeLabelColor(const TQColor &);
void changeLabelFont();
void changeBorderColor(const TQColor &);
void changeGridColor(const TQColor &);
protected:
void paintEvent( TQPaintEvent *_ev );
private:
kchartWidget* preview;
KChartPart* _chart;
TQCheckBox* gridX;
TQCheckBox* gridY;
TQCheckBox* border;
TQLineEdit *y_interval;
TQLineEdit *y_max;
TQLineEdit *y_min;
TQLineEdit *ylabel_fmt;
#if 0
TQLineEdit *ylabel2_fmt;
#endif
TQSpinBox *angle;
TQSpinBox *depth;
TQSpinBox *barWidth;
TQPushButton *ylabelFont;
KColorButton *borderColor;
KColorButton *gridColor;
KColorButton *ylabelColor;
TQFont ylabel;
TQColor ycolor;
TQColor colorGrid;
TQColor colorBorder;
};
} //namespace KChart
#endif
|