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