9 #ifndef _MINMAXCONTROL_
10 #define _MINMAXCONTROL_
12 #include <QtCore/QString>
14 #if QT_VERSION >= 0x050000
15 #include <QtWidgets/QWidget>
17 #include <QtGui/QWidget>
QLineEdit * _mininput
the minimum value input
void on_changed()
react on when one of the inputs changed
QToolButton * _auto
select manual input
bool log() const
return wether log is enabled
widget to control the min and max values
MinMaxControl(QString title, QToolBar *parent)
constructor
bool autoscale() const
return whether the plot should be autoscaled
QToolButton * _log
select manual input
void controls_changed()
signal is emitted when one of the controls have changed
double max() const
retieve the maximum value
QLineEdit * _maxinput
the maximum value input
double min() const
retrieve the minimum value