![]() |
Qt 6.x
The Qt SDK
|
#include <qdockarealayout_p.h>
Collaboration diagram for QDockAreaLayoutItem:Public Types | |
| enum | ItemFlags { NoFlags = 0 , GapItem = 1 , KeepSize = 2 } |
Public Member Functions | |
| QDockAreaLayoutItem (QLayoutItem *_widgetItem=nullptr) | |
| QDockAreaLayoutItem (QDockAreaLayoutInfo *_subinfo) | |
| QDockAreaLayoutItem (QPlaceHolderItem *_placeHolderItem) | |
| QDockAreaLayoutItem (const QDockAreaLayoutItem &other) | |
| ~QDockAreaLayoutItem () | |
| QDockAreaLayoutItem & | operator= (const QDockAreaLayoutItem &other) |
| bool | skip () const |
| QSize | minimumSize () const |
| QSize | maximumSize () const |
| QSize | sizeHint () const |
| bool | expansive (Qt::Orientation o) const |
| bool | hasFixedSize (Qt::Orientation o) const |
Public Attributes | |
| QLayoutItem * | widgetItem |
| QDockAreaLayoutInfo * | subinfo |
| QPlaceHolderItem * | placeHolderItem |
| int | pos |
| int | size |
| uint | flags |
Friends | |
| Q_AUTOTEST_EXPORT QDebug | operator<< (QDebug dbg, const QDockAreaLayoutItem &item) |
Definition at line 51 of file qdockarealayout_p.h.
| Enumerator | |
|---|---|
| NoFlags | |
| GapItem | |
| KeepSize | |
Definition at line 53 of file qdockarealayout_p.h.
|
explicit |
Definition at line 51 of file qdockarealayout.cpp.
|
explicit |
Definition at line 56 of file qdockarealayout.cpp.
|
explicit |
Definition at line 61 of file qdockarealayout.cpp.
| QDockAreaLayoutItem::QDockAreaLayoutItem | ( | const QDockAreaLayoutItem & | other | ) |
Definition at line 66 of file qdockarealayout.cpp.
References other(), placeHolderItem, and subinfo.
Here is the call graph for this function:| QDockAreaLayoutItem::~QDockAreaLayoutItem | ( | ) |
Definition at line 76 of file qdockarealayout.cpp.
References placeHolderItem, and subinfo.
| bool QDockAreaLayoutItem::expansive | ( | Qt::Orientation | o | ) | const |
Definition at line 126 of file qdockarealayout.cpp.
References QLayoutItem::expandingDirections(), QDockAreaLayoutInfo::expansive(), GapItem, o, placeHolderItem, subinfo, and widgetItem.
Referenced by QDockAreaLayoutInfo::expansive().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QDockAreaLayoutItem::hasFixedSize | ( | Qt::Orientation | o | ) | const |
Definition at line 121 of file qdockarealayout.cpp.
References maximumSize(), minimumSize(), o, and perp().
Referenced by QDockAreaLayoutInfo::fitItems(), and QDockAreaLayoutInfo::sizeHint().
Here is the call graph for this function:
Here is the caller graph for this function:| QSize QDockAreaLayoutItem::maximumSize | ( | ) | const |
Definition at line 112 of file qdockarealayout.cpp.
References QWidget::contentsMargins(), QSize::grownBy(), QDockAreaLayoutInfo::maximumSize(), QLayoutItem::maximumSize(), QWIDGETSIZE_MAX, subinfo, QLayoutItem::widget(), and widgetItem.
Referenced by hasFixedSize().
Here is the call graph for this function:
Here is the caller graph for this function:| QSize QDockAreaLayoutItem::minimumSize | ( | ) | const |
Definition at line 103 of file qdockarealayout.cpp.
References QWidget::contentsMargins(), QSize::grownBy(), QDockAreaLayoutInfo::minimumSize(), QLayoutItem::minimumSize(), subinfo, QLayoutItem::widget(), and widgetItem.
Referenced by hasFixedSize(), and QDockAreaLayoutInfo::insertGap().
Here is the call graph for this function:
Here is the caller graph for this function:| QDockAreaLayoutItem & QDockAreaLayoutItem::operator= | ( | const QDockAreaLayoutItem & | other | ) |
Definition at line 149 of file qdockarealayout.cpp.
References other(), placeHolderItem, pos, subinfo, and widgetItem.
Here is the call graph for this function:| QSize QDockAreaLayoutItem::sizeHint | ( | ) | const |
Definition at line 137 of file qdockarealayout.cpp.
References QWidget::contentsMargins(), QSize::grownBy(), placeHolderItem, QDockAreaLayoutInfo::sizeHint(), QLayoutItem::sizeHint(), subinfo, QLayoutItem::widget(), and widgetItem.
Here is the call graph for this function:| bool QDockAreaLayoutItem::skip | ( | ) | const |
Definition at line 82 of file qdockarealayout.cpp.
References QList< T >::at(), GapItem, i, QLayoutItem::isEmpty(), QDockAreaLayoutInfo::item_list, placeHolderItem, QList< T >::size(), skip(), subinfo, and widgetItem.
Referenced by QDockAreaLayout::addDockWidget(), QDockAreaLayoutInfo::next(), QDockAreaLayoutInfo::prev(), and skip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 175 of file qdockarealayout.cpp.
| uint QDockAreaLayoutItem::flags |
Definition at line 75 of file qdockarealayout_p.h.
Referenced by QDockAreaLayoutInfo::findSeparator(), QDockAreaLayoutInfo::fitItems(), QDockAreaLayoutInfo::insertGap(), QDockAreaLayoutInfo::itemRect(), QDockAreaLayoutInfo::paintSeparators(), QDockAreaLayoutInfo::sizeHint(), and QDockAreaLayoutInfo::unplug().
| QPlaceHolderItem* QDockAreaLayoutItem::placeHolderItem |
Definition at line 72 of file qdockarealayout_p.h.
Referenced by QDockAreaLayoutItem(), ~QDockAreaLayoutItem(), expansive(), operator=(), sizeHint(), and skip().
| int QDockAreaLayoutItem::pos |
Definition at line 73 of file qdockarealayout_p.h.
Referenced by QDockAreaLayoutInfo::insertGap(), and operator=().
| int QDockAreaLayoutItem::size |
Definition at line 74 of file qdockarealayout_p.h.
Referenced by QDockAreaLayoutInfo::insertGap().
| QDockAreaLayoutInfo* QDockAreaLayoutItem::subinfo |
Definition at line 71 of file qdockarealayout_p.h.
Referenced by QDockAreaLayoutItem(), ~QDockAreaLayoutItem(), expansive(), maximumSize(), minimumSize(), operator=(), QDockAreaLayoutInfo::restoreState(), QDockAreaLayoutInfo::separatorRegion(), sizeHint(), and skip().
| QLayoutItem* QDockAreaLayoutItem::widgetItem |
Definition at line 70 of file qdockarealayout_p.h.
Referenced by expansive(), QDockAreaLayoutInfo::insertGap(), maximumSize(), minimumSize(), operator=(), sizeHint(), skip(), QDockAreaLayoutInfo::split(), and QMainWindowLayout::unplug().