##// END OF EJS Templates
Added auto scaling option to test app
Added auto scaling option to test app

File last commit:

r6:ac2e8ee32571
r6:ac2e8ee32571
Show More
mainwidget.h
35 lines | 731 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>
class ChartWidget;
Tero Ahola
Added auto scaling option to test app
r6 class QSpinBox;
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:
ChartWidget *m_chartWidget;
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