![]() |
LeechCraft
0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
|
A simple flow layout implementation. More...
#include "flowlayout.h"
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.
LeechCraft::Util::FlowLayout::FlowLayout | ( | QWidget * | parent, |
int | margin = -1 , |
||
int | hspace = -1 , |
||
int | vspace = -1 |
||
) |
Definition at line 37 of file flowlayout.cpp.
LeechCraft::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().
|
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 LeechCraft::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().
|
override |
Definition at line 119 of file flowlayout.cpp.
|
override |
Definition at line 125 of file flowlayout.cpp.
References minimumSize().
|
override |
Definition at line 101 of file flowlayout.cpp.
Referenced by ~FlowLayout().
int LeechCraft::Util::FlowLayout::verticalSpacing | ( | ) | const |
Definition at line 69 of file flowlayout.cpp.