Kirigami-addons

SettingAction.qml
1// SPDX-FileCopyrightText: 2021 Felipe Kinoshita <kinofhek@gmail.com>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4import QtQuick 2.15
5import QtQuick.Controls 2.15 as QQC2
6import org.kde.kirigami 2.20 as Kirigami
7
8/**
9 * @brief SettingAction defines a settings page, and is typically used by a CategorizedSettings object.
10 * @since 5.86
11 * @since org.kde.kirigami 2.18
12 * @inherit org::kde::kirigami::PagePoolAction
13 */
14Kirigami.PagePoolAction {
15 /**
16 * @brief The name of the action for when it needs to be referenced.
17 *
18 * Primary use case if for setting a default page in CategorizedSettings.
19 */
20 required property string actionName
21
22 pageStack: _stack
23 pagePool: _pool
24 basePage: _stack.initialPage
25
26 checkable: false
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:46:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.