|
Marlin
01.17.01
|
#include <flowlayout.h>
Inheritance diagram for FlowLayout:Public Member Functions | |
| FlowLayout (QWidget *parent, int margin=0, int spacing=-1) | |
| FlowLayout (int spacing=-1) | |
| ~FlowLayout () | |
| void | addItem (QLayoutItem *item) |
| Qt::Orientations | expandingDirections () const |
| bool | hasHeightForWidth () const |
| int | heightForWidth (int) const |
| int | count () const |
| QLayoutItem * | itemAt (int index) const |
| QSize | minimumSize () const |
| void | setGeometry (const QRect &rect) |
| QSize | sizeHint () const |
| QLayoutItem * | takeAt (int index) |
Private Member Functions | |
| int | doLayout (const QRect &rect, bool testOnly) const |
Private Attributes | |
| QList< QLayoutItem * > | itemList {} |
Definition at line 31 of file flowlayout.h.
| FlowLayout::FlowLayout | ( | QWidget * | parent, |
| int | margin = 0, |
||
| int | spacing = -1 |
||
| ) |
Definition at line 28 of file flowlayout.cpp.
| FlowLayout::FlowLayout | ( | int | spacing = -1 | ) |
Definition at line 35 of file flowlayout.cpp.
| FlowLayout::~FlowLayout | ( | ) |
Definition at line 40 of file flowlayout.cpp.
References takeAt().
| void FlowLayout::addItem | ( | QLayoutItem * | item | ) |
Definition at line 47 of file flowlayout.cpp.
References itemList.
| int FlowLayout::count | ( | ) | const |
Definition at line 52 of file flowlayout.cpp.
References itemList.
|
private |
Definition at line 108 of file flowlayout.cpp.
References itemList.
Referenced by heightForWidth(), and setGeometry().
| Qt::Orientations FlowLayout::expandingDirections | ( | ) | const |
Definition at line 70 of file flowlayout.cpp.
| bool FlowLayout::hasHeightForWidth | ( | ) | const |
Definition at line 75 of file flowlayout.cpp.
| int FlowLayout::heightForWidth | ( | int | width | ) | const |
Definition at line 80 of file flowlayout.cpp.
References doLayout().
| QLayoutItem * FlowLayout::itemAt | ( | int | index | ) | const |
Definition at line 57 of file flowlayout.cpp.
References itemList.
| QSize FlowLayout::minimumSize | ( | ) | const |
| void FlowLayout::setGeometry | ( | const QRect & | rect | ) |
Definition at line 86 of file flowlayout.cpp.
References doLayout().
| QSize FlowLayout::sizeHint | ( | ) | const |
Definition at line 92 of file flowlayout.cpp.
References minimumSize().
| QLayoutItem * FlowLayout::takeAt | ( | int | index | ) |
|
private |
Definition at line 52 of file flowlayout.h.
Referenced by addItem(), count(), doLayout(), itemAt(), minimumSize(), and takeAt().
1.8.5