Qt 5.11 | Qt Quick Controls 2 | QML Types | Obsolete Members for ApplicationWindow

Qt 5.11.3 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`(obsolete)`
  - overlay : Item
  - overlay.modal : Component
  - overlay.modeless : Component

## Attached Properties

- overlay : Item`(obsolete)`

## Property Documentation

overlay group
overlay : Item
overlay.modal : Component
overlay.modeless : Component

This property group 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

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.