2020-06-19 14:21:02 -04:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
2021-09-28 18:04:06 +03:00
|
|
|
|
|
|
|
import utils 1.0
|
2020-06-19 14:21:02 -04:00
|
|
|
|
2023-06-01 21:23:22 +03:00
|
|
|
import StatusQ.Components 0.1
|
|
|
|
|
2020-06-19 14:21:02 -04:00
|
|
|
TextField {
|
2023-06-01 21:23:22 +03:00
|
|
|
id: root
|
|
|
|
|
2022-09-15 17:23:51 +02:00
|
|
|
font.family: Style.current.baseFont.name
|
2020-10-28 18:44:09 +11:00
|
|
|
color: readOnly ? Style.current.secondaryText : Style.current.textColor
|
|
|
|
selectByMouse: !readOnly
|
2020-10-20 09:54:47 -04:00
|
|
|
selectedTextColor: Style.current.textColor
|
2021-01-14 03:04:20 +04:00
|
|
|
selectionColor: Style.current.primarySelectionColor
|
2023-06-01 21:23:22 +03:00
|
|
|
|
|
|
|
cursorDelegate: StatusCursorDelegate {
|
|
|
|
cursorVisible: root.cursorVisible
|
|
|
|
}
|
2020-06-19 14:21:02 -04:00
|
|
|
}
|