17 Q_PROPERTY(
bool middleButtonEnabled READ middleButtonEnabled WRITE setMiddleButtonEnabled NOTIFY middleButtonEnabledChanged)
18 Q_PROPERTY(qint32 middleButtonTimeout READ middleButtonTimeout WRITE setMiddleButtonTimeout NOTIFY middleButtonTimeoutChanged)
19 Q_PROPERTY(
bool wheelEmulation READ wheelEmulation WRITE setWheelEmulation NOTIFY wheelEmulationChanged)
21 qint32 wheelEmulationButton READ wheelEmulationButton WRITE setWheelEmulationButton NOTIFY wheelEmulationButtonChanged)
22 Q_PROPERTY(qint32 wheelEmulationTimeout READ wheelEmulationTimeout WRITE setWheelEmulationTimeout NOTIFY
23 wheelEmulationTimeoutChanged)
25 bool wheelHorizontalScroll READ wheelHorizontalScroll WRITE setWheelHorizontalScroll NOTIFY wheelHorizontalScrollChanged)
30 bool middleButtonEnabled() const;
31 qint32 middleButtonTimeout() const;
32 bool wheelEmulation() const;
33 qint32 wheelEmulationButton() const;
34 qint32 wheelEmulationTimeout() const;
35 bool wheelHorizontalScroll() const;
37 void setMiddleButtonEnabled(
bool enabled);
38 void setMiddleButtonTimeout(qint32 timeout);
39 void setWheelEmulation(
bool emulation);
40 void setWheelEmulationButton(qint32 button);
41 void setWheelEmulationTimeout(qint32 timeout);
42 void setWheelHorizontalScroll(
bool horizontalScroll);
44 bool leftHanded() const override;
47 double accelerationSpeed() const override;
48 void setLeftHanded(
bool leftHanded) override;
51 void setAccelerationSpeed(
double accelerationSpeed) override;
55 void middleButtonEnabledChanged(
bool enabled);
56 void middleButtonTimeoutChanged(qint32 timeout);
57 void wheelEmulationChanged(
bool emulation);
58 void wheelEmulationButtonChanged(qint32 button);
59 void wheelEmulationTimeoutChanged(qint32 timeout);
60 void wheelHorizontalScrollChanged(
bool horizontalScroll);
63 DExpected<
void> reset() override;