diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
commit | 8362bf63dea22bbf6736609b0f49c152f975eb63 (patch) | |
tree | 0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kchart/kchartWizardSetupAxesPage.h | |
download | koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip |
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kchartWizardSetupAxesPage.h')
-rw-r--r-- | kchart/kchartWizardSetupAxesPage.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kchart/kchartWizardSetupAxesPage.h b/kchart/kchartWizardSetupAxesPage.h new file mode 100644 index 00000000..7cb8055a --- /dev/null +++ b/kchart/kchartWizardSetupAxesPage.h @@ -0,0 +1,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 |