Mantid
|
#include <FlowLayout.h>
Public Member Functions | |
void | addItem (QLayoutItem *item) override |
int | count () const override |
Qt::Orientations | expandingDirections () const override |
FlowLayout (int margin=-1, int hSpacing=-1, int vSpacing=-1) | |
FlowLayout (QWidget *parent, int margin=-1, int hSpacing=-1, int vSpacing=-1) | |
bool | hasHeightForWidth () const override |
int | heightForWidth (int) const override |
int | horizontalSpacing () const |
QLayoutItem * | itemAt (int index) const override |
QSize | minimumSize () const override |
void | setGeometry (const QRect &rect) override |
QSize | sizeHint () const override |
QLayoutItem * | takeAt (int index) override |
int | verticalSpacing () const |
~FlowLayout () override | |
Private Member Functions | |
int | doLayout (const QRect &rect, bool testOnly) const |
int | smartSpacing (QStyle::PixelMetric pm) const |
Private Attributes | |
QList< QLayoutItem * > | itemList |
int | m_hSpace |
int | m_vSpace |
Definition at line 51 of file FlowLayout.h.
MantidQt::API::FlowLayout::FlowLayout | ( | QWidget * | parent, |
int | margin = -1 , |
||
int | hSpacing = -1 , |
||
int | vSpacing = -1 |
||
) |
Definition at line 45 of file FlowLayout.cpp.
MantidQt::API::FlowLayout::FlowLayout | ( | int | margin = -1 , |
int | hSpacing = -1 , |
||
int | vSpacing = -1 |
||
) |
Definition at line 50 of file FlowLayout.cpp.
|
override |
Definition at line 54 of file FlowLayout.cpp.
References takeAt().
|
override |
Definition at line 60 of file FlowLayout.cpp.
References itemList.
|
override |
Definition at line 78 of file FlowLayout.cpp.
References itemList.
|
private |
Definition at line 114 of file FlowLayout.cpp.
References bottom, horizontalSpacing(), itemList, left, right, top, and verticalSpacing().
Referenced by heightForWidth(), and setGeometry().
|
override |
Definition at line 89 of file FlowLayout.cpp.
|
override |
Definition at line 91 of file FlowLayout.cpp.
|
override |
Definition at line 93 of file FlowLayout.cpp.
References doLayout(), and height.
int MantidQt::API::FlowLayout::horizontalSpacing | ( | ) | const |
Definition at line 62 of file FlowLayout.cpp.
References m_hSpace, and smartSpacing().
Referenced by doLayout().
|
override |
Definition at line 80 of file FlowLayout.cpp.
|
override |
|
override |
Definition at line 98 of file FlowLayout.cpp.
References doLayout().
|
override |
Definition at line 103 of file FlowLayout.cpp.
References minimumSize().
|
private |
Definition at line 146 of file FlowLayout.cpp.
Referenced by horizontalSpacing(), and verticalSpacing().
|
override |
Definition at line 82 of file FlowLayout.cpp.
References index, and itemList.
Referenced by ~FlowLayout().
int MantidQt::API::FlowLayout::verticalSpacing | ( | ) | const |
Definition at line 70 of file FlowLayout.cpp.
References m_vSpace, and smartSpacing().
Referenced by doLayout().
|
private |
Definition at line 74 of file FlowLayout.h.
Referenced by addItem(), count(), doLayout(), itemAt(), minimumSize(), and takeAt().
|
private |
Definition at line 75 of file FlowLayout.h.
Referenced by horizontalSpacing().
|
private |
Definition at line 76 of file FlowLayout.h.
Referenced by verticalSpacing().