summaryrefslogtreecommitdiffstats
path: root/kchart/kchartWizardSetupDataPage.h
blob: ebc1e51df8c9ebca8c5d5f936b3bf5189596f8e4 (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
43
#ifndef _kchartWIZARDSELECTSETUPDATAPAGE_H
#define _kchartWIZARDSELECTSETUPDATAPAGE_H

#include <qwidget.h>

class QRadioButton;
class QCheckBox;

namespace KChart
{

class kchartWidget;
class KChartPart;
class KChartWizard;

class KChartWizardSetupDataPage : public QWidget
{
  Q_OBJECT 

public:
  KChartWizardSetupDataPage( QWidget* parent, KChartPart* chart );
  ~KChartWizardSetupDataPage();
  
private slots:
  void dataInRowsClicked();
  void dataInColsClicked();
  void firstColumnIsDescriptionToggled( bool );
  void firstRowIsDescriptionToggled( bool );

private:
  KChartPart* _chart;
  KChartWizard* _parent;

  kchartWidget* preview;
  QRadioButton* datacol;
  QRadioButton* datarow;
  QCheckBox* rowdescript;
  QCheckBox* coldescript;
};

}  //namespace KChart

#endif