Uses of Enum
io.qt.core.Qt.MouseButton
-
Uses of Qt.MouseButton in io.qt.core
Modifier and TypeMethodDescriptionfinal Qt.MouseButton[]
Qt.MouseButtons.flags()
Returns an array of flag objects represented by this MouseButtons.static Qt.MouseButton
Qt.MouseButton.resolve
(int value) Returns the corresponding enum entry for the given value.static Qt.MouseButton
Returns the enum constant of this type with the specified name.static Qt.MouseButton[]
Qt.MouseButton.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionQt.MouseButton.combined
(Qt.MouseButton e) Combines this entry with other enum entry.final Qt.MouseButtons
Qt.MouseButtons.combined
(Qt.MouseButton e) Combines this flags with enum entry.static Qt.MouseButtons
Qt.MouseButton.flags
(Qt.MouseButton... values) Creates a newQt.MouseButtons
from the entries.final Qt.MouseButtons
Qt.MouseButtons.setFlag
(Qt.MouseButton e) Sets the flage
final Qt.MouseButtons
Qt.MouseButtons.setFlag
(Qt.MouseButton e, boolean on) Sets or clears the flagflag
ModifierConstructorDescriptionMouseButtons
(Qt.MouseButton... args) Creates a new MouseButtons where the flags inargs
are set. -
Uses of Qt.MouseButton in io.qt.gui
Modifier and TypeMethodDescriptionprotected final void
QSinglePointEvent.setButton
(Qt.MouseButton button) protected final void
QSinglePointEvent.setButtons
(Qt.MouseButton... buttons) Overloaded function forQSinglePointEvent.setButtons(io.qt.core.Qt.MouseButtons)
.protected final void
QDropEvent.setMouseButtons
(Qt.MouseButton... mouseButtons) Overloaded function forQDropEvent.setMouseButtons(io.qt.core.Qt.MouseButtons)
.ModifierConstructorDescriptionQMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use another constructorQMouseEvent
(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) Deprecated.Use another constructorprotected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QEventPoint point, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QTabletEvent
(QEvent.Type t, QPointingDevice device, QPointF pos, QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, Qt.KeyboardModifiers keyState, Qt.MouseButton button, Qt.MouseButton... buttons) QTabletEvent
(QEvent.Type t, QPointingDevice device, QPointF pos, QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, Qt.KeyboardModifiers keyState, Qt.MouseButton button, Qt.MouseButtons buttons) -
Uses of Qt.MouseButton in io.qt.quick
Modifier and TypeMethodDescriptionfinal void
QQuickItem.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQQuickItem.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
. -
Uses of Qt.MouseButton in io.qt.statemachine
Modifier and TypeMethodDescriptionfinal QBindable<Qt.MouseButton>
QMouseEventTransition.bindableButton()
The button that this mouse event transition is associated withModifier and TypeMethodDescriptionfinal void
QMouseEventTransition.setButton
(Qt.MouseButton button) ModifierConstructorDescriptionQMouseEventTransition
(QObject object, QEvent.Type type, Qt.MouseButton button) Overloaded constructor forQMouseEventTransition(io.qt.core.QObject, io.qt.core.QEvent.Type, io.qt.core.Qt.MouseButton, io.qt.statemachine.QState)
withsourceState = null
.QMouseEventTransition
(QObject object, QEvent.Type type, Qt.MouseButton button, QState sourceState) -
Uses of Qt.MouseButton in io.qt.test
Modifier and TypeMethodDescriptionfinal void
QTestEventList.addMouseClick
(Qt.MouseButton button) final void
QTestEventList.addMouseClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
QTestEventList.addMouseClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTestEventList.addMouseClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
QTestEventList.addMouseClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) final void
QTestEventList.addMouseDClick
(Qt.MouseButton button) final void
QTestEventList.addMouseDClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
QTestEventList.addMouseDClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTestEventList.addMouseDClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
QTestEventList.addMouseDClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) final void
QTestEventList.addMousePress
(Qt.MouseButton button) final void
QTestEventList.addMousePress
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
QTestEventList.addMousePress
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTestEventList.addMousePress(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
QTestEventList.addMousePress
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) final void
QTestEventList.addMouseRelease
(Qt.MouseButton button) final void
QTestEventList.addMouseRelease
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
QTestEventList.addMouseRelease
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTestEventList.addMouseRelease(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
QTestEventList.addMouseRelease
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseClick
(QWindow window, Qt.MouseButton button) static void
QTest.mouseClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mouseClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseClick
(QWidget widget, Qt.MouseButton button) static void
QTest.mouseClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mouseClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseDClick
(QWindow window, Qt.MouseButton button) static void
QTest.mouseDClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mouseDClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseDClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseDClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseDClick
(QWidget widget, Qt.MouseButton button) static void
QTest.mouseDClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mouseDClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseDClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseDClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseEvent
(QTest.MouseAction action, QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseEvent(io.qt.test.QTest.MouseAction, io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseEvent
(QTest.MouseAction action, QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseEvent
(QTest.MouseAction action, QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseEvent(io.qt.test.QTest.MouseAction, io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseEvent
(QTest.MouseAction action, QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mousePress
(QWindow window, Qt.MouseButton button) static void
QTest.mousePress
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mousePress
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mousePress(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mousePress
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mousePress
(QWidget widget, Qt.MouseButton button) static void
QTest.mousePress
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mousePress
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mousePress(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mousePress
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseRelease
(QWindow window, Qt.MouseButton button) static void
QTest.mouseRelease
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mouseRelease
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseRelease(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseRelease
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.mouseRelease
(QWidget widget, Qt.MouseButton button) static void
QTest.mouseRelease
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
QTest.mouseRelease
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function forQTest.mouseRelease(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
QTest.mouseRelease
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QTest.qt_handleMouseEvent
(QWindow window, QPointF local, QPointF global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) ModifierConstructorDescriptionQTestMouseEvent
(QTest.MouseAction action, Qt.MouseButton button, Qt.KeyboardModifiers modifiers, QPoint position, int delay) -
Uses of Qt.MouseButton in io.qt.widgets
Modifier and TypeMethodDescriptionfinal QPointF
QGraphicsSceneMouseEvent.buttonDownPos
(Qt.MouseButton button) final QPointF
QGraphicsSceneMouseEvent.buttonDownScenePos
(Qt.MouseButton button) final QPoint
QGraphicsSceneMouseEvent.buttonDownScreenPos
(Qt.MouseButton button) final void
QAbstractGraphicsShapeItem.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQAbstractGraphicsShapeItem.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsItem.Impl.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsItem.Impl.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.default void
QGraphicsItem.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsItem.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsItemGroup.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsItemGroup.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsLineItem.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsLineItem.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsObject.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsObject.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsPixmapItem.setAcceptedMouseButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsPixmapItem.setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsSceneMouseEvent.setButton
(Qt.MouseButton button) final void
QGraphicsSceneMouseEvent.setButtonDownPos
(Qt.MouseButton button, QPointF pos) final void
QGraphicsSceneMouseEvent.setButtonDownScenePos
(Qt.MouseButton button, QPointF pos) final void
QGraphicsSceneMouseEvent.setButtonDownScreenPos
(Qt.MouseButton button, QPoint pos) final void
QGraphicsSceneDragDropEvent.setButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsSceneDragDropEvent.setButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsSceneMouseEvent.setButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsSceneMouseEvent.setButtons(io.qt.core.Qt.MouseButtons)
.final void
QGraphicsSceneWheelEvent.setButtons
(Qt.MouseButton... buttons) Overloaded function forQGraphicsSceneWheelEvent.setButtons(io.qt.core.Qt.MouseButtons)
.