Skip to content

Dialog

Fluent styled Dialog.

import QtQuick.Controls.QWinUI3 · src/style/QWinUI3/Dialog.qml

Category: Styled controls · Library: v2.80

← Component index

Gallery: Dialogsrc/gallery/pages/DialogPage.qml

Example

Dialog {
    id: dlg
    title: qsTr("Notice")
    standardButtons: Dialog.Ok
    onAccepted: close()
}
dlg.open()

Notes

Style-only Fluent chrome for Qt Quick Controls Dialog. Public API is the Qt Quick Controls Dialog type; this file supplies visuals/metrics only.

API

Style-only control: no extra QWinUI3 properties. Use the Qt Quick Controls Dialog API (this file only supplies Fluent visuals / metrics).

Inherited from Dialog

  • title
  • open() / close()
  • accepted() / rejected()

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.