Warning, /frameworks/kirigami/examples/simpleexamples/TabBarHeader.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  *  SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 import QtQuick 2.15
0008 import QtQuick.Layouts 1.15
0009 import org.kde.kirigami 2.20 as Kirigami
0010 
0011 Kirigami.ApplicationWindow {
0012     id: root
0013 
0014     width: 500
0015     height: 800
0016     visible: true
0017 
0018     pageStack.initialPage: mainPageComponent
0019     pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.TabBar
0020 
0021     Component.onCompleted: {
0022         pageStack.push(mainPageComponent);
0023         pageStack.push(mainPageComponent);
0024         pageStack.currentIndex = 0;
0025     }
0026 
0027     //Main app content
0028     Component {
0029         id: mainPageComponent
0030         MultipleColumnsGallery {}
0031     }
0032 }