![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdockarealayout_p.h>
Public Types | |
| enum | TabMode { NoTabs , AllowTabs , ForceTabs } |
Public Member Functions | |
| QDockAreaLayoutInfo () | |
| QDockAreaLayoutInfo (const int *_sep, QInternal::DockPosition _dockPos, Qt::Orientation _o, int tbhape, QMainWindow *window) | |
| QSize | minimumSize () const |
| QSize | maximumSize () const |
| QSize | sizeHint () const |
| QSize | size () const |
| bool | insertGap (const QList< int > &pathpath, QLayoutItem *dockWidgetItem) |
| QLayoutItem * | plug (const QList< int > &pathpath) |
| QLayoutItem * | unplug (const QList< int > &pathpath) |
| QList< int > | gapIndex (const QPoint &pos, bool nestingEnabled, TabMode tabMode) const |
| void | remove (const QList< int > &pathpath) |
| void | remove (QWidget *widget) |
| void | unnest (int indexindex) |
| void | split (int indexindex, Qt::Orientation orientation, QLayoutItem *dockWidgetItem) |
| QDockAreaLayoutItem & | item (const QList< int > &pathpath) |
| QDockAreaLayoutInfo * | info (const QList< int > &pathpath) |
| QDockAreaLayoutInfo * | info (QWidget *widget) |
| void | saveState (QDataStream &streamstream) const |
| bool | restoreState (QDataStream &streamstream, QList< QDockWidget * > &widgets, QInternal::CallMode, int depthdepth=0) |
| void | fitItems () |
| bool | expansive (Qt::Orientation o) const |
| int | changeSize (int indexindex, int sizesize, bool below) |
| QRect | itemRect (int indexindex, bool isGap=false) const |
| QRect | itemRect (const QList< int > &pathpath) const |
| QRect | separatorRect (int indexindex) const |
| QRect | separatorRect (const QList< int > &pathpath) const |
| void | clear () |
| bool | isEmpty () const |
| bool | hasGapItem (const QList< int > &pathpath) const |
| bool | onlyHasPlaceholders () const |
| bool | hasFixedSize () const |
| QList< int > | findSeparator (const QPoint &pos) const |
| int | next (int idx) const |
| int | prev (int idx) const |
| QList< int > | indexOf (const QWidget *widget) const |
| QList< int > | indexOfPlaceHolder (const QString &objectName) const |
| std::unique_ptr< QLayoutItem > | takeWidgetItem (QWidget *widget) |
| QDockWidget * | apply (QWidgetAnimator::AnimationRule rule) |
| void | paintSeparators (QPainter *pp, QWidget *widget, const QRegion &clip, const QPoint &mouse) const |
| QRegion | separatorRegion () const |
| int | separatorMove (int indexindex, int delta) |
| int | separatorMove (const QList< int > &separator, const QPoint &origin, const QPoint &dest) |
| QLayoutItem * | itemAt (int *xx, int indexindex) const |
| QLayoutItem * | takeAt (int *xx, int indexindex) |
| void | add (QWidget *widget) |
| void | deleteAllLayoutItems () |
| QMainWindowLayout * | mainWindowLayout () const |
Public Attributes | |
| const int * | sep |
| QList< QWidget * > | separatorWidgets |
| QInternal::DockPosition | dockPos |
| Qt::Orientation | o |
| QRect | rect |
| QMainWindow * | mainWindow |
| QList< QDockAreaLayoutItem > | item_list |
Definition at line 99 of file qdockarealayout_p.h.
| Enumerator | |
|---|---|
| NoTabs | |
| AllowTabs | |
| ForceTabs | |
Definition at line 114 of file qdockarealayout_p.h.
| QDockAreaLayoutInfo::QDockAreaLayoutInfo | ( | ) |
Definition at line 257 of file qdockarealayout.cpp.
| QDockAreaLayoutInfo::QDockAreaLayoutInfo | ( | const int * | _sep, |
| QInternal::DockPosition | _dockPos, | ||
| Qt::Orientation | _o, | ||
| int | tbhape, | ||
| QMainWindow * | window ) |
Definition at line 265 of file qdockarealayout.cpp.
Definition at line 1838 of file qdockarealayout.cpp.
| QDockWidget * QDockAreaLayoutInfo::apply | ( | QWidgetAnimator::AnimationRule | rule | ) |
Applies the layout and returns the activated QDockWidget or nullptr.
Definition at line 1560 of file qdockarealayout.cpp.
| int QDockAreaLayoutInfo::changeSize | ( | int | index, |
| int | size, | ||
| bool | below ) |
| void QDockAreaLayoutInfo::clear | ( | ) |
Definition at line 283 of file qdockarealayout.cpp.
| void QDockAreaLayoutInfo::deleteAllLayoutItems | ( | ) |
Definition at line 1857 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::expansive | ( | Qt::Orientation | o | ) | const |
Definition at line 506 of file qdockarealayout.cpp.
Definition at line 1443 of file qdockarealayout.cpp.
| void QDockAreaLayoutInfo::fitItems | ( | ) |
Definition at line 575 of file qdockarealayout.cpp.
| QList< int > QDockAreaLayoutInfo::gapIndex | ( | const QPoint & | pos, |
| bool | nestingEnabled, | ||
| TabMode | tabMode ) const |
Definition at line 784 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::hasFixedSize | ( | ) | const |
Definition at line 1552 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::hasGapItem | ( | const QList< int > & | path | ) | const |
Definition at line 1171 of file qdockarealayout.cpp.
Definition at line 1510 of file qdockarealayout.cpp.
Definition at line 1486 of file qdockarealayout.cpp.
| QDockAreaLayoutInfo * QDockAreaLayoutInfo::info | ( | const QList< int > & | path | ) |
Definition at line 1340 of file qdockarealayout.cpp.
| QDockAreaLayoutInfo * QDockAreaLayoutInfo::info | ( | QWidget * | widget | ) |
Definition at line 1316 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::insertGap | ( | const QList< int > & | path, |
| QLayoutItem * | dockWidgetItem ) |
Definition at line 1186 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::isEmpty | ( | ) | const |
Definition at line 293 of file qdockarealayout.cpp.
| QDockAreaLayoutItem & QDockAreaLayoutInfo::item | ( | const QList< int > & | path | ) |
Definition at line 1779 of file qdockarealayout.cpp.
| QLayoutItem * QDockAreaLayoutInfo::itemAt | ( | int * | x, |
| int | index ) const |
Definition at line 1791 of file qdockarealayout.cpp.
Definition at line 1397 of file qdockarealayout.cpp.
| QRect QDockAreaLayoutInfo::itemRect | ( | int | index, |
| bool | isGap = false ) const |
Definition at line 1352 of file qdockarealayout.cpp.
| QMainWindowLayout * QDockAreaLayoutInfo::mainWindowLayout | ( | ) | const |
Definition at line 1545 of file qdockarealayout.cpp.
| QSize QDockAreaLayoutInfo::maximumSize | ( | ) | const |
Definition at line 367 of file qdockarealayout.cpp.
| QSize QDockAreaLayoutInfo::minimumSize | ( | ) | const |
Definition at line 308 of file qdockarealayout.cpp.
| int QDockAreaLayoutInfo::next | ( | int | idx | ) | const |
Definition at line 1722 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::onlyHasPlaceholders | ( | ) | const |
Definition at line 298 of file qdockarealayout.cpp.
| void QDockAreaLayoutInfo::paintSeparators | ( | QPainter * | p, |
| QWidget * | widget, | ||
| const QRegion & | clip, | ||
| const QPoint & | mouse ) const |
Definition at line 1687 of file qdockarealayout.cpp.
| QLayoutItem * QDockAreaLayoutInfo::plug | ( | const QList< int > & | path | ) |
Definition at line 1067 of file qdockarealayout.cpp.
| int QDockAreaLayoutInfo::prev | ( | int | idx | ) | const |
Definition at line 1731 of file qdockarealayout.cpp.
Definition at line 1043 of file qdockarealayout.cpp.
Definition at line 1059 of file qdockarealayout.cpp.
| bool QDockAreaLayoutInfo::restoreState | ( | QDataStream & | stream, |
| QList< QDockWidget * > & | widgets, | ||
| QInternal::CallMode | callMode, | ||
| int | depth = 0 ) |
Definition at line 1976 of file qdockarealayout.cpp.
| void QDockAreaLayoutInfo::saveState | ( | QDataStream & | stream | ) | const |
Definition at line 1870 of file qdockarealayout.cpp.
| int QDockAreaLayoutInfo::separatorMove | ( | const QList< int > & | separator, |
| const QPoint & | origin, | ||
| const QPoint & | dest ) |
Definition at line 3461 of file qdockarealayout.cpp.
| int QDockAreaLayoutInfo::separatorMove | ( | int | index, |
| int | delta ) |
Definition at line 973 of file qdockarealayout.cpp.
Definition at line 1430 of file qdockarealayout.cpp.
| QRect QDockAreaLayoutInfo::separatorRect | ( | int | index | ) | const |
Definition at line 1411 of file qdockarealayout.cpp.
| QRegion QDockAreaLayoutInfo::separatorRegion | ( | ) | const |
Definition at line 1657 of file qdockarealayout.cpp.
| QSize QDockAreaLayoutInfo::size | ( | ) | const |
Definition at line 278 of file qdockarealayout.cpp.
| QSize QDockAreaLayoutInfo::sizeHint | ( | ) | const |
Definition at line 434 of file qdockarealayout.cpp.
| void QDockAreaLayoutInfo::split | ( | int | index, |
| Qt::Orientation | orientation, | ||
| QLayoutItem * | dockWidgetItem ) |
Definition at line 1761 of file qdockarealayout.cpp.
| QLayoutItem * QDockAreaLayoutInfo::takeAt | ( | int * | x, |
| int | index ) |
Definition at line 1808 of file qdockarealayout.cpp.
| std::unique_ptr< QLayoutItem > QDockAreaLayoutInfo::takeWidgetItem | ( | QWidget * | widget | ) |
Definition at line 1537 of file qdockarealayout.cpp.
| void QDockAreaLayoutInfo::unnest | ( | int | index | ) |
Definition at line 1017 of file qdockarealayout.cpp.
| QLayoutItem * QDockAreaLayoutInfo::unplug | ( | const QList< int > & | path | ) |
Definition at line 1089 of file qdockarealayout.cpp.
| QInternal::DockPosition QDockAreaLayoutInfo::dockPos |
Definition at line 170 of file qdockarealayout_p.h.
| QList<QDockAreaLayoutItem> QDockAreaLayoutInfo::item_list |
Definition at line 174 of file qdockarealayout_p.h.
| QMainWindow* QDockAreaLayoutInfo::mainWindow |
Definition at line 173 of file qdockarealayout_p.h.
| Qt::Orientation QDockAreaLayoutInfo::o |
Definition at line 171 of file qdockarealayout_p.h.
| QRect QDockAreaLayoutInfo::rect |
Definition at line 172 of file qdockarealayout_p.h.
| const int* QDockAreaLayoutInfo::sep |
Definition at line 168 of file qdockarealayout_p.h.
Definition at line 169 of file qdockarealayout_p.h.