Pages
API Documentation
On this page

OverlaySheet QML Type

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

  • Import Statement: import org.kde.kirigami
  • Inherits: Popup

Detailed Description

OverlaySheet is used for auxiliary display of narrow, read-only, scrollable content. For more details, see https://develop.kde.org/hig/displaying_content/#page-vs-dialog-vs-overlaysheet .

Can be dismissed with a touch swipe when scrolled to the top or bottom.

Note: OverlaySheet needs a single child item defined. Do not override its contentItem.

Example usage:

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

Property Documentation

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

default: null

header : Item

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

default: null

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.

default: empty string, and no header text will be displayed

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.