![]() |
Qt 4.8
|
#include <qmainwindowlayout_p.h>
Public Functions | |
| void | apply (bool animated) |
| QWidget * | centralWidget () const |
| bool | checkFormat (QDataStream &stream, bool pre43) |
| void | clear () |
| bool | contains (QWidget *widget) const |
| void | deleteAllLayoutItems () |
| void | deleteCentralWidgetItem () |
| void | fitLayout () |
| QList< int > | gapIndex (QWidget *widget, const QPoint &pos) const |
| QRect | gapRect (const QList< int > &path) const |
| QList< int > | indexOf (QWidget *widget) const |
| bool | insertGap (const QList< int > &path, QLayoutItem *item) |
| bool | isValid () const |
| QLayoutItem * | item (const QList< int > &path) |
| QLayoutItem * | itemAt (int index, int *x) const |
| QRect | itemRect (const QList< int > &path) const |
| QSize | minimumSize () const |
| QLayoutItem * | plug (const QList< int > &path) |
| QMainWindowLayoutState (QMainWindow *win) | |
| void | remove (const QList< int > &path) |
| void | remove (QLayoutItem *item) |
| bool | restoreState (QDataStream &stream, const QMainWindowLayoutState &oldState) |
| void | saveState (QDataStream &stream) const |
| void | setCentralWidget (QWidget *widget) |
| QSize | sizeHint () const |
| QLayoutItem * | takeAt (int index, int *x) |
| QLayoutItem * | unplug (const QList< int > &path, QMainWindowLayoutState *savedState=0) |
Public Variables | |
| QDockAreaLayout | dockAreaLayout |
| QMainWindow * | mainWindow |
| QRect | rect |
| QToolBarAreaLayout | toolBarAreaLayout |
Definition at line 105 of file qmainwindowlayout_p.h.
| QMainWindowLayoutState::QMainWindowLayoutState | ( | QMainWindow * | win | ) |
Definition at line 179 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::apply | ( | bool | animated | ) |
Definition at line 231 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::applyState().
| QWidget * QMainWindowLayoutState::centralWidget | ( | ) | const |
Definition at line 390 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::centralWidget().
| bool QMainWindowLayoutState::checkFormat | ( | QDataStream & | stream, |
| bool | pre43 | ||
| ) |
Definition at line 624 of file qmainwindowlayout.cpp.
Referenced by restoreState().
| void QMainWindowLayoutState::clear | ( | ) |
Definition at line 488 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::restoreState().
| bool QMainWindowLayoutState::contains | ( | QWidget * | widget | ) | const |
Definition at line 355 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::deleteAllLayoutItems | ( | ) |
Definition at line 267 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::restoreState(), and QMainWindowLayout::~QMainWindowLayout().
| void QMainWindowLayoutState::deleteCentralWidgetItem | ( | ) |
Definition at line 278 of file qmainwindowlayout.cpp.
Referenced by setCentralWidget(), and QMainWindowLayout::~QMainWindowLayout().
| void QMainWindowLayoutState::fitLayout | ( | ) |
Definition at line 249 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::restoreState(), and QMainWindowLayout::unplug().
Definition at line 405 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::hover().
Definition at line 545 of file qmainwindowlayout.cpp.
Definition at line 328 of file qmainwindowlayout.cpp.
Referenced by QToolBarLayout::setExpanded(), and QMainWindowLayout::unplug().
| bool QMainWindowLayoutState::insertGap | ( | const QList< int > & | path, |
| QLayoutItem * | item | ||
| ) |
Definition at line 433 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::isValid | ( | ) | const |
Definition at line 503 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::hover(), and QMainWindowLayout::setCentralWidget().
| QLayoutItem * QMainWindowLayoutState::item | ( | const QList< int > & | path | ) |
Definition at line 508 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::addToolBar(), insertGap(), QMainWindowLayout::insertToolBar(), setCentralWidget(), and QMainWindowLayout::unplug().
| QLayoutItem * QMainWindowLayoutState::itemAt | ( | int | index, |
| int * | x | ||
| ) | const |
Definition at line 289 of file qmainwindowlayout.cpp.
Definition at line 528 of file qmainwindowlayout.cpp.
Referenced by QToolBarLayout::setExpanded(), and QMainWindowLayout::unplug().
| QSize QMainWindowLayoutState::minimumSize | ( | ) | const |
Definition at line 213 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::plug | ( | const QList< int > & | path | ) |
Definition at line 562 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::remove | ( | const QList< int > & | path | ) |
Definition at line 457 of file qmainwindowlayout.cpp.
| void QMainWindowLayoutState::remove | ( | QLayoutItem * | item | ) |
Definition at line 472 of file qmainwindowlayout.cpp.
| bool QMainWindowLayoutState::restoreState | ( | QDataStream & | stream, |
| const QMainWindowLayoutState & | oldState | ||
| ) |
Definition at line 667 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::restoreState().
| void QMainWindowLayoutState::saveState | ( | QDataStream & | stream | ) | const |
Definition at line 598 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::saveState().
| void QMainWindowLayoutState::setCentralWidget | ( | QWidget * | widget | ) |
Definition at line 374 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::setCentralWidget().
| QSize QMainWindowLayoutState::sizeHint | ( | ) | const |
Definition at line 194 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::takeAt | ( | int | index, |
| int * | x | ||
| ) |
Definition at line 307 of file qmainwindowlayout.cpp.
| QLayoutItem * QMainWindowLayoutState::unplug | ( | const QList< int > & | path, |
| QMainWindowLayoutState * | savedState = 0 |
||
| ) |
Definition at line 579 of file qmainwindowlayout.cpp.
Referenced by QMainWindowLayout::unplug().
| QDockAreaLayout QMainWindowLayoutState::dockAreaLayout |
Definition at line 118 of file qmainwindowlayout_p.h.
Referenced by apply(), QMainWindowLayout::applyState(), centralWidget(), checkFormat(), clear(), contains(), deleteAllLayoutItems(), deleteCentralWidgetItem(), fitLayout(), gapIndex(), gapRect(), QMainWindowLayout::hover(), indexOf(), insertGap(), item(), itemAt(), itemRect(), minimumSize(), plug(), remove(), restoreState(), saveState(), setCentralWidget(), QMainWindowLayout::setCentralWidget(), sizeHint(), takeAt(), QMainWindowLayout::timerEvent(), and unplug().
| QMainWindow* QMainWindowLayoutState::mainWindow |
Definition at line 109 of file qmainwindowlayout_p.h.
Referenced by apply(), checkFormat(), QMainWindowLayoutState(), restoreState(), and QMainWindowLayout::usesHIToolBar().
| QRect QMainWindowLayoutState::rect |
Definition at line 108 of file qmainwindowlayout_p.h.
Referenced by clear(), fitLayout(), isValid(), and QMainWindowLayout::restoreState().
| QToolBarAreaLayout QMainWindowLayoutState::toolBarAreaLayout |
Definition at line 114 of file qmainwindowlayout_p.h.
Referenced by apply(), checkFormat(), clear(), contains(), deleteAllLayoutItems(), fitLayout(), gapIndex(), gapRect(), indexOf(), insertGap(), item(), itemAt(), itemRect(), minimumSize(), plug(), remove(), restoreState(), saveState(), QToolBarLayout::setExpanded(), sizeHint(), takeAt(), unplug(), and QToolBar::~QToolBar().