![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
| QBoxLayoutPrivate () | |
| ~QBoxLayoutPrivate () | |
| void | setDirty () |
| void | deleteAll () |
| void | setupGeom () |
| void | calcHfw (int) |
| void | effectiveMargins (int *leftleft, int *toptop, int *rightright, int *bottombottom) const |
| QLayoutItem * | replaceAt (int indexindex, QLayoutItem *) override |
| int | validateIndex (int indexindex) const |
| QBoxLayoutPrivate () | |
| ~QBoxLayoutPrivate () | |
| void | setDirty () |
| void | deleteAll () |
| void | setupGeom () |
| void | calcHfw (int) |
| void | effectiveMargins (int *leftleft, int *toptop, int *rightright, int *bottombottom) const |
| QLayoutItem * | replaceAt (int indexindex, QLayoutItem *) override |
| int | validateIndex (int indexindex) const |
| Public Member Functions inherited from QLayoutPrivate | |
| 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. | |
| 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 |
Additional Inherited Members | |
| Public Types inherited from QLayoutPrivate | |
| 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> |
| Static Public Member Functions inherited from QLayoutPrivate | |
| 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 inherited from QLayoutPrivate | |
| static QWidgetItemFactoryMethod | widgetItemFactoryMethod = nullptr |
| static QSpacerItemFactoryMethod | spacerItemFactoryMethod = nullptr |
Definition at line 56 of file qboxlayout.cpp.
|
inline |
Definition at line 60 of file qboxlayout.cpp.
| QBoxLayoutPrivate::~QBoxLayoutPrivate | ( | ) |
Definition at line 95 of file qboxlayout.cpp.
|
inline |
Definition at line 60 of file qboxlayout.cpp.
| QBoxLayoutPrivate::~QBoxLayoutPrivate | ( | ) |
| void QBoxLayoutPrivate::calcHfw | ( | int | w | ) |
Definition at line 389 of file qboxlayout.cpp.
References QBoxLayoutItem::hfw(), hfwHeight, hfwMinHeight, hfwWidth, and QBoxLayoutItem::mhfw().
| void QBoxLayoutPrivate::calcHfw | ( | int | ) |
|
inline |
Definition at line 85 of file qboxlayout.cpp.
|
inline |
Definition at line 85 of file qboxlayout.cpp.
| void QBoxLayoutPrivate::effectiveMargins | ( | int * | left, |
| int * | top, | ||
| int * | right, | ||
| int * | bottom ) const |
The purpose of this function is to make sure that widgets are not laid out outside its layout. E.g. the layoutItemRect margins are only meant to take of the surrounding margins/spacings. However, if the margin is 0, it can easily cover the area of a widget above it.
Definition at line 109 of file qboxlayout.cpp.
References bottomMargin, QBoxLayoutItem::item, leftMargin, rightMargin, and topMargin.
Referenced by setupGeom().
| void QBoxLayoutPrivate::effectiveMargins | ( | int * | left, |
| int * | top, | ||
| int * | right, | ||
| int * | bottom ) const |
|
overridevirtual |
Reimplemented from QLayoutPrivate.
Definition at line 420 of file qboxlayout.cpp.
References QBoxLayoutItem::item.
|
overridevirtual |
Reimplemented from QLayoutPrivate.
|
inline |
Definition at line 63 of file qboxlayout.cpp.
|
inline |
Definition at line 63 of file qboxlayout.cpp.
| void QBoxLayoutPrivate::setupGeom | ( | ) |
Definition at line 242 of file qboxlayout.cpp.
References effectiveMargins(), QBoxLayoutItem::hStretch(), QBoxLayoutItem::item, QBoxLayoutItem::stretch, and QBoxLayoutItem::vStretch().
| void QBoxLayoutPrivate::setupGeom | ( | ) |
| int QBoxLayoutPrivate::validateIndex | ( | int | index | ) | const |
Definition at line 435 of file qboxlayout.cpp.
| int QBoxLayoutPrivate::validateIndex | ( | int | index | ) | const |
| int QBoxLayoutPrivate::bottomMargin |
Definition at line 78 of file qboxlayout.cpp.
Referenced by effectiveMargins().
| QBoxLayout::Direction QBoxLayoutPrivate::dir |
Definition at line 82 of file qboxlayout.cpp.
| uint QBoxLayoutPrivate::dirty |
Definition at line 81 of file qboxlayout.cpp.
| Qt::Orientations QBoxLayoutPrivate::expanding |
Definition at line 79 of file qboxlayout.cpp.
| QList< QLayoutStruct > QBoxLayoutPrivate::geomArray |
Definition at line 71 of file qboxlayout.cpp.
| uint QBoxLayoutPrivate::hasHfw |
Definition at line 80 of file qboxlayout.cpp.
| int QBoxLayoutPrivate::hfwHeight |
Definition at line 73 of file qboxlayout.cpp.
Referenced by calcHfw(), and setDirty().
| int QBoxLayoutPrivate::hfwMinHeight |
Definition at line 74 of file qboxlayout.cpp.
Referenced by calcHfw().
| int QBoxLayoutPrivate::hfwWidth |
Definition at line 72 of file qboxlayout.cpp.
Referenced by calcHfw(), and setDirty().
| int QBoxLayoutPrivate::leftMargin |
Definition at line 78 of file qboxlayout.cpp.
Referenced by effectiveMargins().
| QList< QBoxLayoutItem * > QBoxLayoutPrivate::list |
Definition at line 70 of file qboxlayout.cpp.
| QSize QBoxLayoutPrivate::maxSize |
Definition at line 77 of file qboxlayout.cpp.
| QSize QBoxLayoutPrivate::minSize |
Definition at line 76 of file qboxlayout.cpp.
| int QBoxLayoutPrivate::rightMargin |
Definition at line 78 of file qboxlayout.cpp.
Referenced by effectiveMargins().
| QSize QBoxLayoutPrivate::sizeHint |
Definition at line 75 of file qboxlayout.cpp.
| int QBoxLayoutPrivate::spacing |
Definition at line 83 of file qboxlayout.cpp.
| int QBoxLayoutPrivate::topMargin |
Definition at line 78 of file qboxlayout.cpp.
Referenced by effectiveMargins().