TFlowLayout Class

Header: #include <TFlowLayout>
Inherits: QLayout

Public Functions

TFlowLayout(QWidget *parent, int margin = -1, int hSpacing = -1, int vSpacing = -1)
TFlowLayout(int margin = -1, int hSpacing = -1, int vSpacing = -1)
~TFlowLayout()
int horizontalSpacing() const
void setHorizontalSpacing(int iSpace)
void setSpacing(int iSpace)
void setVerticalSpacing(int iSpace)
int verticalSpacing() const

Reimplemented Public Functions

virtual void addItem(QLayoutItem *item)
virtual int count() const
virtual Qt::Orientations expandingDirections() const
virtual bool hasHeightForWidth() const
virtual int heightForWidth(int) const
virtual QLayoutItem *itemAt(int index) const
virtual QSize minimumSize() const
virtual void setGeometry(const QRect &rect)
virtual QSize sizeHint() const
virtual QLayoutItem *takeAt(int index)
  • 36 public functions inherited from QLayout
  • 17 public functions inherited from QLayoutItem

Additional Inherited Members

  • 2 properties inherited from QLayout
  • 1 static public member inherited from QLayout
  • 4 protected functions inherited from QLayout
  • 1 protected type inherited from QLayoutItem

Detailed Description

Member Function Documentation

TFlowLayout::TFlowLayout(QWidget *parent, int margin = -1, int hSpacing = -1, int vSpacing = -1)

Default constructs an instance of TFlowLayout.

TFlowLayout::TFlowLayout(int margin = -1, int hSpacing = -1, int vSpacing = -1)

Default constructs an instance of TFlowLayout.

TFlowLayout::~TFlowLayout()

Destroys the instance of TFlowLayout.

[virtual] void TFlowLayout::addItem(QLayoutItem *item)

[virtual] int TFlowLayout::count() const

[virtual] Qt::Orientations TFlowLayout::expandingDirections() const

[virtual] bool TFlowLayout::hasHeightForWidth() const

[virtual] int TFlowLayout::heightForWidth(int) const

int TFlowLayout::horizontalSpacing() const

See also setHorizontalSpacing().

[virtual] QLayoutItem *TFlowLayout::itemAt(int index) const

[virtual] QSize TFlowLayout::minimumSize() const

[virtual] void TFlowLayout::setGeometry(const QRect &rect)

void TFlowLayout::setHorizontalSpacing(int iSpace)

See also horizontalSpacing().

void TFlowLayout::setSpacing(int iSpace)

void TFlowLayout::setVerticalSpacing(int iSpace)

See also verticalSpacing().

[virtual] QSize TFlowLayout::sizeHint() const

[virtual] QLayoutItem *TFlowLayout::takeAt(int index)

int TFlowLayout::verticalSpacing() const

See also setVerticalSpacing().