summaryrefslogtreecommitdiffstats
path: root/kchart/kchartWizardSelectChartSubTypePage.h
blob: 922cd92bdd39f50cd9667b1fda2ce2cfaaa418ce (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
#ifndef _kchartWIZARDSELECTCHARTSUBTYPEPAGE_H
#define _kchartWIZARDSELECTCHARTSUBTYPEPAGE_H


#include "kchart_params.h"

class QButtonGroup;
class QPushButton;
class QRadioButton;
class QSpinBox;

namespace KChart
{

class KChartPart;

class KChartWizardSelectChartSubTypePage : public QWidget
{
  Q_OBJECT
public:
  KChartWizardSelectChartSubTypePage( QWidget* parent, KChartPart* chart );
  void changeSubTypeName( KChartParams::ChartType _type);

  bool chartSubType;
public slots:
  void apply();

private:
  KChartPart              *m_chart;
  KChartParams::ChartType  m_charttype;

  // Widgets
  QRadioButton  *m_normal;
  QRadioButton  *m_stacked;
  QRadioButton  *m_percent;
  QSpinBox      *m_numLines;
};

}  //KChart namespace

#endif