Compatibility Members for QVBoxLayout

以下成员源于类 QVBoxLayout are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

QVBoxLayout (QWidget * parent , int margin , int spacing = -1, const char * name = 0)
QVBoxLayout (QLayout * parentLayout , int spacing = -1, const char * name = 0)
QVBoxLayout (int spacing , const char * name = 0)

成员函数文档编制

QVBoxLayout:: QVBoxLayout ( QWidget * parent , int margin , int spacing = -1, const char * name = 0)

Constructs a new top-level vertical box called name ,采用父级 parent .

The margin is the number of pixels between the edge of the widget and its managed children. The spacing is the default number of pixels between neighboring children. If spacing is -1 the value of margin is used for spacing .

QVBoxLayout:: QVBoxLayout ( QLayout * parentLayout , int spacing = -1, const char * name = 0)

Constructs a new vertical box called name name and adds it to parentLayout .

The spacing is the default number of pixels between neighboring children. If spacing is -1, this QVBoxLayout will inherit its parent's spacing ().

QVBoxLayout:: QVBoxLayout ( int spacing , const char * name = 0)

Constructs a new vertical box called name name . You must add it to another layout.

The spacing is the default number of pixels between neighboring children. If spacing is -1, this QVBoxLayout will inherit its parent's spacing ().