kdk::KFlowLayout(3)

NAME
kdk::KFlowLayout

SYNOPSIS

Inherits QLayout.

  Public Member Functions
KFlowLayout (QWidget *parent, bool home=false, int margin=-1, int hSpacing=-1, int vSpacing=-1)
创建一个父对象为parent，边距为margin，水平间距为hSpacing，垂直间距为vSpacing的布局。
KFlowLayout (int margin=-1, int hSpacing=-1, int vSpacing=-1)
创建一个边距为margin，水平间距为hSpacing，垂直间距为vSpacing的布局。
int horizontalSpacing () const
水平间距
int verticalSpacing () const
垂直间距

  Protected Member Functions
void addItem (QLayoutItem *item) Q_DECL_OVERRIDE
Qt::Orientations expandingDirections () const Q_DECL_OVERRIDE
bool hasHeightForWidth () const Q_DECL_OVERRIDE
int heightForWidth (int) const Q_DECL_OVERRIDE
int count () const Q_DECL_OVERRIDE
QLayoutItem * itemAt (int index) const Q_DECL_OVERRIDE
QSize minimumSize () const Q_DECL_OVERRIDE
void setGeometry (const QRect &rect) Q_DECL_OVERRIDE
QSize sizeHint () const Q_DECL_OVERRIDE
QLayoutItem * takeAt (int index) Q_DECL_OVERRIDE

Constructor & Destructor Documentation

  kdk::KFlowLayout::KFlowLayout (QWidget * parent, bool home = false, int margin = -1, int hSpacing = -1, int vSpacing = -1) [explicit]

创建一个父对象为parent，边距为margin，水平间距为hSpacing，垂直间距为vSpacing的布局。

Parameters
    home 是否首页布局
    margin 边距
    hSpacing 水平间距
    vSpacing 垂直间距
    parent

  kdk::KFlowLayout::KFlowLayout (int margin = -1, int hSpacing = -1, int vSpacing = -1) [explicit]

创建一个边距为margin，水平间距为hSpacing，垂直间距为vSpacing的布局。

Parameters
    margin 边距
    hSpacing 水平间距
    vSpacing 垂直间距

Member Function Documentation

  int kdk::KFlowLayout::horizontalSpacing () const

水平间距

Parameters
    无

  int kdk::KFlowLayout::verticalSpacing () const

垂直间距

Parameters
    无

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.