Obsolete Members for ApplicationWindow

The following members of QML type ApplicationWindow 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

特性

附加特性

特性文檔編製

overlay : Item

overlay.modal : Component

overlay.modeless : Component

This QML property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

使用 Overlay attached properties and signals instead.

This property holds the window overlay item. Popups are automatically reparented to the overlay.

特性 描述
overlay.modal This property holds a component to use as a visual item that implements background dimming for modal popups. It is created for and stacked below visible modal popups.
overlay.modeless This property holds a component to use as a visual item that implements background dimming for modeless popups. It is created for and stacked below visible dimming popups.
overlay.pressed() This signal is emitted when the overlay is pressed by the user while a popup is visible.
overlay.released() This signal is emitted when the overlay is released by the user while a modal popup is visible.

另請參閱 Popup::modal and Popup::dim .

附加特性文檔編製

[read-only] ApplicationWindow.overlay : Item

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

使用 Overlay::overlay attached property instead.

This attached property holds the window overlay item. The property can be attached to any item. The value is null if the item is not in an ApplicationWindow .

另請參閱 Attached ApplicationWindow Properties .