DialogHeader

Search for usage in LXR

DialogHeader Class Reference

Properties

TDialog dialog
 

Detailed Description

Base for a header, to be used as the header: item of a Dialog.

Provides appropriate padding and a bottom separator when the dialog's content is scrollable.

Chiefly useful as the base element of a custom header. Example usage for this:

import QtQuick
import org.kde.kirigami as Kirigami
import org.kde.kirigami.dialogs as KD
Kirigami.Dialog {
id: myDialog
title: i18n("My Dialog")
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
header: KDialogs.DialogHeader {
dialog: myDialog
contentItem: [...]
}
[...]
}
Base for a header, to be used as the header: item of a Dialog.
TDialog dialog
This property points to the parent dialog, some of whose properties need to be available here.

Definition at line 41 of file DialogHeader.qml.

Property Documentation

◆ dialog

TDialog DialogHeader::dialog
read

This property points to the parent dialog, some of whose properties need to be available here.

Definition at line 48 of file DialogHeader.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Mar 28 2025 11:50:27 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.