/*
 * $Id: kchartPieConfigPage.h,v 1.2 2000/01/23 14:48:48 mlaurent Exp $
 *
 * Copyright 2000 by Laurent Montel, released under Artistic License.
 */

#ifndef __KCHARTPIECONFIGPAGE_H__
#define __KCHARTPIECONFIGPAGE_H__

#include <qwidget.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qradiobutton.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <qfont.h>
#include "kchartparams.h"
#include <qspinbox.h>

class KChartPieConfigPage : public QWidget
{
    Q_OBJECT

public:
    KChartPieConfigPage( KChartParameters* params,QWidget* parent );
    void init();
    void apply();
    void initList();
    
public slots:
    void changeValue(int);
    void slotselected(QListViewItem *);
    
private:
    int col;
    KChartParameters* _params;
    QSpinBox *dist;
    QSpinBox *column;
    QListView *list;
    QSpinBox *angle;
    QSpinBox *depth;
    QArray<int> value;
    int pos;
};

#endif
