Q3HBoxLayout Class

The Q3HBoxLayout 類水平排列 Widget。 更多...

頭: #include <Q3HBoxLayout>
繼承: QBoxLayout

公共函數

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

額外繼承成員

詳細描述

The Q3HBoxLayout 類水平排列 Widget。

另請參閱 Q3VBoxLayout .

成員函數文檔編製

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

Constructs a new top-level horizontal box called name ,采用父級 parent 。 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.

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

Constructs a new horizontal box called name and adds it to parentLayout 。 spacing is the default number of pixels between neighboring children. If spacing is -1, this Q3HBoxLayout will inherit its parent's spacing.

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

Constructs a new horizontal box called name . You must add it to another layout. The spacing is the default number of pixels between neighboring children. If spacing is -1, this QHBoxLayout will inherit its parent's spacing ().