##// 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
Tero Ahola
New features like chart type to the test app
r5 #ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <QWidget>
Tero Ahola
Drafting scatter type plotting...
r8 class QChartWidget;
Tero Ahola
Added auto scaling option to test app
r6 class QSpinBox;
Tero Ahola
Drafting scatter type plotting...
r8 class QCheckBox;
Tero Ahola
New features like chart type to the test app
r5
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);
Tero Ahola
Added auto scaling option to test app
r6 void autoScaleChanged(int value);
Tero Ahola
New features like chart type to the test app
r5 void xMinChanged(int value);
void xMaxChanged(int value);
void yMinChanged(int value);
void yMaxChanged(int value);
private:
Tero Ahola
Drafting scatter type plotting...
r8 QChartWidget *m_chartWidget;
QCheckBox *m_autoScaleCheck;
Tero Ahola
Added auto scaling option to test app
r6 QSpinBox *m_xMinSpin;
QSpinBox *m_xMaxSpin;
QSpinBox *m_yMinSpin;
QSpinBox *m_yMaxSpin;
Tero Ahola
New features like chart type to the test app
r5 };
#endif // MAINWIDGET_H