- Qt 5.15
- Qt Quick Controls
- QML Types
- Obsolete Members for ApplicationWindow
- Qt 5.15.18 Reference Documentation

# Obsolete Members for ApplicationWindow

The following members of QML type ApplicationWindow are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Properties

- overlay : Item`(obsolete)`
- overlay.modal : Component`(obsolete)`
- overlay.modeless : Component`(obsolete)`

## Attached Properties

- overlay : Item`(obsolete)`

## Property Documentation

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.

Use the Overlay attached properties and signals instead.

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

Property | Description
--- | ---
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.

See also Popup::modal and Popup::dim.

## Attached Property Documentation

[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.

Use the 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.

See also Attached ApplicationWindow Properties.