![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qmainwindowlayout_p.h>
Public Attributes | |
| QRect | rect |
| QMainWindow * | mainWindow |
| QLayoutItem * | centralWidgetItem |
| QRect | centralWidgetRect |
Definition at line 428 of file qmainwindowlayout_p.h.
| QMainWindowLayoutState::QMainWindowLayoutState | ( | QMainWindow * | win | ) |
QDockWidgetGroupWindow is a floating window, containing several QDockWidgets floating together. This requires QMainWindow::GroupedDragging to be enabled. QDockWidgets floating jointly in a QDockWidgetGroupWindow are considered to be docked. Their isFloating property is false. QDockWidget children of a QDockWidgetGroupWindow are either: \list
tabbar feature), or QDockWidgetGroupWindow uses QDockWidgetGroupLayout to lay out its QDockWidget children. It stores layout information in a QDockAreaLayoutInfo, including temporary spacer items and rubber bands.
If its QDockWidget children are tabbed, the QDockWidgetGroupWindow shows the active QDockWidget's title as its own window title.
QDockWidgetGroupWindow is designed to hold more than one QDockWidget. A QDockWidgetGroupWindow with only one QDockWidget child may occur only temporarily \list
A QDockWidgetGroupWindow with only one QDockWidget child must never get focus, be dragged or dropped. To enforce this restriction, QDockWidgetGrouWindow will remove itself after its second QDockWidget child has been removed. It will make its last QDockWidget child a single, floating QDockWidget. Eventually, the empty QDockWidgetGroupWindow will call deleteLater() on itself.
Definition at line 779 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::apply | ( | bool | animated | ) |
Definition at line 856 of file qmainwindowlayout.cpp.
| QWidget * QMainWindowLayoutState::centralWidget | ( | ) | const |
Definition at line 1015 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::checkFormat | ( | QDataStream & | stream | ) |
Definition at line 1287 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::clear | ( | ) |
Definition at line 1121 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::contains | ( | QWidget * | widget | ) | const |
Definition at line 980 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::deleteAllLayoutItems | ( | ) |
Definition at line 892 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::deleteCentralWidgetItem | ( | ) |
Definition at line 903 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::fitLayout | ( | ) |
Definition at line 874 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::fits | ( | ) | const |
Returns whether the layout fits into the main window.
Definition at line 836 of file qmainwindowlayout.cpp.
Definition at line 1030 of file qmainwindowlayout.cpp.
Definition at line 1178 of file qmainwindowlayout.cpp.
Definition at line 953 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::insertGap | ( | const QList< int > & | path, |
| QLayoutItem * | item ) |
Definition at line 1066 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::isValid | ( | ) | const |
Definition at line 1136 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::item | ( | const QList< int > & | path | ) |
Definition at line 1141 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::itemAt | ( | int | index, |
| int * | x ) const |
Definition at line 914 of file qmainwindowlayout.cpp.
Definition at line 1161 of file qmainwindowlayout.cpp.
| QSize QMainWindowLayoutState::minimumSize | ( | ) | const |
Definition at line 813 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::plug | ( | const QList< int > & | path | ) |
Definition at line 1195 of file qmainwindowlayout.cpp.
Definition at line 1090 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::remove | ( | QLayoutItem * | item | ) |
Definition at line 1105 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::restoreState | ( | QDataStream & | stream, |
| const QMainWindowLayoutState & | oldState ) |
Definition at line 1338 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::saveState | ( | QDataStream & | stream | ) | const |
Definition at line 1231 of file qmainwindowlayout.cpp.
Definition at line 999 of file qmainwindowlayout.cpp.
| QSize QMainWindowLayoutState::sizeHint | ( | ) | const |
Definition at line 794 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::takeAt | ( | int | index, |
| int * | x ) |
Definition at line 932 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::unplug | ( | const QList< int > & | path, |
| QMainWindowLayoutState * | savedState = nullptr ) |
Definition at line 1212 of file qmainwindowlayout.cpp.
| QLayoutItem* QMainWindowLayoutState::centralWidgetItem |
Definition at line 443 of file qmainwindowlayout_p.h.
| QRect QMainWindowLayoutState::centralWidgetRect |
Definition at line 444 of file qmainwindowlayout_p.h.
| QMainWindow* QMainWindowLayoutState::mainWindow |
Definition at line 432 of file qmainwindowlayout_p.h.
| QRect QMainWindowLayoutState::rect |
Definition at line 431 of file qmainwindowlayout_p.h.