summaryrefslogtreecommitdiffstats
path: root/kchart/kchartWizardLabelsLegendPage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
commit8362bf63dea22bbf6736609b0f49c152f975eb63 (patch)
tree0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kchart/kchartWizardLabelsLegendPage.h
downloadkoffice-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/kchartWizardLabelsLegendPage.h')
-rw-r--r--kchart/kchartWizardLabelsLegendPage.h103
1 files changed, 103 insertions, 0 deletions
diff --git a/kchart/kchartWizardLabelsLegendPage.h b/kchart/kchartWizardLabelsLegendPage.h
new file mode 100644
index 00000000..34b2b9c5
--- /dev/null
+++ b/kchart/kchartWizardLabelsLegendPage.h
@@ -0,0 +1,103 @@
+#ifndef _kchartWIZARDLABELSLEGENDPAGE_H
+#define _kchartWIZARDLABELSLEGENDPAGE_H
+
+#include <qwidget.h>
+#include <kcolorbutton.h>
+
+class QColor;
+class QPushButton;
+class QLineEdit;
+class QRadioButton;
+
+namespace KChart
+{
+
+class KChartPart;
+
+class KChartWizardLabelsLegendPage : public QWidget
+{
+ Q_OBJECT
+
+public:
+ KChartWizardLabelsLegendPage( QWidget* parent, KChartPart* chart );
+ ~KChartWizardLabelsLegendPage();
+
+#if 0
+ bool ytitle2;
+#endif
+public slots:
+ void apply();
+ void changeXLabelFont();
+ void changeYLabelFont();
+#if 0
+ //void changeY2LabelFont();
+#endif
+ void changeTitleFont();
+ void changeLegendTitleFont();
+ void changeLegendTextFont();
+ void changeXLabelColor(const QColor &);
+ void changeYLabelColor(const QColor &);
+ void changeTitleColor(const QColor &);
+#if 0
+ //void changeYTitle2Color(const QColor &);
+#endif
+ void changeLegendTitleColor(const QColor &);
+ void changeLegendTextColor(const QColor &);
+
+protected:
+ void paintEvent( QPaintEvent * );
+
+private:
+ KChartPart* _chart;
+ //kchartWidget* preview;
+ QLineEdit* _xlabelED;
+ QLineEdit* _ylabelED;
+ QLineEdit* _titleED;
+#if 0
+ QLineEdit* _ylabel2ED;
+#endif
+ QPushButton *xtitlefont;
+ QPushButton *ytitlefont;
+ QPushButton *titlefont;
+#if 0
+ QPushButton *ytitle2font;
+#endif
+ KColorButton *xtitlecolor;
+ KColorButton *ytitlecolor;
+ KColorButton *titlecolor;
+#if 0
+ KColorButton *ytitle2color;
+#endif
+
+ QLineEdit *_legendTitleText;
+
+ KColorButton *legendTextColor;
+ KColorButton *legendTitleColor;
+
+ QPushButton *legendTextFont;
+ QPushButton *legendTitleFont;
+
+ QFont xlabel;
+ QFont ylabel;
+#if 0
+ QFont ylabel2;
+#endif
+ QFont title;
+ QColor x_color;
+ QColor y_color;
+#if 0
+ QColor y_color2;
+#endif
+ QColor title_color;
+
+ QColor _legendTextColor;
+ QColor _legendTitleColor;
+
+ QFont _legendTextFont;
+ QFont _legendTitleFont;
+
+};
+
+} //KChart namespace
+
+#endif