Qt 4.8
|
#include <qtoolbararealayout_p.h>
Public Types | |
enum | { ToolBarStateMarker = 0xfe, ToolBarStateMarkerEx = 0xfc } |
Public Variables | |
QToolBarAreaLayoutInfo | docks [4] |
const QMainWindow * | mainWindow |
QRect | rect |
bool | visible |
Definition at line 186 of file qtoolbararealayout_p.h.
anonymous enum |
Enumerator | |
---|---|
ToolBarStateMarker | |
ToolBarStateMarkerEx |
Definition at line 189 of file qtoolbararealayout_p.h.
QToolBarAreaLayout::QToolBarAreaLayout | ( | const QMainWindow * | win | ) |
Definition at line 625 of file qtoolbararealayout.cpp.
QLayoutItem * QToolBarAreaLayout::addToolBar | ( | QInternal::DockPosition | pos, |
QToolBar * | toolBar | ||
) |
Definition at line 825 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::addToolBarBreak | ( | QInternal::DockPosition | pos | ) |
Definition at line 846 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::apply | ( | bool | animate | ) |
Definition at line 876 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::apply(), and QToolBarLayout::setExpanded().
void QToolBarAreaLayout::clear | ( | ) |
Definition at line 1102 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::clear().
QList< int > QToolBarAreaLayout::currentGapIndex | ( | ) | const |
Definition at line 1048 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::deleteAllLayoutItems | ( | ) |
Definition at line 772 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::deleteAllLayoutItems().
QInternal::DockPosition QToolBarAreaLayout::findToolBar | ( | QToolBar * | toolBar | ) | const |
Definition at line 790 of file qtoolbararealayout.cpp.
Referenced by insertItem(), insertToolBar(), insertToolBarBreak(), moveToolBar(), removeToolBar(), and removeToolBarBreak().
QRect QToolBarAreaLayout::fitLayout | ( | ) |
Definition at line 633 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::fitLayout().
Definition at line 1029 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::gapIndex().
void QToolBarAreaLayout::getStyleOptionInfo | ( | QStyleOptionToolBar * | option, |
QToolBar * | toolBar | ||
) | const |
Definition at line 957 of file qtoolbararealayout.cpp.
Definition at line 992 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::contains(), QMainWindowLayoutState::indexOf(), and QMainWindowLayoutState::restoreState().
bool QToolBarAreaLayout::insertGap | ( | const QList< int > & | path, |
QLayoutItem * | item | ||
) |
Definition at line 1068 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::insertGap().
void QToolBarAreaLayout::insertItem | ( | QInternal::DockPosition | pos, |
QLayoutItem * | item | ||
) |
Definition at line 860 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::insertItem | ( | QToolBar * | before, |
QLayoutItem * | item | ||
) |
Definition at line 867 of file qtoolbararealayout.cpp.
QLayoutItem * QToolBarAreaLayout::insertToolBar | ( | QToolBar * | before, |
QToolBar * | toolBar | ||
) |
Definition at line 808 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::insertToolBarBreak | ( | QToolBar * | before | ) |
Definition at line 830 of file qtoolbararealayout.cpp.
bool QToolBarAreaLayout::isEmpty | ( | ) | const |
Definition at line 1388 of file qtoolbararealayout.cpp.
Referenced by QToolBar::~QToolBar().
QToolBarAreaLayoutItem * QToolBarAreaLayout::item | ( | const QList< int > & | path | ) |
Definition at line 1109 of file qtoolbararealayout.cpp.
Referenced by apply(), deleteAllLayoutItems(), indexOf(), insertGap(), QMainWindowLayoutState::item(), plug(), restoreState(), saveState(), and unplug().
QLayoutItem * QToolBarAreaLayout::itemAt | ( | int * | x, |
int | index | ||
) | const |
Definition at line 728 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::itemAt().
Definition at line 1124 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::gapRect(), and QMainWindowLayoutState::itemRect().
Definition at line 665 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::minimumSize().
void QToolBarAreaLayout::moveToolBar | ( | QToolBar * | toolbar, |
int | pos | ||
) |
Definition at line 851 of file qtoolbararealayout.cpp.
QLayoutItem * QToolBarAreaLayout::plug | ( | const QList< int > & | path | ) |
Definition at line 1135 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::plug().
Definition at line 711 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::remove | ( | const QList< int > & | path | ) |
Definition at line 1076 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::remove().
void QToolBarAreaLayout::remove | ( | QLayoutItem * | item | ) |
Definition at line 1082 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::removeToolBar | ( | QToolBar * | toolBar | ) |
Definition at line 817 of file qtoolbararealayout.cpp.
void QToolBarAreaLayout::removeToolBarBreak | ( | QToolBar * | before | ) |
Definition at line 838 of file qtoolbararealayout.cpp.
bool QToolBarAreaLayout::restoreState | ( | QDataStream & | stream, |
const QList< QToolBar *> & | toolBars, | ||
uchar | tmarker, | ||
bool | pre43, | ||
bool | testing = false |
||
) |
Definition at line 1310 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::checkFormat(), and QMainWindowLayoutState::restoreState().
void QToolBarAreaLayout::saveState | ( | QDataStream & | stream | ) | const |
Definition at line 1247 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::saveState().
Definition at line 688 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::sizeHint().
QLayoutItem * QToolBarAreaLayout::takeAt | ( | int * | x, |
int | index | ||
) |
Definition at line 748 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::takeAt().
bool QToolBarAreaLayout::toolBarBreak | ( | QToolBar * | toolBar | ) | const |
Definition at line 939 of file qtoolbararealayout.cpp.
QLayoutItem * QToolBarAreaLayout::unplug | ( | const QList< int > & | path, |
QToolBarAreaLayout * | other | ||
) |
Definition at line 1148 of file qtoolbararealayout.cpp.
Referenced by QMainWindowLayoutState::unplug().
QToolBarAreaLayoutInfo QToolBarAreaLayout::docks[4] |
Definition at line 196 of file qtoolbararealayout_p.h.
Referenced by addToolBar(), addToolBarBreak(), apply(), clear(), currentGapIndex(), deleteAllLayoutItems(), findToolBar(), fitLayout(), gapIndex(), getStyleOptionInfo(), indexOf(), insertGap(), insertItem(), insertToolBar(), insertToolBarBreak(), isEmpty(), item(), itemAt(), itemRect(), minimumSize(), moveToolBar(), QToolBarAreaLayout(), rectHint(), remove(), removeToolBar(), removeToolBarBreak(), QMainWindowLayoutState::restoreState(), restoreState(), saveState(), sizeHint(), takeAt(), toolBarBreak(), and unplug().
const QMainWindow* QToolBarAreaLayout::mainWindow |
Definition at line 195 of file qtoolbararealayout_p.h.
Referenced by apply(), fitLayout(), gapIndex(), itemRect(), and restoreState().
QRect QToolBarAreaLayout::rect |
Definition at line 194 of file qtoolbararealayout_p.h.
Referenced by apply(), clear(), QMainWindowLayoutState::fitLayout(), fitLayout(), gapIndex(), and restoreState().
bool QToolBarAreaLayout::visible |
Definition at line 197 of file qtoolbararealayout_p.h.
Referenced by apply(), fitLayout(), minimumSize(), rectHint(), and sizeHint().