##// END OF EJS Templates
Drafting scatter type plotting...
Drafting scatter type plotting Note that the draft implementation is now a part of the test widget. It has to be integrated to the actual API next.

File last commit:

r8:ca68423caa77
r8:ca68423caa77
Show More
mainwidget.h
37 lines | 785 B | text/x-c | CLexer
#ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <QWidget>
class QChartWidget;
class QSpinBox;
class QCheckBox;
class MainWidget : public QWidget
{
Q_OBJECT
public:
explicit MainWidget(QWidget *parent = 0);
signals:
private slots:
void chartTypeChanged(int itemIndex);
void dataChanged(QString itemText);
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