ColorSchemesPage

Search for usage in LXR

ColorSchemesPage Class Reference

Properties

string currentColorScheme
 

Detailed Description

A page entry for picking one of the available color schemes for the terminal display.

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import org.mauikit.controls as Maui
import org.mauikit.terminal as Term
Maui.ApplicationWindow
{
id: root
Maui.Page
{
Maui.Controls.showCSD: true
anchors.fill: parent
headBar.leftContent: ToolButton
{
icon.name: "love"
onClicked: _dialog.open()
}
Maui.SettingsDialog
{
id: _dialog
Maui.SectionItem
{
text: "Colors"
onClicked: _dialog.addPage(_colorsComp)
}
Component
{
id: _colorsComp
Term.ColorSchemesPage
{
currentColorScheme: _term.kterminal.colorScheme
onCurrentColorSchemeChanged: _term.kterminal.colorScheme = currentColorScheme
}
}
}
Term.Terminal
{
id: _term
anchors.fill: parent
kterminal.colorScheme: "Ubuntu"
}
}
}

Definition at line 67 of file ColorSchemesPage.qml.

Property Documentation

◆ currentColorScheme

string ColorSchemesPage::currentColorScheme
read

Definition at line 71 of file ColorSchemesPage.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Aug 30 2024 11:51:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.