Compatibility Members for QLCDNumber

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

公共函数

int margin () const
void setMargin (int margin )

成员函数文档编制

int QLCDNumber:: margin () const

Returns the width of the margin around the contents of the widget.

使用 QWidget::getContentsMargins () 代替。

另请参阅 setMargin () 和 QWidget::getContentsMargins ().

void QLCDNumber:: setMargin ( int margin )

Sets the width of the margin around the contents of the widget to margin .

使用 QWidget::setContentsMargins () 代替。

另请参阅 margin () 和 QWidget::setContentsMargins ().