17 #include <QtCore/qglobal.h> 19 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 20 #include <QtGui/QLineEdit> 22 #include <QtWidgets/QLineEdit> Widget that allows to select one digit by Up/Down keys and can switch states between editing and inac...
Definition: digitSelector.h:29
DigitSelector(bool &editingMode, int height)
Constructor.
Definition: digitSelector.cpp:22
void upPressed()
Widget is not in editing mode and user pressed "up".
Definition: abstractIndicator.h:21
void downPressed()
Widget is not in editing mode and user pressed "down".
void keyPressEvent(QKeyEvent *event) override
Definition: digitSelector.cpp:33
void valueChanged(int newValue)
Digit is changed by user.
void paintEvent(QPaintEvent *event) override
Definition: digitSelector.cpp:67