Obsolete Members for QDialog

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

特性

公共函數

(obsolete) dumpObjectInfo ()
(obsolete) dumpObjectTree ()
(obsolete) QWidget * extension () const
(obsolete) bool isEnabledToTLW () const
(obsolete) bool isTopLevel () const
(obsolete) Qt::Orientation orientation () const
(obsolete) void setExtension (QWidget * extension )
(obsolete) void setOrientation (Qt::Orientation orientation )
(obsolete) QWidget * topLevelWidget () const

公共槽

(obsolete) void showExtension (bool showIt )

成員函數文檔編製

QWidget *QDialog:: extension () const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Returns the dialog's extension or 0 if no extension has been defined.

Instead of using this functionality, we recommend that you simply call show () 或 hide () on the part of the dialog that you want to use as an extension. See the 擴展範例 瞭解細節。

另請參閱 setExtension (), showExtension (),和 setOrientation ().

Qt::Orientation QDialog:: orientation () const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Returns the dialog's extension orientation.

Instead of using this functionality, we recommend that you simply call show () 或 hide () on the part of the dialog that you want to use as an extension. See the 擴展範例 瞭解細節。

另請參閱 setOrientation () 和 extension ().

void QDialog:: setExtension ( QWidget * extension )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Sets the widget, extension , to be the dialog's extension, deleting any previous extension. The dialog takes ownership of the extension. Note that if nullptr is passed, any existing extension will be deleted. This function must only be called while the dialog is hidden.

Instead of using this functionality, we recommend that you simply call show () 或 hide () on the part of the dialog that you want to use as an extension. See the 擴展範例 瞭解細節。

另請參閱 extension (), showExtension (),和 setOrientation ().

void QDialog:: setOrientation ( Qt::Orientation orientation )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

orientation is Qt::Horizontal , the extension will be displayed to the right of the dialog's main area. If orientation is Qt::Vertical , the extension will be displayed below the dialog's main area.

Instead of using this functionality, we recommend that you simply call show () 或 hide () on the part of the dialog that you want to use as an extension. See the 擴展範例 瞭解細節。

另請參閱 orientation () 和 setExtension ().

[slot] void QDialog:: showExtension ( bool showIt )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

showIt is true, the dialog's extension is shown; otherwise the extension is hidden.

Instead of using this functionality, we recommend that you simply call show () 或 hide () on the part of the dialog that you want to use as an extension. See the 擴展範例 瞭解細節。

另請參閱 show (), setExtension (),和 setOrientation ().