Qt 4.8
|
#include <qtoolbararealayout_p.h>
Public Functions | |
void | clear () |
int | distance (const QPoint &pos) const |
void | fitLayout () |
QList< int > | gapIndex (const QPoint &pos, int *maxDistance) const |
bool | insertGap (const QList< int > &path, QLayoutItem *item) |
void | insertItem (QToolBar *before, QLayoutItem *item) |
QLayoutItem * | insertToolBar (QToolBar *before, QToolBar *toolBar) |
void | insertToolBarBreak (QToolBar *before) |
QRect | itemRect (const QList< int > &path) const |
QSize | minimumSize () const |
void | moveToolBar (QToolBar *toolbar, int pos) |
QToolBarAreaLayoutInfo (QInternal::DockPosition pos=QInternal::TopDock) | |
void | removeToolBar (QToolBar *toolBar) |
void | removeToolBarBreak (QToolBar *before) |
QSize | sizeHint () const |
Public Variables | |
bool | dirty |
QInternal::DockPosition | dockPos |
QList< QToolBarAreaLayoutLine > | lines |
Qt::Orientation | o |
QRect | rect |
Definition at line 155 of file qtoolbararealayout_p.h.
QToolBarAreaLayoutInfo::QToolBarAreaLayoutInfo | ( | QInternal::DockPosition | pos = QInternal::TopDock | ) |
Definition at line 205 of file qtoolbararealayout.cpp.
void QToolBarAreaLayoutInfo::clear | ( | ) |
Definition at line 572 of file qtoolbararealayout.cpp.
int QToolBarAreaLayoutInfo::distance | ( | const QPoint & | pos | ) | const |
Definition at line 600 of file qtoolbararealayout.cpp.
Referenced by gapIndex().
void QToolBarAreaLayoutInfo::fitLayout | ( | ) |
Definition at line 263 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::fitLayout(), and moveToolBar().
Definition at line 486 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::gapIndex().
bool QToolBarAreaLayoutInfo::insertGap | ( | const QList< int > & | path, |
QLayoutItem * | item | ||
) |
Definition at line 533 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::insertGap().
void QToolBarAreaLayoutInfo::insertItem | ( | QToolBar * | before, |
QLayoutItem * | item | ||
) |
Definition at line 307 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::insertItem(), and insertToolBar().
QLayoutItem * QToolBarAreaLayoutInfo::insertToolBar | ( | QToolBar * | before, |
QToolBar * | toolBar | ||
) |
Definition at line 299 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::addToolBar(), QToolBarAreaLayout::insertToolBar(), and QMainWindowLayoutState::restoreState().
void QToolBarAreaLayoutInfo::insertToolBarBreak | ( | QToolBar * | before | ) |
Definition at line 349 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::addToolBarBreak(), and QToolBarAreaLayout::insertToolBarBreak().
Definition at line 578 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::itemRect().
QSize QToolBarAreaLayoutInfo::minimumSize | ( | ) | const |
Definition at line 243 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::minimumSize().
void QToolBarAreaLayoutInfo::moveToolBar | ( | QToolBar * | toolbar, |
int | pos | ||
) |
at this point we need to get extra pixels from the toolbars at the left
Definition at line 398 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::moveToolBar().
void QToolBarAreaLayoutInfo::removeToolBar | ( | QToolBar * | toolBar | ) |
Definition at line 328 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::removeToolBar().
void QToolBarAreaLayoutInfo::removeToolBarBreak | ( | QToolBar * | before | ) |
Definition at line 377 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::removeToolBarBreak().
QSize QToolBarAreaLayoutInfo::sizeHint | ( | ) | const |
Definition at line 223 of file qtoolbararealayout.cpp.
Referenced by QToolBarAreaLayout::fitLayout(), QToolBarAreaLayout::rectHint(), and QToolBarAreaLayout::sizeHint().
bool QToolBarAreaLayoutInfo::dirty |
Definition at line 183 of file qtoolbararealayout_p.h.
Referenced by fitLayout(), and moveToolBar().
QInternal::DockPosition QToolBarAreaLayoutInfo::dockPos |
Definition at line 182 of file qtoolbararealayout_p.h.
Referenced by distance(), and fitLayout().
QList<QToolBarAreaLayoutLine> QToolBarAreaLayoutInfo::lines |
Definition at line 160 of file qtoolbararealayout_p.h.
Referenced by QToolBarAreaLayout::apply(), clear(), QToolBarAreaLayout::currentGapIndex(), QToolBarAreaLayout::deleteAllLayoutItems(), QToolBarAreaLayout::findToolBar(), fitLayout(), gapIndex(), QToolBarAreaLayout::getStyleOptionInfo(), QToolBarAreaLayout::indexOf(), insertGap(), insertItem(), QToolBarAreaLayout::insertItem(), insertToolBarBreak(), QToolBarAreaLayout::item(), QToolBarAreaLayout::itemAt(), itemRect(), minimumSize(), moveToolBar(), QToolBarAreaLayout::remove(), removeToolBar(), removeToolBarBreak(), QToolBarAreaLayout::restoreState(), QToolBarAreaLayout::saveState(), sizeHint(), QToolBarAreaLayout::takeAt(), QToolBarAreaLayout::toolBarBreak(), and QToolBarAreaLayout::unplug().
Qt::Orientation QToolBarAreaLayoutInfo::o |
Definition at line 181 of file qtoolbararealayout_p.h.
Referenced by QToolBarAreaLayout::apply(), fitLayout(), gapIndex(), insertGap(), insertItem(), insertToolBar(), insertToolBarBreak(), itemRect(), minimumSize(), moveToolBar(), QToolBarAreaLayoutInfo(), QToolBarAreaLayout::restoreState(), and sizeHint().
QRect QToolBarAreaLayoutInfo::rect |
Definition at line 180 of file qtoolbararealayout_p.h.
Referenced by clear(), distance(), fitLayout(), QToolBarAreaLayout::fitLayout(), gapIndex(), QToolBarAreaLayout::itemRect(), and moveToolBar().