Auf dieser Seite

MouseEvent QML Type

Stellt Parameter zur Verfügung, die ein Mausereignis beschreiben. Mehr...

Import Statement: import Qt3D.Input 2.11
In C++: QMouseEvent
Status: Deprecated

Eigenschaften

Detaillierte Beschreibung

Mausereignisse treten auf, wenn eine Maustaste gedrückt wird und der von der Mausposition ausgehende Strahl, der die Ansicht durchquert, ein oder mehrere Elemente der Szene schneidet.

Siehe auch KeyEvent, WheelEvent, und MouseHandler.

Dokumentation der Eigenschaft

accepted : bool

Gibt an, ob das Mausereignis akzeptiert wurde

button : Buttons [read-only]

Gibt die Schaltfläche an, die das Mausereignis auslöst

buttons : int [read-only]

Gibt die Schaltfläche an, die das Mausereignis auslöst

modifiers : Modifiers [read-only]

Gibt an, ob Modifikatoren auf das Mausereignis angewendet wurden

wasHeld : bool [read-only]

Gibt an, ob eine Maustaste während des Mausereignisses gedrückt gehalten wurde

x : int [read-only]

Gibt die X-Koordinate des Mausereignisses an

y : int [read-only]

Gibt die Y-Koordinate des Mausereignisses an

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.