Warning, /rolisteam/rolisteam/src/libraries/qml_views/CustomItems/RequiredTextField.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.0
0002 import QtQuick.Controls 2.15
0003 import Customization 1.0
0004 
0005 TextField {
0006     id: _root
0007     property QtObject style: Theme.styleSheet("ValidField")
0008     property bool validInput
0009 
0010     background: Rectangle {
0011         border.color: !_root.enabled ? "darkgray" : _root.activeFocus ? _root.style.inputColor : _root.validInput ? _root.style.validColor : _root.style.invalidColor
0012         border.width: 1
0013         implicitWidth: 100
0014         implicitHeight: 20
0015     }
0016 }