/*
 * $Id: kchartParameterConfigPage.h,v 1.5 2000/04/08 16:43:13 mlaurent Exp $
 *
 * Copyright 2000 by Laurent Montel, released under Artistic License.
 */

#ifndef __KCHARTPARAMETERCONFIGPAGE_H__
#define __KCHARTPARAMETERCONFIGPAGE_H__

#include <qwidget.h>
#include <qcheckbox.h>
#include <qlineedit.h>
//#include <knuminput.h>
#include <qspinbox.h>
#include <kcolorbtn.h>

#include "kchartparams.h"

class KChartParameterConfigPage : public QWidget
{
    Q_OBJECT

public:
    KChartParameterConfigPage( KChartParameters* params,QWidget* parent );
    void init();
    void apply();
public slots:
    void changeState( bool );
    void changeXaxisState( bool );
    void changeFont();
private:
    KChartParameters* _params;
    QCheckBox *grid;
    QCheckBox *border;
    QCheckBox *xaxis;
    QCheckBox *yaxis;
    QCheckBox *yaxis2;
    QCheckBox *shelf;
    QCheckBox *xlabel;
    QCheckBox *cross;
    QLineEdit *title;
    QLineEdit *xtitle;
    QLineEdit *ytitle;
    QLineEdit *ylabel_fmt;
    QLineEdit *ytitle2;
    QLineEdit *ylabel2_fmt;
    QLineEdit *annotation;
    //KIntNumInput *element;
    QSpinBox *element;
    KColorButton *color;
    QPushButton *font;
    QFont annotationFont;
};

#endif
