2018-07-11 19:18:50 +01:00
|
|
|
#ifndef NOSCROLLSPINBOX_H
|
|
|
|
#define NOSCROLLSPINBOX_H
|
|
|
|
|
|
|
|
#include <QSpinBox>
|
|
|
|
|
|
|
|
class NoScrollSpinBox : public QSpinBox
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit NoScrollSpinBox(QWidget *parent = nullptr);
|
2020-08-27 01:42:42 +01:00
|
|
|
void wheelEvent(QWheelEvent *event) override;
|
2020-07-31 18:24:58 +01:00
|
|
|
void focusOutEvent(QFocusEvent *event) override;
|
|
|
|
|
|
|
|
unsigned getActionId();
|
2018-07-11 19:18:50 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // NOSCROLLSPINBOX_H
|