QtBase
v6.3.1
|
Public Attributes | |
QList< int > | recordedEvents |
QMap< QEvent::Type, int > | counts |
Protected Attributes | |
int | _count = 0 |
const QEvent::Type | spied |
QEvent::Type | spied |
Protected Attributes inherited from QObject | |
QScopedPointer< QObjectData > | d_ptr |
Protected Attributes inherited from QGraphicsItem | |
QScopedPointer< QGraphicsItemPrivate > | d_ptr |
Protected Attributes inherited from QGraphicsLayoutItem | |
QScopedPointer< QGraphicsLayoutItemPrivate > | d_ptr |
Additional Inherited Members | |
Public Slots inherited from QObject | |
void | deleteLater () |
Public Slots inherited from QGraphicsWidget | |
bool | close () |
Signals inherited from QObject | |
void | destroyed (QObject *=nullptr) |
void | objectNameChanged (const QString &objectName, QPrivateSignal) |
Signals inherited from QGraphicsWidget | |
void | geometryChanged () |
void | layoutChanged () |
Signals inherited from QGraphicsObject | |
void | parentChanged () |
void | opacityChanged () |
void | visibleChanged () |
void | enabledChanged () |
void | xChanged () |
void | yChanged () |
void | zChanged () |
void | rotationChanged () |
void | scaleChanged () |
void | childrenChanged () |
void | widthChanged () |
void | heightChanged () |
Static Public Member Functions inherited from QObject | |
static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
static QMetaObject::Connection ::type | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot) |
static QMetaObject::Connection ::type | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot) |
template<typename Func1 , typename Func2 > | |
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static bool | disconnect (const QMetaObject::Connection &) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
template<typename Func1 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
Static Public Member Functions inherited from QGraphicsWidget | |
static void | setTabOrder (QGraphicsWidget *first, QGraphicsWidget *second) |
Protected Types inherited from QGraphicsItem | |
enum | Extension { UserExtension = 0x80000000 } |
Protected Slots inherited from QGraphicsObject | |
void | updateMicroFocus () |
Properties inherited from QObject | |
QString | objectName |
the name of this object More... | |
Properties inherited from QGraphicsWidget | |
QPalette | palette |
the widget's palette More... | |
QFont | font |
the widgets' font More... | |
Qt::LayoutDirection | layoutDirection |
the layout direction for this widget. More... | |
QSizeF | size |
the size of the widget More... | |
QSizeF | minimumSize |
the minimum size of the widget More... | |
QSizeF | preferredSize |
the preferred size of the widget More... | |
QSizeF | maximumSize |
the maximum size of the widget More... | |
QSizePolicy | sizePolicy |
the size policy for the widget More... | |
Qt::FocusPolicy | focusPolicy |
the way the widget accepts keyboard focus More... | |
Qt::WindowFlags | windowFlags |
the widget's window flags More... | |
QString | windowTitle |
This property holds the window title (caption). More... | |
QRectF | geometry |
the geometry of the widget More... | |
bool | autoFillBackground |
whether the widget background is filled automatically More... | |
QGraphicsLayout * | layout |
The layout of the widget. More... | |
Properties inherited from QGraphicsObject | |
QGraphicsObject * | parent |
the parent of the item More... | |
qreal | opacity |
the opacity of the item More... | |
bool | enabled |
whether the item is enabled or not More... | |
bool | visible |
whether the item is visible or not More... | |
QPointF | pos |
the position of the item More... | |
qreal | x |
the x position of the item More... | |
qreal | y |
the y position of the item More... | |
qreal | z |
the z value of the item More... | |
qreal | rotation |
the rotation of the item in degrees. More... | |
qreal | scale |
the scale of the item. More... | |
QPointF | transformOriginPoint |
the transformation origin More... | |
Related Functions inherited from QObject | |
template< class T > T | qobject_cast (const QObject *object) |
template< typename T > T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
template< typename T > QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QObjectList | |
Related Functions inherited from QGraphicsItem | |
T | qgraphicsitem_cast (QGraphicsItem *item) |
Definition at line 45 of file tst_qcoreapplication.cpp.
Definition at line 3083 of file tst_qobject.cpp.
Definition at line 3085 of file tst_qobject.cpp.
|
inline |
|
inline |
Definition at line 58 of file tst_qgraphicsproxywidget.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 109 of file tst_qgraphicsview.cpp.
|
inline |
|
inline |
Definition at line 6468 of file tst_qwidget.cpp.
|
inline |
Definition at line 2045 of file tst_qmdiarea.cpp.
|
inlineexplicit |
Definition at line 695 of file tst_qmdisubwindow.cpp.
Definition at line 6477 of file tst_qwidget.cpp.
Definition at line 2053 of file tst_qmdiarea.cpp.
Definition at line 703 of file tst_qmdisubwindow.cpp.
Definition at line 165 of file tst_qgraphicsitem.cpp.
Definition at line 164 of file tst_qgraphicsscene.cpp.
Definition at line 115 of file tst_qgraphicsview.cpp.
Definition at line 58 of file tst_qgraphicswidget.cpp.
Definition at line 6476 of file tst_qwidget.cpp.
Definition at line 2052 of file tst_qmdiarea.cpp.
Definition at line 702 of file tst_qmdisubwindow.cpp.
|
inlineoverridevirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 51 of file tst_qcoreapplication.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 66 of file tst_qgraphicsproxywidget.cpp.
|
inlineoverridevirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 174 of file tst_qapplication.cpp.
|
inlineoverridevirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 3099 of file tst_qobject.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 6480 of file tst_qwidget.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 2056 of file tst_qmdiarea.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 706 of file tst_qmdisubwindow.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 168 of file tst_qgraphicsitem.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 167 of file tst_qgraphicsscene.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 119 of file tst_qgraphicsview.cpp.
|
inlineoverrideprotectedvirtual |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Some events, such as \l QEvent::ShortcutOverride must be explicitly accepted (by calling \l {QEvent::}{accept()} on them) in order to prevent propagation.
Reimplemented from QObject.
Definition at line 61 of file tst_qgraphicswidget.cpp.
Definition at line 3089 of file tst_qobject.cpp.
Definition at line 116 of file tst_qgraphicsview.cpp.
|
inlineoverrideprotectedvirtual |
Filters events for the item watched. event is the filtered event.
Reimplementing this function in a subclass makes it possible for the item to be used as an event filter for other items, intercepting all the events sent to those items before they are able to respond.
Reimplementations must return true to prevent further processing of a given event, ensuring that it will not be delivered to the watched item, or return false to indicate that the event should be propagated further by the event system.
Reimplemented from QGraphicsItem.
Definition at line 176 of file tst_qgraphicsitem.cpp.
|
inlineoverrideprotectedvirtual |
Filters events for the item watched. event is the filtered event.
Reimplementing this function in a subclass makes it possible for the item to be used as an event filter for other items, intercepting all the events sent to those items before they are able to respond.
Reimplementations must return true to prevent further processing of a given event, ensuring that it will not be delivered to the watched item, or return false to indicate that the event should be propagated further by the event system.
Reimplemented from QGraphicsItem.
Definition at line 175 of file tst_qgraphicsscene.cpp.
Definition at line 6475 of file tst_qwidget.cpp.
Definition at line 184 of file tst_qgraphicsitem.cpp.
QMap<QEvent::Type, int> EventSpy< T >::counts |
Definition at line 63 of file tst_qgraphicsproxywidget.cpp.
Definition at line 50 of file tst_qcoreapplication.cpp.
|
protected |
Definition at line 185 of file tst_qgraphicsitem.cpp.
|
protected |
Definition at line 128 of file tst_qgraphicsview.cpp.