|
QCAD
Open Source 2D CAD
|
Flow layout. More...
#include <RFlowLayout.h>
Public Member Functions | |
| void | addItem (QLayoutItem *item) |
| int | count () const |
| Qt::Orientations | expandingDirections () const |
| bool | hasHeightForWidth () const |
| int | heightForWidth (int) const |
| int | horizontalSpacing () const |
| int | indexOf (QAction *action) const |
| int | indexOf (QWidget *widget) const |
| void | insertAction (int index, QAction *action) |
| void | invalidate () |
| QLayoutItem * | itemAt (int index) const |
| QSize | minimumSize () const |
| RFlowLayout (int margin=RDEFAULT_MIN1, int hSpacing=RDEFAULT_MIN1, int vSpacing=RDEFAULT_MIN1) | |
| RFlowLayout (QWidget *parent, int margin=RDEFAULT_MIN1, int hSpacing=RDEFAULT_MIN1, int vSpacing=RDEFAULT_MIN1) | |
| void | setGeometry (const QRect &rect) |
| void | setIconSize (const QSize &s) |
| void | setListViewMode (bool on) |
| QSize | sizeHint () const |
| QLayoutItem * | takeAt (int index) |
| int | verticalSpacing () const |
| ~RFlowLayout () | |
Private Member Functions | |
| int | doLayout (const QRect &rect, bool testOnly) const |
| int | smartSpacing (QStyle::PixelMetric pm) const |
Private Attributes | |
| int | hSpace |
| QSize | iconSize |
| QList< QLayoutItem * > | itemList |
| bool | listViewMode |
| int | vSpace |
Flow layout.
Added actions are represented as QToolButtons.
| RFlowLayout::RFlowLayout | ( | QWidget * | parent, |
| int | margin = RDEFAULT_MIN1, | ||
| int | hSpacing = RDEFAULT_MIN1, | ||
| int | vSpacing = RDEFAULT_MIN1 ) |
| RFlowLayout::RFlowLayout | ( | int | margin = RDEFAULT_MIN1, |
| int | hSpacing = RDEFAULT_MIN1, | ||
| int | vSpacing = RDEFAULT_MIN1 ) |
| RFlowLayout::~RFlowLayout | ( | ) |
| void RFlowLayout::addItem | ( | QLayoutItem * | item | ) |
| int RFlowLayout::count | ( | ) | const |
|
private |
| Qt::Orientations RFlowLayout::expandingDirections | ( | ) | const |
| bool RFlowLayout::hasHeightForWidth | ( | ) | const |
| int RFlowLayout::heightForWidth | ( | int | width | ) | const |
| int RFlowLayout::horizontalSpacing | ( | ) | const |
| int RFlowLayout::indexOf | ( | QAction * | action | ) | const |
|
inline |
| void RFlowLayout::insertAction | ( | int | index, |
| QAction * | action ) |
|
inline |
| QLayoutItem * RFlowLayout::itemAt | ( | int | index | ) | const |
| QSize RFlowLayout::minimumSize | ( | ) | const |
| void RFlowLayout::setGeometry | ( | const QRect & | rect | ) |
| void RFlowLayout::setIconSize | ( | const QSize & | s | ) |
| void RFlowLayout::setListViewMode | ( | bool | on | ) |
| QSize RFlowLayout::sizeHint | ( | ) | const |
|
private |
| QLayoutItem * RFlowLayout::takeAt | ( | int | index | ) |
| int RFlowLayout::verticalSpacing | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |