![]() |
LeechCraft
0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
|
A simple flow layout implementation. More...
#include "flowlayout.h"
Inheritance diagram for LC::Util::FlowLayout:
Collaboration diagram for LC::Util::FlowLayout:Public Member Functions | |
| FlowLayout (QWidget *, int=-1, int=-1, int=-1) | |
| FlowLayout (int=-1, int=-1, int=-1) | |
| virtual | ~FlowLayout () |
| void | addItem (QLayoutItem *) override |
| int | horizontalSpacing () const |
| int | verticalSpacing () const |
| Qt::Orientations | expandingDirections () const override |
| bool | hasHeightForWidth () const override |
| int | heightForWidth (int) const override |
| int | count () const override |
| QLayoutItem * | itemAt (int) const override |
| QLayoutItem * | takeAt (int) override |
| QSize | minimumSize () const override |
| void | setGeometry (const QRect &) override |
| QSize | sizeHint () const override |
A simple flow layout implementation.
Flow layout arranges child items in a dynamic wrappable row, much like QML's GridView.
Definition at line 47 of file flowlayout.h.
| LC::Util::FlowLayout::FlowLayout | ( | QWidget * | parent, |
| int | margin = -1, |
||
| int | hspace = -1, |
||
| int | vspace = -1 |
||
| ) |
Definition at line 37 of file flowlayout.cpp.
| LC::Util::FlowLayout::FlowLayout | ( | int | margin = -1, |
| int | hspace = -1, |
||
| int | vspace = -1 |
||
| ) |
Definition at line 46 of file flowlayout.cpp.
|
virtual |
Definition at line 51 of file flowlayout.cpp.
References takeAt().
Here is the call graph for this function:
|
override |
Definition at line 57 of file flowlayout.cpp.
|
override |
Definition at line 91 of file flowlayout.cpp.
|
override |
Definition at line 76 of file flowlayout.cpp.
|
override |
Definition at line 81 of file flowlayout.cpp.
|
override |
Definition at line 86 of file flowlayout.cpp.
| int LC::Util::FlowLayout::horizontalSpacing | ( | ) | const |
Definition at line 62 of file flowlayout.cpp.
|
override |
Definition at line 96 of file flowlayout.cpp.
|
override |
Definition at line 109 of file flowlayout.cpp.
Referenced by sizeHint().
Here is the caller graph for this function:
|
override |
Definition at line 119 of file flowlayout.cpp.
|
override |
Definition at line 125 of file flowlayout.cpp.
References minimumSize().
Here is the call graph for this function:
|
override |
Definition at line 101 of file flowlayout.cpp.
Referenced by ~FlowLayout().
Here is the caller graph for this function:| int LC::Util::FlowLayout::verticalSpacing | ( | ) | const |
Definition at line 69 of file flowlayout.cpp.