OverlaySheet QML Type

An overlay sheet that covers the current Page content. More...

Import Statement: import org.kde.kirigami

Properties

Detailed Description

Its contents can be scrolled up or down, scrolling all the way up or all the way down, dismisses it. Use this for big, modal dialogs or information display, that can't be logically done as a new separate Page, even if potentially are taller than the screen space.

Example usage:

Kirigami.OverlaySheet {
   ColumnLayout { ... }
}
Kirigami.OverlaySheet {
   ListView { ... }
}

It needs a single element declared inside, do *not* override its contentItem

Property Documentation

An optional item which will be used as the sheet's footer, always kept on screen.


header : Item

This property holds an optional item which will be used as the sheet's header, and will always be displayed.


showCloseButton : bool

This property sets the visibility of the close button in the top-right corner.

default: Only shown in desktop mode


title : string

A title to be displayed in the header of this Sheet