MouseEventListener QML Type
| Import Statement: | import org.kde.kquickcontrols.addons |
Properties
- acceptedButtons : Qt::MouseButtons
- containsMouse : bool
- cursorShape : Qt::CursorShape
- hoverEnabled : bool
- pressed : bool
Signals
- acceptedButtonsChanged()
- canceled()
- clicked(KDeclarativeMouseEvent mouse)
- containsMouseChanged(bool containsMouseChanged)
- cursorShapeChanged()
- hoverEnabledChanged(bool hoverEnabled)
- positionChanged(KDeclarativeMouseEvent mouse)
- pressAndHold(KDeclarativeMouseEvent *mouse)
- pressed(KDeclarativeMouseEventmouse)
- pressedChanged()
- released(KDeclarativeMouseEvent mouse)
- wheelMoved(KDeclarativeWheelEvent wheel)
Detailed Description
Property Documentation
acceptedButtons : Qt::MouseButtons
containsMouse : bool
True if this MouseEventListener or any of its children contains the mouse cursor: this property will change only when the mouse button is pressed if hoverEnabled is false.
cursorShape : Qt::CursorShape
This property holds the cursor shape for this mouse area. Note that on platforms that do not display a mouse cursor this may have no effect.
hoverEnabled : bool
This property holds whether hover events are handled. By default hover events are disabled
pressed : bool
True if the mouse is pressed in the item or any of its children
Signal Documentation
acceptedButtonsChanged()
Note: The corresponding handler is onAcceptedButtonsChanged.
canceled()
Note: The corresponding handler is onCanceled.
clicked(KDeclarativeMouseEvent mouse)
Note: The corresponding handler is onClicked.
containsMouseChanged(bool containsMouseChanged)
Note: The corresponding handler is onContainsMouseChanged.
cursorShapeChanged()
Note: The corresponding handler is onCursorShapeChanged.
hoverEnabledChanged(bool hoverEnabled)
Note: The corresponding handler is onHoverEnabledChanged.
positionChanged(KDeclarativeMouseEvent mouse)
Note: The corresponding handler is onPositionChanged.
pressAndHold(KDeclarativeMouseEvent *mouse)
Note: The corresponding handler is onPressAndHold.
pressed(KDeclarativeMouseEventmouse)
Note: The corresponding handler is onPressed.
pressedChanged()
Note: The corresponding handler is onPressedChanged.
released(KDeclarativeMouseEvent mouse)
Note: The corresponding handler is onReleased.
wheelMoved(KDeclarativeWheelEvent wheel)
Note: The corresponding handler is onWheelMoved.