##// END OF EJS Templates
Started to refactor the API to allow integrating different plot types
Started to refactor the API to allow integrating different plot types

File last commit:

r19:b231f8e5fa43
r19:b231f8e5fa43
Show More
mainwidget.h
42 lines | 903 B | text/x-c | CLexer
#ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <qchartconfig.h>
#include <qchartwidget.h>
#include <QWidget>
class QSpinBox;
class QCheckBox;
QCHART_USE_NAMESPACE
class MainWidget : public QWidget
{
Q_OBJECT
public:
explicit MainWidget(QWidget *parent = 0);
signals:
private slots:
void chartTypeChanged(int itemIndex);
void addSeries();
void addSeries(QString series);
void testDataChanged(int itemIndex);
void backgroundChanged(int itemIndex);
void autoScaleChanged(int value);
void xMinChanged(int value);
void xMaxChanged(int value);
void yMinChanged(int value);
void yMaxChanged(int value);
private:
QChartWidget *m_chartWidget;
QCheckBox *m_autoScaleCheck;
QSpinBox *m_xMinSpin;
QSpinBox *m_xMaxSpin;
QSpinBox *m_yMinSpin;
QSpinBox *m_yMaxSpin;
};
#endif // MAINWIDGET_H