PulseView
unreleased development snapshot
A Qt-based sigrok GUI
|
#include <flowlayout.hpp>
Public Member Functions | |
FlowLayout (QWidget *parent, int margin=-1, int hSpacing=-1, int vSpacing=-1) | |
FlowLayout (int margin=-1, int hSpacing=-1, int vSpacing=-1) | |
~FlowLayout () | |
void | addItem (QLayoutItem *item) |
int | horizontalSpacing () const |
int | verticalSpacing () const |
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 |
int | smartSpacing (QStyle::PixelMetric pm) const |
Private Attributes | |
QWidget * | m_parent |
QList< QLayoutItem * > | itemList |
int | m_hSpace |
int | m_vSpace |
Definition at line 49 of file flowlayout.hpp.
FlowLayout::FlowLayout | ( | QWidget * | parent, |
int | margin = -1 , |
||
int | hSpacing = -1 , |
||
int | vSpacing = -1 |
||
) |
Definition at line 45 of file flowlayout.cpp.
FlowLayout::FlowLayout | ( | int | margin = -1 , |
int | hSpacing = -1 , |
||
int | vSpacing = -1 |
||
) |
Definition at line 54 of file flowlayout.cpp.
FlowLayout::~FlowLayout | ( | ) |
void FlowLayout::addItem | ( | QLayoutItem * | item | ) |
Definition at line 69 of file flowlayout.cpp.
int FlowLayout::count | ( | ) | const |
Definition at line 90 of file flowlayout.cpp.
|
private |
Definition at line 160 of file flowlayout.cpp.
Qt::Orientations FlowLayout::expandingDirections | ( | ) | const |
Definition at line 108 of file flowlayout.cpp.
bool FlowLayout::hasHeightForWidth | ( | ) | const |
Definition at line 113 of file flowlayout.cpp.
int FlowLayout::heightForWidth | ( | int | width | ) | const |
int FlowLayout::horizontalSpacing | ( | ) | const |
Definition at line 74 of file flowlayout.cpp.
QLayoutItem * FlowLayout::itemAt | ( | int | index | ) | const |
Definition at line 95 of file flowlayout.cpp.
QSize FlowLayout::minimumSize | ( | ) | const |
void FlowLayout::setGeometry | ( | const QRect & | rect | ) |
QSize FlowLayout::sizeHint | ( | ) | const |
|
private |
QLayoutItem * FlowLayout::takeAt | ( | int | index | ) |
int FlowLayout::verticalSpacing | ( | ) | const |
Definition at line 82 of file flowlayout.cpp.
|
private |
Definition at line 74 of file flowlayout.hpp.
|
private |
Definition at line 75 of file flowlayout.hpp.
|
private |
Definition at line 73 of file flowlayout.hpp.
|
private |
Definition at line 75 of file flowlayout.hpp.