kchart

kchartPieConfigPage.h

00001 /* This file is part of the KDE libraries
00002     Copyright (C) 2000, 2001, 2002, 2003, 2004 Laurent Montel <montel@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Library General Public
00006     License as published by the Free Software Foundation; either
00007     version 2 of the License, or (at your option) any later version.
00008 
00009     This library is distributed in the hope that it will be useful,
00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     Library General Public License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to
00016     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 
00020 
00021 
00022 #ifndef __KCHARTPIECONFIGPAGE_H__
00023 #define __KCHARTPIECONFIGPAGE_H__
00024 
00025 
00026 #include <qwidget.h>
00027 #include <qlistview.h>
00028 
00029 #include <koChart.h>
00030 
00031 
00032 class QSpinBox;
00033 class QLineEdit;
00034 class QCheckBox;
00035 class QPushButton;
00036 class QFont;
00037 class QRadioButton;
00038 
00039 
00040 namespace KChart
00041 {
00042 
00043 class KChartParams;
00044 
00045 class KChartPieConfigPage : public QWidget
00046 {
00047     Q_OBJECT
00048 
00049 public:
00050     KChartPieConfigPage( KChartParams* params, QWidget* parent, 
00051              KDChartTableData* data);
00052     void init();
00053     void apply();
00054     void initList();
00055     
00056 public slots:
00057     void changeValue(int);
00058     void slotselected(QListViewItem *);
00059     
00060 private:
00061     int col;
00062     KChartParams* _params;
00063     QSpinBox *dist;
00064     QSpinBox *column;
00065     QListView *list;
00066     QSpinBox *explose;
00067     QMemArray<int> value;
00068     int pos;
00069 };
00070 
00071 }  //KChart namespace
00072 
00073 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys