// SPDX-FileCopyrightText: 2019-2020 Jonah BrĂ¼chert // SPDX-FileCopyrightText: 2021 Devin Lin // // SPDX-License-Identifier: GPL-2.0-or-later import QtQuick import QtQuick.Layouts import QtQuick.Controls import org.kde.konsoleqml import org.kde.kirigami as Kirigami import org.kde.qmlkonsole Kirigami.Dialog { id: root title: i18n("Settings") standardButtons: Kirigami.Dialog.NoButton property TerminalEmulator terminal preferredWidth: Kirigami.Units.gridUnit * 35 Kirigami.Theme.inherit: false Kirigami.Theme.colorSet: Kirigami.Theme.Window Control { id: control leftPadding: 0 rightPadding: 0 topPadding: 0 bottomPadding: Kirigami.Units.gridUnit background: Rectangle { Kirigami.Theme.inherit: false Kirigami.Theme.colorSet: Kirigami.Theme.Window color: Kirigami.Theme.backgroundColor } contentItem: SettingsComponent { dialog: root width: control.width terminal: root.terminal } } }