![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtoolbararealayout_p.h>
Public Member Functions | |
QToolBarAreaLayoutInfo (QInternal::DockPosition pos=QInternal::TopDock) | |
QSize | sizeHint () const |
QSize | minimumSize () const |
void | fitLayout () |
QLayoutItem * | insertToolBar (QToolBar *before, QToolBar *toolBar) |
void | insertItem (QToolBar *before, QLayoutItem *item) |
void | removeToolBar (QToolBar *toolBar) |
void | insertToolBarBreak (QToolBar *before) |
void | removeToolBarBreak (QToolBar *before) |
void | moveToolBar (QToolBar *toolbar, int pos) |
QList< int > | gapIndex (const QPoint &pos, int *maxDistance) const |
bool | insertGap (const QList< int > &path, QLayoutItem *item) |
void | clear () |
QRect | itemRect (const QList< int > &path) const |
int | distance (const QPoint &pos) const |
Public Attributes | |
QList< QToolBarAreaLayoutLine > | lines |
QRect | rect |
Qt::Orientation | o |
QInternal::DockPosition | dockPos |
bool | dirty |
Definition at line 96 of file qtoolbararealayout_p.h.
QToolBarAreaLayoutInfo::QToolBarAreaLayoutInfo | ( | QInternal::DockPosition | pos = QInternal::TopDock | ) |
Definition at line 166 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutInfo(), and dirty.
Referenced by QToolBarAreaLayoutInfo().
void QToolBarAreaLayoutInfo::clear | ( | ) |
Definition at line 536 of file qtoolbararealayout.cpp.
int QToolBarAreaLayoutInfo::distance | ( | const QPoint & | pos | ) | const |
Definition at line 564 of file qtoolbararealayout.cpp.
void QToolBarAreaLayoutInfo::fitLayout | ( | ) |
Definition at line 224 of file qtoolbararealayout.cpp.
References dirty, QToolBarAreaLayoutLine::fitLayout(), and QToolBarAreaLayoutLine::skip().
Referenced by moveToolBar().
Definition at line 447 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutItem::pos, QToolBarAreaLayoutItem::skip(), and QToolBarAreaLayoutLine::skip().
bool QToolBarAreaLayoutInfo::insertGap | ( | const QList< int > & | path, |
QLayoutItem * | item ) |
Definition at line 497 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutItem::gap, QToolBarAreaLayoutItem::preferredSize, QToolBarAreaLayoutItem::size, QToolBarAreaLayoutItem::skip(), and QToolBarAreaLayoutItem::widgetItem.
void QToolBarAreaLayoutInfo::insertItem | ( | QToolBar * | before, |
QLayoutItem * | item ) |
Definition at line 268 of file qtoolbararealayout.cpp.
Referenced by insertToolBar().
QLayoutItem * QToolBarAreaLayoutInfo::insertToolBar | ( | QToolBar * | before, |
QToolBar * | toolBar ) |
Definition at line 260 of file qtoolbararealayout.cpp.
References insertItem().
Definition at line 310 of file qtoolbararealayout.cpp.
Definition at line 542 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutItem::pos, and QToolBarAreaLayoutItem::size.
QSize QToolBarAreaLayoutInfo::minimumSize | ( | ) | const |
Definition at line 204 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutLine::skip().
at this point we need to get extra pixels from the toolbars at the left
Definition at line 359 of file qtoolbararealayout.cpp.
References dirty, fitLayout(), QToolBarAreaLayoutItem::pos, QToolBarAreaLayoutItem::size, QToolBarAreaLayoutItem::skip(), and QToolBarAreaLayoutItem::widgetItem.
Definition at line 289 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutItem::widgetItem.
Definition at line 338 of file qtoolbararealayout.cpp.
QSize QToolBarAreaLayoutInfo::sizeHint | ( | ) | const |
Definition at line 184 of file qtoolbararealayout.cpp.
References QToolBarAreaLayoutLine::skip().
bool QToolBarAreaLayoutInfo::dirty |
Definition at line 123 of file qtoolbararealayout_p.h.
Referenced by QToolBarAreaLayoutInfo(), fitLayout(), and moveToolBar().
QInternal::DockPosition QToolBarAreaLayoutInfo::dockPos |
Definition at line 122 of file qtoolbararealayout_p.h.
QList<QToolBarAreaLayoutLine> QToolBarAreaLayoutInfo::lines |
Definition at line 119 of file qtoolbararealayout_p.h.
Qt::Orientation QToolBarAreaLayoutInfo::o |
Definition at line 121 of file qtoolbararealayout_p.h.
QRect QToolBarAreaLayoutInfo::rect |
Definition at line 120 of file qtoolbararealayout_p.h.