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


#include "kchart_params.h"

class TQButtonGroup;
class TQPushButton;
class TQRadioButton;
class TQSpinBox;

namespace KChart
{

class KChartPart;

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

  bool chartSubType;
public slots:
  void apply();

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

  // Widgets
  TQRadioButton  *m_normal;
  TQRadioButton  *m_stacked;
  TQRadioButton  *m_percent;
  TQSpinBox      *m_numLines;
};

}  //KChart namespace

#endif