FormSeparator QML Type

An item used to ssepare entries within a FormGroup. More...

Since: 6.24
Inherits:

Item

Detailed Description

This component is used when it's needed to separe entries within a FormGroup for clarity, for instance if is needed to have separate subcategories within a FormGroup.

Example usage:

 import QtQuick.Controls as QQC
 import org.kde.kirigami as Kirigami

 Kirigami.Form {
   Kirigami.FormGroup {
       title: "Theme Options"
       Kirigami.FormEntry {
           title: "Subsection 1"
           contentItem: QQC.CheckBox {
               text: "Dark Theme"
           }
       }
       Kirigami.FormSeparator {}
       Kirigami.FormEntry {
           title: "Subsection 2"
           contentItem: QQC.CheckBox {
               text: "High Contrast"
           }
       }
       ...
   }
 }

See also FormEntry and FormGroup.