kchart

kchartPieConfigPage.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2000, 2001, 2002, 2003, 2004 Laurent Montel <montel@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20
21
22#ifndef __KCHARTPIECONFIGPAGE_H__
23#define __KCHARTPIECONFIGPAGE_H__
24
25
26#include <tqwidget.h>
27#include <tqlistview.h>
28
29#include <koChart.h>
30
31
32class TQSpinBox;
33class TQLineEdit;
34class TQCheckBox;
35class TQPushButton;
36class TQFont;
37class TQRadioButton;
38
39
40namespace KChart
41{
42
43class KChartParams;
44
45class KChartPieConfigPage : public TQWidget
46{
47 TQ_OBJECT
48
49
50public:
51 KChartPieConfigPage( KChartParams* params, TQWidget* parent,
52 KDChartTableData* data);
53 void init();
54 void apply();
55 void initList();
56
57public slots:
58 void changeValue(int);
59 void slotselected(TQListViewItem *);
60
61private:
62 int col;
63 KChartParams* _params;
64 TQSpinBox *dist;
65 TQSpinBox *column;
66 TQListView *list;
67 TQSpinBox *explose;
68 TQMemArray<int> value;
69 int pos;
70};
71
72} //KChart namespace
73
74#endif