You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
466 B
26 lines
466 B
import QtQuick 2.0
|
|
import QtQuick.Controls 1.1
|
|
Item
|
|
{
|
|
property alias value: textinput.text
|
|
property alias readOnly: textinput.readOnly
|
|
id: editRoot
|
|
width: 350
|
|
DebuggerPaneStyle {
|
|
id: dbgStyle
|
|
}
|
|
|
|
TextField {
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
id: textinput
|
|
selectByMouse: true
|
|
text: value
|
|
implicitWidth: 350
|
|
MouseArea {
|
|
id: mouseArea
|
|
anchors.fill: parent
|
|
hoverEnabled: true
|
|
onClicked: textinput.forceActiveFocus()
|
|
}
|
|
}
|
|
}
|
|
|