![]() |
Qt 6.x
The Qt SDK
|
Classes | |
struct | Page |
Public Types | |
typedef std::vector< std::unique_ptr< Page > > | PageList |
![]() | |
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 } |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Additional Inherited Members | |
![]() | |
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 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 QWidgetMapper * | mapper = nullptr |
static QWidgetSet * | allWidgets = nullptr |
static int | instanceCounter = 0 |
static int | maxInstances = 0 |
Definition at line 53 of file qtoolbox.cpp.
typedef std::vector<std::unique_ptr<Page> > QToolBoxPrivate::PageList |
Definition at line 77 of file qtoolbox.cpp.
|
inline |
Definition at line 79 of file qtoolbox.cpp.
void QToolBoxPrivate::_q_buttonClicked | ( | ) |
Definition at line 359 of file qtoolbox.cpp.
Definition at line 423 of file qtoolbox.cpp.
References currentPage, emit, layout, page, pageEquals, pageList, and QLayout::removeWidget().
const QToolBoxPrivate::Page * QToolBoxPrivate::page | ( | const QObject * | widget | ) | const |
Definition at line 98 of file qtoolbox.cpp.
QToolBoxPrivate::Page * QToolBoxPrivate::page | ( | int | index | ) |
Definition at line 110 of file qtoolbox.cpp.
References pageList.
const QToolBoxPrivate::Page * QToolBoxPrivate::page | ( | int | index | ) | const |
Definition at line 117 of file qtoolbox.cpp.
References pageList.
void QToolBoxPrivate::relayout | ( | ) |
Definition at line 405 of file qtoolbox.cpp.
References QBoxLayout::addWidget(), layout, page, pageList, and QLayout::setContentsMargins().
void QToolBoxPrivate::updateTabs | ( | ) |
Definition at line 124 of file qtoolbox.cpp.
References QWidget::backgroundRole(), QToolBoxPrivate::Page::button, QPalette::color(), currentPage, page, pageList, QWidget::palette, QWidget::setBackgroundRole(), QPalette::setColor(), QToolBoxButton::setIndex(), QWidget::setPalette(), QWidget::update(), and QPalette::Window.
Page* QToolBoxPrivate::currentPage |
Definition at line 95 of file qtoolbox.cpp.
Referenced by _q_widgetDestroyed(), and updateTabs().
QVBoxLayout* QToolBoxPrivate::layout |
Definition at line 94 of file qtoolbox.cpp.
Referenced by _q_widgetDestroyed(), and relayout().
PageList QToolBoxPrivate::pageList |
Definition at line 93 of file qtoolbox.cpp.
Referenced by _q_buttonClicked(), _q_widgetDestroyed(), page(), page(), page(), relayout(), and updateTabs().