Kstars

KSTextField.qml
1import QtQuick 2.6
2import QtQuick.Controls 2.0
3import "../constants/" 1.0
4
5TextField {
6 id: control
7
8 color: Num.sysPalette.text
9 selectedTextColor: Num.sysPalette.highlightedText
10 selectionColor: Num.sysPalette.highlight
11
12 background: Rectangle {
13 y: control.height - height - control.bottomPadding / 2
14 implicitWidth: 120
15 height: control.activeFocus ? 2 : 1
16 color: control.activeFocus ? Num.sysPalette.text : Num.sysPalette.dark
17 }
18}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.