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.
 
 
 
 
 

27 lines
392 B

import QtQuick 2.0
Item
{
property alias value: textinput.text
property alias readOnly: textinput.readOnly
id: editRoot
height: 20
width: 150
SourceSansProBold
{
id: boldFont
}
TextInput {
id: textinput
text: value
wrapMode: Text.WrapAnywhere
MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
onClicked: textinput.forceActiveFocus()
}
}
}