summaryrefslogtreecommitdiffstats
path: root/kchart/kchartWizardSelectChartSubTypePage.h
blob: cba9c779644183e06c184451982fa73b681cc1fc (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
  TQ_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