5import org.mauikit.controls as Maui
6import org.mauikit.terminal as Term
72 title: i18n("Color Scheme")
74 property
string currentColorScheme
78 label1.text:
i18n(
"Color Scheme")
79 label2.text:
i18n(
"Change the color scheme of the terminal.")
84 Layout.fillWidth:
true
85 opacity: enabled ? 1 : 0.5
89 model: Term.ColorSchemesModel {}
91 delegate:
Maui.GridBrowserDelegate
93 Layout.fillWidth:
true
94 checked: model.name === control.currentColorScheme
95 onClicked: control.currentColorScheme = model.name
97 template.iconComponent: Control
99 implicitHeight: Math.max(_layout.implicitHeight + topPadding + bottomPadding, 64)
100 padding:
Maui.Style.space.small
102 background: Rectangle
104 color: model.background
105 radius:
Maui.Style.radiusV
115 wrapMode: Text.NoWrap
116 elide: Text.ElideLeft
120 color: model.foreground
121 font.family:
"Monospaced"
129 color: model.highlight
150 label1.text: model.name
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:32 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.