![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtWidgets More...
#include <qlayout_p.h>
Public Types | |
| typedef QWidgetItem *(*) | QWidgetItemFactoryMethod(const QLayout *layout, QWidget *widget) |
| typedef QSpacerItem *(*) | QSpacerItemFactoryMethod(const QLayout *layout, int w, int h, QSizePolicy::Policy hPolicy, QSizePolicy::Policy) |
| Public Types inherited from QObjectPrivate | |
| typedef void(*) | StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Public Member Functions | |
| QLayoutPrivate () | |
| void | getMargin (int *resultresult, int userMargin, QStyle::PixelMetric pm) const |
| void | doResize () |
| void | reparentChildWidgets (QWidget *mw) |
| bool | checkWidget (QWidget *widget) const |
Returns true if the widget can be added to the layout; otherwise returns false. | |
| bool | checkLayout (QLayout *otherLayout) const |
Returns true if the otherLayout can be added to the layout; otherwise returns false. | |
| virtual QLayoutItem * | replaceAt (int, QLayoutItem *) |
| Public Member Functions inherited from QObjectPrivate | |
| void | ensureExtraData () |
| void | setObjectNameWithoutBindings (const QString &namename) |
| QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion) | |
| virtual | ~QObjectPrivate () |
| void | deleteChildren () |
| void | clearBindingStorage () |
| void | setParent_helper (QObject *) |
| void | moveToThread_helper () |
| void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status) |
| QObjectList | receiverList (const char *signal) const |
| void | ensureConnectionData () |
| void | addConnection (int signal, Connection *cc) |
| int | signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const |
| bool | isSignalConnected (uint signalIdx, bool checkDeclarative=true) const |
| bool | maybeSignalConnected (uint signalIndex) const |
| bool | isDeclarativeSignalConnected (uint signalIdx) const |
| void | connectNotify (const QMetaMethod &signal) |
| void | disconnectNotify (const QMetaMethod &signal) |
| void | reinitBindingStorageAfterThreadMove () |
| virtual std::string | flagsForDumping () const |
| virtual void | writeToDebugStream (QDebug &) const |
| QtPrivate::QPropertyAdaptorSlotObject * | getPropertyAdaptorSlotObject (const QMetaProperty &property) |
| Public Member Functions inherited from QObjectData | |
| QObjectData ()=default | |
| virtual | ~QObjectData ()=0 |
| const QMetaObject * | dynamicMetaObject () const |
Static Public Member Functions | |
| static QWidgetItem * | createWidgetItem (const QLayout *layout, QWidget *widget) |
| static QSpacerItem * | createSpacerItem (const QLayout *layout, int ww, int hh, QSizePolicy::Policy hPolicy=QSizePolicy::Minimum, QSizePolicy::Policy vPolicy=QSizePolicy::Minimum) |
| Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *cc) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| static void | deleteInOwnThread (QObject *objectobject) |
| 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 typetype=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 typetype, const int *typestypes, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType typetype) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType typetype) |
| 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 | |
| static QWidgetItemFactoryMethod | widgetItemFactoryMethod = nullptr |
| static QSpacerItemFactoryMethod | spacerItemFactoryMethod = nullptr |
\inmodule QtWidgets
Definition at line 30 of file qlayout_p.h.
| typedef QSpacerItem *(*) QLayoutPrivate::QSpacerItemFactoryMethod(const QLayout *layout, int w, int h, QSizePolicy::Policy hPolicy, QSizePolicy::Policy) |
Definition at line 36 of file qlayout_p.h.
| typedef QWidgetItem *(*) QLayoutPrivate::QWidgetItemFactoryMethod(const QLayout *layout, QWidget *widget) |
Definition at line 35 of file qlayout_p.h.
| QLayoutPrivate::QLayoutPrivate | ( | ) |
Definition at line 110 of file qlayout.cpp.
| bool QLayoutPrivate::checkLayout | ( | QLayout * | otherLayout | ) | const |
Returns true if the otherLayout can be added to the layout; otherwise returns false.
Definition at line 804 of file qlayout.cpp.
| bool QLayoutPrivate::checkWidget | ( | QWidget * | widget | ) | const |
Returns true if the widget can be added to the layout; otherwise returns false.
Definition at line 783 of file qlayout.cpp.
|
static |
Definition at line 147 of file qlayout.cpp.
|
static |
Definition at line 139 of file qlayout.cpp.
| void QLayoutPrivate::doResize | ( | ) |
Definition at line 500 of file qlayout.cpp.
| void QLayoutPrivate::getMargin | ( | int * | result, |
| int | userMargin, | ||
| QStyle::PixelMetric | pm ) const |
Definition at line 117 of file qlayout.cpp.
Definition at line 743 of file qlayout.cpp.
|
inlinevirtual |
Reimplemented in QBoxLayoutPrivate, QBoxLayoutPrivate, QFormLayoutPrivate, QFormLayoutPrivate, QGridLayoutPrivate, QGridLayoutPrivate, QStackedLayoutPrivate, and QStackedLayoutPrivate.
Definition at line 48 of file qlayout_p.h.
| uint QLayoutPrivate::activated |
Definition at line 60 of file qlayout_p.h.
| uint QLayoutPrivate::autoNewChild |
Definition at line 61 of file qlayout_p.h.
| uint QLayoutPrivate::enabled |
Definition at line 59 of file qlayout_p.h.
| QLayout::SizeConstraint QLayoutPrivate::horizontalConstraint |
Definition at line 62 of file qlayout_p.h.
| int QLayoutPrivate::insideSpacing |
Definition at line 53 of file qlayout_p.h.
| QWidget* QLayoutPrivate::menubar |
Definition at line 65 of file qlayout_p.h.
| QRect QLayoutPrivate::rect |
Definition at line 64 of file qlayout_p.h.
|
static |
Definition at line 51 of file qlayout_p.h.
| uint QLayoutPrivate::topLevel |
Definition at line 58 of file qlayout_p.h.
| int QLayoutPrivate::userBottomMargin |
Definition at line 57 of file qlayout_p.h.
| int QLayoutPrivate::userLeftMargin |
Definition at line 54 of file qlayout_p.h.
| int QLayoutPrivate::userRightMargin |
Definition at line 56 of file qlayout_p.h.
| int QLayoutPrivate::userTopMargin |
Definition at line 55 of file qlayout_p.h.
| QLayout::SizeConstraint QLayoutPrivate::verticalConstraint |
Definition at line 63 of file qlayout_p.h.
|
static |
Definition at line 50 of file qlayout_p.h.