The following members of QML type ApplicationWindow 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
(obsolete)
(obsolete)
(obsolete)
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
.