Warning, /pim/merkuro/src/mail/qml/mailboxselector/MailBoxListSidebar.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu> 0002 // SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org> 0003 // SPDX-License-Identifier: LGPL-2.0-or-later 0004 0005 import QtQuick 2.15 0006 import QtQuick.Controls 2.15 as QQC2 0007 import QtQuick.Layouts 1.15 0008 0009 import Qt.labs.qmlmodels 1.0 0010 0011 import org.kde.kirigami 2.15 as Kirigami 0012 import org.kde.kitemmodels 1.0 0013 import org.kde.merkuro 1.0 0014 0015 Kirigami.GlobalDrawer { 0016 id: root 0017 title: i18n("Mail") 0018 modal: false 0019 0020 Kirigami.Theme.colorSet: Kirigami.Theme.Window 0021 Kirigami.Theme.inherit: false 0022 0023 topPadding: 0 0024 leftPadding: 0 0025 rightPadding: 0 0026 bottomPadding: 0 0027 0028 contentItem: ColumnLayout { 0029 spacing: 0 0030 0031 QQC2.ToolBar { 0032 Layout.fillWidth: true 0033 implicitHeight: applicationWindow().pageStack.globalToolBar.preferredHeight 0034 0035 Item { 0036 anchors.fill: parent 0037 Kirigami.Heading { 0038 level: 1 0039 text: i18n("Mail") 0040 anchors.left: parent.left 0041 anchors.leftMargin: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing 0042 anchors.verticalCenter: parent.verticalCenter 0043 } 0044 } 0045 } 0046 0047 QQC2.ScrollView { 0048 id: folderListView 0049 implicitWidth: Kirigami.Units.gridUnit * 16 0050 Layout.fillWidth: true 0051 Layout.fillHeight: true 0052 QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff 0053 contentWidth: availableWidth 0054 clip: true 0055 0056 contentItem: MailBoxList {} 0057 } 0058 } 0059 }