Warning, /multimedia/kasts/src/qml/Mobile/BottomToolbar.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * Copyright 2021 Devin Lin <espidev@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Controls 0009 import QtQuick.Layouts 0010 import org.kde.kirigami as Kirigami 0011 0012 import org.kde.kasts 0013 0014 Kirigami.NavigationTabBar { 0015 id: navBar 0016 0017 property alias toolbarHeight: navBar.implicitHeight 0018 property bool transparentBackground: false 0019 0020 actions: [ 0021 Kirigami.Action { 0022 icon.name: "view-media-playlist" 0023 text: i18n("Queue") 0024 checked: "QueuePage" === kastsMainWindow.currentPage 0025 onTriggered: { 0026 pushPage("QueuePage"); 0027 } 0028 }, 0029 Kirigami.Action { 0030 icon.name: "bookmarks" 0031 text: i18n("Subscriptions") 0032 checked: "FeedListPage" === kastsMainWindow.currentPage 0033 onTriggered: { 0034 pushPage("FeedListPage"); 0035 } 0036 }, 0037 Kirigami.Action { 0038 icon.name: "rss" 0039 text: i18n("Episodes") 0040 checked: "EpisodeListPage" === kastsMainWindow.currentPage 0041 onTriggered: { 0042 pushPage("EpisodeListPage") 0043 } 0044 }, 0045 Kirigami.Action { 0046 icon.name: "settings-configure" 0047 text: i18n("Settings") 0048 checked: "SettingsPage" === kastsMainWindow.currentPage 0049 onTriggered: { 0050 pushPage("SettingsPage") 0051 } 0052 } 0053 ] 0054 }