1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/*
* SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import org.kde.kirigami 2.20 as Kirigami
Kirigami.ApplicationWindow {
id: root
width: 500
height: 800
visible: true
pageStack.initialPage: mainPageComponent
pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.TabBar
Component.onCompleted: {
pageStack.push(mainPageComponent);
pageStack.push(mainPageComponent);
pageStack.currentIndex = 0;
}
//Main app content
Component {
id: mainPageComponent
MultipleColumnsGallery {}
}
}
|