Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgraphicssceneevent.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
224#include "qgraphicssceneevent.h"
225
226#ifndef QT_NO_DEBUG_STREAM
227#include <QtCore/qdebug.h>
228#include <private/qdebug_p.h>
229#endif
230#include <QtCore/qmap.h>
231#include <QtCore/qpoint.h>
232#include <QtCore/qsize.h>
233#include <QtCore/qstring.h>
234#include "qgraphicsview.h"
235#include "qgraphicsitem.h"
236#include <QtWidgets/qgesture.h>
237#include <private/qevent_p.h>
238
240
256
267
278
285
291{
292 return d_ptr->widget;
293}
294
306
326
328{
329 Q_DECLARE_PUBLIC(QGraphicsSceneMouseEvent)
330public:
332 : button(Qt::NoButton), source(Qt::MouseEventNotSynthesized)
333 { }
334
341 QMap<Qt::MouseButton, QPointF> buttonDownPos;
342 QMap<Qt::MouseButton, QPointF> buttonDownScenePos;
343 QMap<Qt::MouseButton, QPoint> buttonDownScreenPos;
345 Qt::MouseButtons buttons;
346 Qt::KeyboardModifiers modifiers;
348 Qt::MouseEventFlags flags;
349};
350
360
367
374{
375 Q_D(const QGraphicsSceneMouseEvent);
376 return d->pos;
377}
378
383{
385 d->pos = pos;
386}
387
394{
395 Q_D(const QGraphicsSceneMouseEvent);
396 return d->scenePos;
397}
398
403{
405 d->scenePos = pos;
406}
407
414{
415 Q_D(const QGraphicsSceneMouseEvent);
416 return d->screenPos;
417}
418
423{
425 d->screenPos = pos;
426}
427
435{
436 Q_D(const QGraphicsSceneMouseEvent);
437 return d->buttonDownPos.value(button);
438}
439
448
456{
457 Q_D(const QGraphicsSceneMouseEvent);
458 return d->buttonDownScenePos.value(button);
459}
460
469
477{
478 Q_D(const QGraphicsSceneMouseEvent);
479 return d->buttonDownScreenPos.value(button);
480}
481
486{
488 d->buttonDownScreenPos.insert(button, pos);
489}
490
498{
499 Q_D(const QGraphicsSceneMouseEvent);
500 return d->lastPos;
501}
502
507{
509 d->lastPos = pos;
510}
511
521{
522 Q_D(const QGraphicsSceneMouseEvent);
523 return d->lastScenePos;
524}
525
530{
532 d->lastScenePos = pos;
533}
534
544{
545 Q_D(const QGraphicsSceneMouseEvent);
546 return d->lastScreenPos;
547}
548
553{
555 d->lastScreenPos = pos;
556}
557
564Qt::MouseButtons QGraphicsSceneMouseEvent::buttons() const
565{
566 Q_D(const QGraphicsSceneMouseEvent);
567 return d->buttons;
568}
569
573void QGraphicsSceneMouseEvent::setButtons(Qt::MouseButtons buttons)
574{
576 d->buttons = buttons;
577}
578
585{
586 Q_D(const QGraphicsSceneMouseEvent);
587 return d->button;
588}
589
598
605Qt::KeyboardModifiers QGraphicsSceneMouseEvent::modifiers() const
606{
607 Q_D(const QGraphicsSceneMouseEvent);
608 return d->modifiers;
609}
610
624{
625 Q_D(const QGraphicsSceneMouseEvent);
626 return d->source;
627}
628
638
649Qt::MouseEventFlags QGraphicsSceneMouseEvent::flags() const
650{
651 Q_D(const QGraphicsSceneMouseEvent);
652 return d->flags;
653}
654
660{
662 d->flags = flags;
663}
664
669{
671 d->modifiers = modifiers;
672}
673
691
702
709
717{
718 Q_D(const QGraphicsSceneWheelEvent);
719 return d->pos;
720}
721
726{
728 d->pos = pos;
729}
730
738{
739 Q_D(const QGraphicsSceneWheelEvent);
740 return d->scenePos;
741}
742
747{
749 d->scenePos = pos;
750}
751
759{
760 Q_D(const QGraphicsSceneWheelEvent);
761 return d->screenPos;
762}
763
768{
770 d->screenPos = pos;
771}
772
778Qt::MouseButtons QGraphicsSceneWheelEvent::buttons() const
779{
780 Q_D(const QGraphicsSceneWheelEvent);
781 return d->buttons;
782}
783
787void QGraphicsSceneWheelEvent::setButtons(Qt::MouseButtons buttons)
788{
790 d->buttons = buttons;
791}
792
799Qt::KeyboardModifiers QGraphicsSceneWheelEvent::modifiers() const
800{
801 Q_D(const QGraphicsSceneWheelEvent);
802 return d->modifiers;
803}
804
809{
811 d->modifiers = modifiers;
812}
813
824{
825 Q_D(const QGraphicsSceneWheelEvent);
826 return d->delta;
827}
828
833{
835 d->delta = delta;
836}
837
842{
843 Q_D(const QGraphicsSceneWheelEvent);
844 return d->orientation;
845}
846
855
864{
865 Q_D(const QGraphicsSceneWheelEvent);
866 return d->scrollPhase;
867}
868
873{
875 d->scrollPhase = scrollPhase;
876}
877
889{
890 Q_D(const QGraphicsSceneWheelEvent);
891 return d->pixelDelta;
892}
893
898{
900 d->pixelDelta = pixelDelta;
901}
902
909{
910 Q_D(const QGraphicsSceneWheelEvent);
911 return d->inverted;
912}
913
918{
920 d->inverted = inverted;
921}
922
935
945
952
960{
962 return d->pos;
963}
964
977
985{
987 return d->scenePos;
988}
989
1002
1010{
1012 return d->screenPos;
1013}
1014
1027
1032{
1034 return d->modifiers;
1035}
1036
1044{
1046 d->modifiers = modifiers;
1047}
1048
1059
1071
1083
1093
1100
1108{
1109 Q_D(const QGraphicsSceneHoverEvent);
1110 return d->pos;
1111}
1112
1121{
1123 d->pos = pos;
1124}
1125
1133{
1134 Q_D(const QGraphicsSceneHoverEvent);
1135 return d->scenePos;
1136}
1137
1146{
1148 d->scenePos = pos;
1149}
1150
1158{
1159 Q_D(const QGraphicsSceneHoverEvent);
1160 return d->screenPos;
1161}
1162
1171{
1173 d->screenPos = pos;
1174}
1175
1184{
1185 Q_D(const QGraphicsSceneHoverEvent);
1186 return d->lastPos;
1187}
1188
1193{
1195 d->lastPos = pos;
1196}
1197
1208{
1209 Q_D(const QGraphicsSceneHoverEvent);
1210 return d->lastScenePos;
1211}
1212
1217{
1219 d->lastScenePos = pos;
1220}
1221
1232{
1233 Q_D(const QGraphicsSceneHoverEvent);
1234 return d->lastScreenPos;
1235}
1236
1241{
1243 d->lastScreenPos = pos;
1244}
1245
1251Qt::KeyboardModifiers QGraphicsSceneHoverEvent::modifiers() const
1252{
1253 Q_D(const QGraphicsSceneHoverEvent);
1254 return d->modifiers;
1255}
1256
1264{
1266 d->modifiers = modifiers;
1267}
1268
1275
1285
1292
1300{
1301 Q_D(const QGraphicsSceneHelpEvent);
1302 return d->scenePos;
1303}
1304
1313{
1315 d->scenePos = pos;
1316}
1317
1325{
1326 Q_D(const QGraphicsSceneHelpEvent);
1327 return d->screenPos;
1328}
1329
1338{
1340 d->screenPos = pos;
1341}
1342
1362
1375
1382
1390{
1391 Q_D(const QGraphicsSceneDragDropEvent);
1392 return d->pos;
1393}
1394
1405{
1407 d->pos = pos;
1408}
1409
1416{
1417 Q_D(const QGraphicsSceneDragDropEvent);
1418 return d->scenePos;
1419}
1420
1428{
1430 d->scenePos = pos;
1431}
1432
1439{
1440 Q_D(const QGraphicsSceneDragDropEvent);
1441 return d->screenPos;
1442}
1443
1451{
1453 d->screenPos = pos;
1454}
1455
1464{
1465 Q_D(const QGraphicsSceneDragDropEvent);
1466 return d->buttons;
1467}
1468
1476void QGraphicsSceneDragDropEvent::setButtons(Qt::MouseButtons buttons)
1477{
1479 d->buttons = buttons;
1480}
1481
1488Qt::KeyboardModifiers QGraphicsSceneDragDropEvent::modifiers() const
1489{
1490 Q_D(const QGraphicsSceneDragDropEvent);
1491 return d->modifiers;
1492}
1493
1503{
1505 d->modifiers = modifiers;
1506}
1507
1516{
1517 Q_D(const QGraphicsSceneDragDropEvent);
1518 return d->possibleActions;
1519}
1520
1529{
1531 d->possibleActions = actions;
1532}
1533
1543{
1544 Q_D(const QGraphicsSceneDragDropEvent);
1545 return d->proposedAction;
1546}
1547
1558{
1560 d->proposedAction = action;
1561}
1562
1575{
1577 d->dropAction = d->proposedAction;
1578}
1579
1589{
1590 Q_D(const QGraphicsSceneDragDropEvent);
1591 return d->dropAction;
1592}
1593
1605{
1607 d->dropAction = action;
1608}
1609
1615{
1616 Q_D(const QGraphicsSceneDragDropEvent);
1617 return d->source;
1618}
1619
1630
1635{
1636 Q_D(const QGraphicsSceneDragDropEvent);
1637 return d->mimeData;
1638}
1639
1645{
1647 d->mimeData = data;
1648}
1649
1660
1668
1675
1683{
1684 Q_D(const QGraphicsSceneResizeEvent);
1685 return d->oldSize;
1686}
1687
1692{
1694 d->oldSize = size;
1695}
1696
1703{
1704 Q_D(const QGraphicsSceneResizeEvent);
1705 return d->newSize;
1706}
1707
1712{
1714 d->newSize = size;
1715}
1716
1727
1735
1742
1750{
1751 Q_D(const QGraphicsSceneMoveEvent);
1752 return d->oldPos;
1753}
1754
1759{
1761 d->oldPos = pos;
1762}
1763
1770{
1771 Q_D(const QGraphicsSceneMoveEvent);
1772 return d->newPos;
1773}
1774
1779{
1781 d->newPos = pos;
1782}
1783
1784#ifndef QT_NO_DEBUG_STREAM
1785template <class Event>
1786static inline void formatPositions(QDebug &debug, const Event *event)
1787{
1788 debug << ", pos=";
1790 debug << ", scenePos=";
1792 debug << ", screenPos=";
1793 QtDebugUtils::formatQPoint(debug, event->screenPos());
1794}
1795
1797{
1798 QDebugStateSaver saver(debug);
1799 debug.nospace();
1800 if (!event) {
1801 debug << "QGraphicsSceneEvent(0)";
1802 return debug;
1803 }
1804
1805 const QEvent::Type type = event->type();
1806 switch (type) {
1811 const QGraphicsSceneMouseEvent *me = static_cast<const QGraphicsSceneMouseEvent *>(event);
1812 const Qt::MouseButton button = me->button();
1813 const Qt::MouseButtons buttons = me->buttons();
1814 debug << "QGraphicsSceneMouseEvent(";
1817 debug << ", ";
1819 }
1820 if (buttons && button != buttons) {
1821 debug << ", buttons=";
1823 }
1827 QtDebugUtils::formatNonNullQFlags(debug, ", flags=", me->flags());
1828 debug << ')';
1829 }
1830 break;
1833 debug << "QGraphicsSceneContextMenuEvent(reason=" << ce->reason();
1834 QtDebugUtils::formatNonNullQFlags(debug, ", ", ce->modifiers());
1836 debug << ')';
1837 }
1838 break;
1842 debug << "QGraphicsSceneHoverEvent(";
1843 formatPositions(debug, static_cast<const QGraphicsSceneHoverEvent *>(event));
1844 debug << ')';
1845 break;
1847 break;
1852 const QGraphicsSceneDragDropEvent *de = static_cast<const QGraphicsSceneDragDropEvent *>(event);
1853 debug << "QGraphicsSceneDragDropEvent(proposedAction=";
1854 QtDebugUtils::formatQEnum(debug, de->proposedAction());
1855 debug << ", possibleActions=";
1856 QtDebugUtils::formatQFlags(debug, de->possibleActions());
1857 debug << ", source=" << de->source();
1858 QtDebugUtils::formatNonNullQFlags(debug, ", buttons=", de->buttons());
1859 QtDebugUtils::formatNonNullQFlags(debug, ", ", de->modifiers());
1861 }
1862 break;
1864 const QGraphicsSceneWheelEvent *we = static_cast<const QGraphicsSceneWheelEvent *>(event);
1865 debug << "QGraphicsSceneWheelEvent(";
1866 QtDebugUtils::formatNonNullQFlags(debug, ", buttons=", we->buttons());
1867 QtDebugUtils::formatNonNullQFlags(debug, ", ", we->modifiers());
1869 debug << ')';
1870 }
1871 break;
1872 default:
1873 break;
1874 }
1875 return debug;
1876}
1877#endif // !QT_NO_DEBUG_STREAM
1878
\inmodule QtCore
\inmodule QtCore
\inmodule QtCore
Definition qcoreevent.h:45
Type
This enum type defines the valid event types in Qt.
Definition qcoreevent.h:51
@ GraphicsSceneDragLeave
Definition qcoreevent.h:200
@ GraphicsSceneMouseMove
Definition qcoreevent.h:189
@ GraphicsSceneContextMenu
Definition qcoreevent.h:193
@ GraphicsSceneMouseRelease
Definition qcoreevent.h:191
@ GraphicsSceneDragEnter
Definition qcoreevent.h:198
@ GraphicsSceneDragMove
Definition qcoreevent.h:199
@ GraphicsSceneMousePress
Definition qcoreevent.h:190
@ GraphicsSceneHoverLeave
Definition qcoreevent.h:196
@ GraphicsSceneMouseDoubleClick
Definition qcoreevent.h:192
@ GraphicsSceneWheel
Definition qcoreevent.h:202
@ GraphicsSceneDrop
Definition qcoreevent.h:201
@ GraphicsSceneHoverEnter
Definition qcoreevent.h:194
@ GraphicsSceneHoverMove
Definition qcoreevent.h:195
@ GraphicsSceneHelp
Definition qcoreevent.h:197
QGraphicsSceneContextMenuEvent::Reason reason
The QGraphicsSceneContextMenuEvent class provides context menu events in the graphics view framework.
QPoint screenPos() const
Returns the position of the mouse cursor in screen coordinates at the moment the context menu was req...
Reason reason() const
Returns the reason for the context menu event.
void setModifiers(Qt::KeyboardModifiers modifiers)
void setScenePos(const QPointF &pos)
QPointF pos() const
Returns the position of the mouse cursor in item coordinates at the moment the context menu was reque...
QPointF scenePos() const
Returns the position of the mouse cursor in scene coordinates at the moment the context menu was requ...
Reason
This enum describes the reason why the context event was sent.
~QGraphicsSceneContextMenuEvent()
Destroys the event.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers in use when the context menu was requested.
The QGraphicsSceneDragDropEvent class provides events for drag and drop in the graphics view framewor...
void setButtons(Qt::MouseButtons buttons)
void setMimeData(const QMimeData *data)
void setPossibleActions(Qt::DropActions actions)
void setProposedAction(Qt::DropAction action)
void setModifiers(Qt::KeyboardModifiers modifiers)
~QGraphicsSceneDragDropEvent()
Destroys the object.
Qt::DropAction dropAction() const
Returns the action that was performed in this drag and drop.
void setDropAction(Qt::DropAction action)
This function lets the receiver of the drop set the drop action that was performed to action,...
Qt::DropActions possibleActions() const
Returns the possible drop actions that the drag and drop can result in.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers that were pressed when the drag and drop event was created.
void setScreenPos(const QPoint &pos)
void setPos(const QPointF &pos)
Qt::MouseButtons buttons() const
Returns a Qt::MouseButtons value indicating which buttons were pressed on the mouse when this mouse e...
const QMimeData * mimeData() const
This function returns the MIME data of the event.
void acceptProposedAction()
Sets the proposed action as accepted, i.e, the drop action is set to the proposed action.
QWidget * source() const
This function returns the QGraphicsView that created the QGraphicsSceneDragDropEvent.
void setScenePos(const QPointF &pos)
QPoint screenPos() const
Returns the position of the mouse relative to the screen.
QPointF scenePos() const
Returns the position of the mouse in scene coordinates.
Qt::DropAction proposedAction() const
Returns the drop action that is proposed, i.e., preferred.
QPointF pos() const
Returns the mouse position of the event relative to the view that sent the event.
The QGraphicsSceneEvent class provides a base class for all graphics view related events.
QScopedPointer< QGraphicsSceneEventPrivate > d_ptr
~QGraphicsSceneEvent()
Destroys the event.
void setWidget(QWidget *widget)
void setTimestamp(quint64 ts)
QWidget * widget() const
Returns the widget where the event originated, or \nullptr if the event originates from another appli...
The QGraphicsSceneHelpEvent class provides events when a tooltip is requested.
QPoint screenPos() const
Returns the position of the mouse cursor in screen coordinates at the moment the help event was sent.
QPointF scenePos() const
Returns the position of the mouse cursor in scene coordinates at the moment the help event was sent.
void setScenePos(const QPointF &pos)
~QGraphicsSceneHelpEvent()
Destroys the event.
void setScreenPos(const QPoint &pos)
The QGraphicsSceneHoverEvent class provides hover events in the graphics view framework.
void setScreenPos(const QPoint &pos)
void setPos(const QPointF &pos)
QPointF pos() const
Returns the position of the mouse cursor in item coordinates at the moment the hover event was sent.
void setLastPos(const QPointF &pos)
QPoint screenPos() const
Returns the position of the mouse cursor in screen coordinates at the moment the hover event was sent...
void setScenePos(const QPointF &pos)
QPointF scenePos() const
Returns the position of the mouse cursor in scene coordinates at the moment the hover event was sent.
void setModifiers(Qt::KeyboardModifiers modifiers)
~QGraphicsSceneHoverEvent()
Destroys the event.
void setLastScenePos(const QPointF &pos)
void setLastScreenPos(const QPoint &pos)
Qt::KeyboardModifiers modifiers() const
QMap< Qt::MouseButton, QPointF > buttonDownScenePos
QMap< Qt::MouseButton, QPointF > buttonDownPos
QMap< Qt::MouseButton, QPoint > buttonDownScreenPos
The QGraphicsSceneMouseEvent class provides mouse events in the graphics view framework.
Qt::MouseButton button() const
Returns the mouse button (if any) that caused the event.
void setFlags(Qt::MouseEventFlags)
QPointF pos() const
Returns the mouse cursor position in item coordinates.
void setButtonDownPos(Qt::MouseButton button, const QPointF &pos)
QPointF lastScenePos() const
Returns the last recorded mouse cursor position in scene coordinates.
QPointF buttonDownScenePos(Qt::MouseButton button) const
Returns the mouse cursor position in scene coordinates where the specified button was clicked.
Qt::MouseEventFlags flags() const
void setLastScenePos(const QPointF &pos)
Qt::MouseEventSource source() const
~QGraphicsSceneMouseEvent()
Destroys the event.
QPoint buttonDownScreenPos(Qt::MouseButton button) const
Returns the mouse cursor position in screen coordinates where the specified button was clicked.
void setLastPos(const QPointF &pos)
QPoint lastScreenPos() const
Returns the last recorded mouse cursor position in screen coordinates.
void setButton(Qt::MouseButton button)
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers in use at the time the event was sent.
void setScenePos(const QPointF &pos)
QPoint screenPos() const
Returns the mouse cursor position in screen coordinates.
void setPos(const QPointF &pos)
Qt::MouseButtons buttons() const
Returns the combination of mouse buttons that were pressed at the time the event was sent.
void setButtonDownScenePos(Qt::MouseButton button, const QPointF &pos)
void setButtons(Qt::MouseButtons buttons)
QPointF lastPos() const
Returns the last recorded mouse cursor position in item coordinates.
QPointF scenePos() const
Returns the mouse cursor position in scene coordinates.
void setModifiers(Qt::KeyboardModifiers modifiers)
void setButtonDownScreenPos(Qt::MouseButton button, const QPoint &pos)
void setLastScreenPos(const QPoint &pos)
QPointF buttonDownPos(Qt::MouseButton button) const
Returns the mouse cursor position in item coordinates where the specified button was clicked.
void setSource(Qt::MouseEventSource source)
void setScreenPos(const QPoint &pos)
The QGraphicsSceneMoveEvent class provides events for widget moving in the graphics view framework.
QPointF oldPos() const
Returns the old position (i.e., the position immediately before the widget was moved).
void setOldPos(const QPointF &pos)
QPointF newPos() const
Returns the new position (i.e., the current position).
void setNewPos(const QPointF &pos)
QGraphicsSceneMoveEvent()
Constructs a QGraphicsSceneMoveEvent.
~QGraphicsSceneMoveEvent()
Destroys the QGraphicsSceneMoveEvent.
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framewor...
QSizeF oldSize() const
Returns the old size (i.e., the size immediately before the widget was resized).
void setOldSize(const QSizeF &size)
QSizeF newSize() const
Returns the new size (i.e., the current size).
~QGraphicsSceneResizeEvent()
Destroys the QGraphicsSceneResizeEvent.
QGraphicsSceneResizeEvent()
Constructs a QGraphicsSceneResizeEvent.
void setNewSize(const QSizeF &size)
The QGraphicsSceneWheelEvent class provides wheel events in the graphics view framework.
void setScreenPos(const QPoint &pos)
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers that were active when the wheel event occurred.
Qt::Orientation orientation() const
Returns the wheel orientation.
void setButtons(Qt::MouseButtons buttons)
bool isInverted() const
Returns whether the delta values delivered with the event are inverted.
void setPos(const QPointF &pos)
Qt::MouseButtons buttons() const
Returns the mouse buttons that were pressed when the wheel event occurred.
void setScenePos(const QPointF &pos)
void setOrientation(Qt::Orientation orientation)
Qt::ScrollPhase phase() const
int delta() const
Returns the distance that the wheel is rotated, in eighths (1/8s) of a degree.
QPointF pos() const
Returns the position of the cursor in item coordinates when the wheel event occurred.
void setModifiers(Qt::KeyboardModifiers modifiers)
void setPhase(Qt::ScrollPhase scrollPhase)
QPoint screenPos() const
Returns the position of the cursor in screen coordinates when the wheel event occurred.
~QGraphicsSceneWheelEvent()
Destroys the QGraphicsSceneWheelEvent.
QPointF scenePos() const
Returns the position of the cursor in scene coordinates when the wheel event occurred.
\inmodule QtCore
Definition qmimedata.h:16
\inmodule QtCore\reentrant
Definition qpoint.h:217
\inmodule QtCore\reentrant
Definition qpoint.h:25
\inmodule QtCore
Definition qsize.h:208
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
EGLImageKHR int int EGLuint64KHR * modifiers
QOpenGLWidget * widget
[1]
QPushButton * button
[2]
Combined button and popup list for selecting options.
static void formatNonNullQEnum(QDebug &debug, const char *prefix, QEnum value)
Definition qdebug_p.h:70
static void formatQEnum(QDebug &debug, QEnum value)
Definition qdebug_p.h:59
static void formatQFlags(QDebug &debug, const QFlags< Enum > &value)
Definition qdebug_p.h:79
static void formatQPoint(QDebug &debug, const Point &point)
Definition qdebug_p.h:33
static void formatNonNullQFlags(QDebug &debug, const char *prefix, const QFlags< Enum > &value)
Definition qdebug_p.h:88
Definition qcompare.h:63
MouseButton
Definition qnamespace.h:56
Orientation
Definition qnamespace.h:98
@ Horizontal
Definition qnamespace.h:99
MouseEventSource
DropAction
ScrollPhase
@ NoScrollPhase
static void formatPositions(QDebug &debug, const Event *event)
QDebug operator<<(QDebug debug, const QGraphicsSceneEvent *event)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum type
GLbitfield flags
GLsizei GLsizei GLchar * source
struct _cl_event * event
unsigned long long quint64
Definition qtypes.h:61
QObject::connect nullptr
Definition moc.h:23