mainwidget.h
35 lines
| 731 B
| text/x-c
|
CLexer
|
r5 | #ifndef MAINWIDGET_H | ||
#define MAINWIDGET_H | ||||
#include <QWidget> | ||||
class ChartWidget; | ||||
|
r6 | class QSpinBox; | ||
|
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); | ||||
|
r6 | void autoScaleChanged(int value); | ||
|
r5 | void xMinChanged(int value); | ||
void xMaxChanged(int value); | ||||
void yMinChanged(int value); | ||||
void yMaxChanged(int value); | ||||
private: | ||||
ChartWidget *m_chartWidget; | ||||
|
r6 | QSpinBox *m_xMinSpin; | ||
QSpinBox *m_xMaxSpin; | ||||
QSpinBox *m_yMinSpin; | ||||
QSpinBox *m_yMaxSpin; | ||||
|
r5 | }; | ||
#endif // MAINWIDGET_H | ||||