Kstars

KSTextField.qml
1 import QtQuick 2.6
2 import QtQuick.Controls 2.0
3 import "../constants/" 1.0
4 
5 TextField {
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-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.