Changeset View
Changeset View
Standalone View
Standalone View
pointer_input.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 61 | public: | |||
---|---|---|---|---|---|
79 | QImage cursorImage() const; | 79 | QImage cursorImage() const; | ||
80 | QPoint cursorHotSpot() const; | 80 | QPoint cursorHotSpot() const; | ||
81 | void markCursorAsRendered(); | 81 | void markCursorAsRendered(); | ||
82 | void setEffectsOverrideCursor(Qt::CursorShape shape); | 82 | void setEffectsOverrideCursor(Qt::CursorShape shape); | ||
83 | void removeEffectsOverrideCursor(); | 83 | void removeEffectsOverrideCursor(); | ||
84 | void setWindowSelectionCursor(const QByteArray &shape); | 84 | void setWindowSelectionCursor(const QByteArray &shape); | ||
85 | void removeWindowSelectionCursor(); | 85 | void removeWindowSelectionCursor(); | ||
86 | 86 | | |||
87 | void enablePointerConstraints(); | 87 | void updatePointerConstraints(); | ||
88 | void breakPointerConstraints(); | 88 | void breakPointerConstraints(); | ||
89 | | ||||
90 | /* This is only used for ESC pressing */ | ||||
89 | void blockPointerConstraints() { | 91 | void blockPointerConstraints() { | ||
90 | m_blockConstraint = true; | 92 | m_blockConstraint = true; | ||
91 | } | 93 | } | ||
92 | 94 | | |||
93 | bool isConstrained() const { | 95 | bool isConstrained() const { | ||
94 | return m_confined || m_locked; | 96 | return m_confined || m_locked; | ||
95 | } | 97 | } | ||
96 | 98 | | |||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |