Obsolete Members for QLayout

以下成員源於類 QLayout 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

特性

特性文檔編製

margin : int

This property holds the width of the outside border of the layout.

使用 setContentsMargins () 和 getContentsMargins () 代替。

訪問函數:

int margin () const
void setMargin (int margin )

另請參閱 contentsRect () 和 spacing .