![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for QToolButtonPrivate:
Collaboration diagram for QToolButtonPrivate:Public Types | |
| enum | { NoButtonPressed =0 , MenuButtonPressed =1 , ToolButtonPressed =2 } |
Public Types inherited from QWidgetPrivate | |
| enum | DrawWidgetFlag { DrawAsRoot = 0x01 , DrawPaintOnScreen = 0x02 , DrawRecursive = 0x04 , DrawInvisible = 0x08 , DontSubtractOpaqueChildren = 0x10 , DontDrawOpaqueChildren = 0x20 , DontDrawNativeChildren = 0x40 , DontSetCompositionMode = 0x80 , UseEffectRegionBounds = 0x100 } |
| enum | Direction { DirectionNorth = 0x01 , DirectionEast = 0x10 , DirectionSouth = 0x02 , DirectionWest = 0x20 } |
| enum class | WindowHandleMode { Direct , Closest , TopLevel } |
| enum | CloseMode { CloseNoEvent , CloseWithEvent , CloseWithSpontaneousEvent } |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Additional Inherited Members | |
Static Public Member Functions inherited from QWidgetPrivate | |
| static QWidgetPrivate * | get (QWidget *w) |
| static const QWidgetPrivate * | get (const QWidget *w) |
| static void | checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight) |
| static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr) |
| static QWidget * | parentGraphicsView (const QWidget *widget) |
| static QRect | screenGeometry (const QWidget *widget) |
| static QRect | availableScreenGeometry (const QWidget *widget) |
| static QScreen * | screen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
| static QRect | screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
| static QRect | availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
| static void | sendComposeStatus (QWidget *w, bool end) |
| static void | setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Static Public Attributes inherited from QWidgetPrivate | |
| static QWidgetMapper * | mapper = nullptr |
| static QWidgetSet * | allWidgets = nullptr |
| static int | instanceCounter = 0 |
| static int | maxInstances = 0 |
Definition at line 36 of file qtoolbutton.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| NoButtonPressed | |
| MenuButtonPressed | |
| ToolButtonPressed | |
Definition at line 59 of file qtoolbutton.cpp.
| void QToolButtonPrivate::_q_actionTriggered | ( | ) |
Definition at line 483 of file qtoolbutton.cpp.
References emit.
| void QToolButtonPrivate::init | ( | ) |
Definition at line 167 of file qtoolbutton.cpp.
References arrowType, autoRaise, buttonPressed, QObject::connect(), defaultAction, delay, QToolButton::DelayedPopup, QSizePolicy::Fixed, hoverControl, menuButtonDown, Qt::NoArrow, NoButtonPressed, QObjectData::parent, popupMode, QAbstractButtonPrivate::pressed, QStyle::SC_None, QStyle::SE_ToolButtonLayoutItem, QWidgetPrivate::setLayoutItemMargins(), QStyle::SH_ToolButton_PopupDelay, SIGNAL, SLOT, Qt::TabFocus, QSizePolicy::ToolButton, Qt::ToolButtonIconOnly, and toolButtonStyle.
Here is the call graph for this function:| QStyle::SubControl QToolButtonPrivate::newHoverControl | ( | const QPoint & | pos | ) |
Definition at line 455 of file qtoolbutton.cpp.
References QStyle::CC_ToolButton, hoverControl, hoverRect, opt, pos, QStyle::SC_All, and QStyle::SC_None.
Referenced by updateHoverControl().
Here is the caller graph for this function:| bool QToolButtonPrivate::updateHoverControl | ( | const QPoint & | pos | ) |
Definition at line 469 of file qtoolbutton.cpp.
References hoverControl, hoverRect, newHoverControl(), pos, and Qt::WA_Hover.
Here is the call graph for this function:| Qt::ArrowType QToolButtonPrivate::arrowType |
Definition at line 56 of file qtoolbutton.cpp.
Referenced by init().
| uint QToolButtonPrivate::autoRaise |
Definition at line 62 of file qtoolbutton.cpp.
Referenced by init().
| uint QToolButtonPrivate::buttonPressed |
Definition at line 60 of file qtoolbutton.cpp.
Referenced by init().
| QAction* QToolButtonPrivate::defaultAction |
Definition at line 64 of file qtoolbutton.cpp.
Referenced by init().
| int QToolButtonPrivate::delay |
Definition at line 55 of file qtoolbutton.cpp.
Referenced by init().
| QStyle::SubControl QToolButtonPrivate::hoverControl |
Definition at line 51 of file qtoolbutton.cpp.
Referenced by init(), newHoverControl(), and updateHoverControl().
| QRect QToolButtonPrivate::hoverRect |
Definition at line 52 of file qtoolbutton.cpp.
Referenced by newHoverControl(), and updateHoverControl().
Definition at line 53 of file qtoolbutton.cpp.
| uint QToolButtonPrivate::menuButtonDown |
Definition at line 61 of file qtoolbutton.cpp.
Referenced by init().
| QToolButton::ToolButtonPopupMode QToolButtonPrivate::popupMode |
Definition at line 58 of file qtoolbutton.cpp.
Referenced by init().
| QBasicTimer QToolButtonPrivate::popupTimer |
Definition at line 54 of file qtoolbutton.cpp.
| uint QToolButtonPrivate::repeat |
Definition at line 63 of file qtoolbutton.cpp.
| Qt::ToolButtonStyle QToolButtonPrivate::toolButtonStyle |
Definition at line 57 of file qtoolbutton.cpp.
Referenced by init().