Warning, /accessibility/kontrast/src/contents/ui/main.qml is written in an unsupported language. File is not indexed.
0001 /** 0002 * SPDX-FileCopyrightText: (C) 2020 Carl Schwan <carl@carlschwan.eu> 0003 * 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 import QtQuick 2.1 0008 import org.kde.kirigami 2.12 as Kirigami 0009 import QtQuick.Controls 2.14 as QQC2 0010 import QtQuick.Window 2.14 0011 import QtQuick.Layouts 1.14 0012 0013 0014 Kirigami.ApplicationWindow { 0015 id: root 0016 0017 0018 Kirigami.PagePool { 0019 id: mainPagePool 0020 } 0021 0022 globalDrawer: Kirigami.GlobalDrawer { 0023 title: i18n("kontrast") 0024 titleIcon: "applications-graphics" 0025 isMenu: true 0026 actions: [ 0027 Kirigami.PagePoolAction { 0028 text: i18n("Contrast Checker") 0029 icon.name: "go-home" 0030 pagePool: mainPagePool 0031 page: "MainPage.qml" 0032 }, 0033 Kirigami.PagePoolAction { 0034 text: i18n("Favorite Colors") 0035 icon.name: "favorite" 0036 pagePool: mainPagePool 0037 page: "FavoritePage.qml" 0038 }, 0039 Kirigami.PagePoolAction { 0040 text: i18n("Help") 0041 icon.name: "help-contents" 0042 pagePool: mainPagePool 0043 page: "HelpPage.qml" 0044 }, 0045 Kirigami.PagePoolAction { 0046 text: i18n("About") 0047 icon.name: "help-about-symbolic" 0048 pagePool: mainPagePool 0049 page: "AboutPage.qml" 0050 } 0051 ] 0052 } 0053 0054 contextDrawer: Kirigami.ContextDrawer { 0055 id: contextDrawer 0056 } 0057 0058 pageStack.initialPage: mainPagePool.loadPage("MainPage.qml") 0059 }