import QtQuick 2.7 import QtQuick.Controls 2.13 import "theme" /*! \qmltype TextField \inqmlmodule Opaque \inherits QtQuick::Item \index Index \brief Basic single-line text input box. For example: */ TextField { color: Theme.textfieldTextColor font.pointSize: 10 * gcd.themeScale width: 100 // selectByMouse shouldn't be enabled on mobile selectByMouse: gcd.os != "android" && !readOnly background: Rectangle { radius: 2 color: Theme.textfieldBackgroundColor border.color: Theme.textfieldBorderColor } }