Warning, /office/klevernotes/src/contents/ui/settings/AppearanceTab.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 // SPDX-FileCopyrightText: 2023 Louis Schul <schul9louis@gmail.com>
0003
0004 import QtQuick 2.15
0005 import QtQuick.Layouts 1.15
0006
0007 import org.kde.kirigamiaddons.formcard 1.0 as FormCard
0008
0009 import org.kde.Klever 1.0
0010
0011 ColumnLayout {
0012 id: root
0013
0014 Layout.fillWidth: true
0015 Layout.fillHeight: true
0016
0017 FormCard.FormHeader {
0018 title: i18nc("@title, as in text editor", "Editor")
0019 Layout.fillWidth: true
0020 }
0021
0022 FormCard.FormCard {
0023 Layout.fillWidth: true
0024
0025 FontPicker {
0026 id: textEditorFont
0027
0028 configFont: Config.editorFont
0029 label: i18nc("@label:textbox, the font used in the text editor", "Editor font:")
0030
0031 onNewFontChanged: if (text !== newFont) {
0032 Config.editorFont = newFont
0033 }
0034 }
0035 }
0036
0037 FormCard.FormHeader {
0038 title: i18nc("@title, where you can view the renderer note", "Note preview")
0039 Layout.fillWidth: true
0040 }
0041
0042 DisplayPreview {
0043 id: displayPreview
0044 }
0045 }