Kirigami2

RouterWindow.qml
1 /*
2  * SPDX-FileCopyrightText: 2020 Carson Black <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.0-or-later
5  */
6 
7 import QtQuick 2.5
8 import org.kde.kirigami 2.12 as Kirigami
9 
10 //TODO KF6: this seems to have ended up barely used if at all. can be removed?
11 // Investigate why almost identical api is used a lot on different frameworks
12 // like Flutter but not in plamo apps.
13 
14 /**
15  * @brief An ApplicationWindow with a preconfigured PageRouter.
16  *
17  * In order to call functions on the PageRouter, use @link PageRouterAttached the attached Kirigami.PageRouter object @endlink.
18  *
19  * @inherit org::kde::kirigami::ApplicationWindow
20  */
21 Kirigami.ApplicationWindow {
22  id: __kirigamiApplicationWindow
23 
24  /**
25  * @see org::kde::kirigami::PageRouter::routes
26  * @property list<Kirigami.PageRoute> route
27  */
28  default property alias routes: __kirigamiPageRouter.routes
29 
30  /**
31  * @see org::kde::kirigami::PageRouter::initialRoute
32  * @property string initialRoute
33  */
34  property alias initialRoute: __kirigamiPageRouter.initialRoute
35 
36  /**
37  * @brief This property holds this window's PageRouter.
38  * @property org::kde::kirigami::PageRouter
39  */
40  property alias router: __kirigamiPageRouter
41 
42  Kirigami.PageRouter {
43  id: __kirigamiPageRouter
44  pageStack: __kirigamiApplicationWindow.pageStack.columnView
45  }
46 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 04:11:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.