blue background for underground
lock linepad inputelements if no candidate
Behavior on opacity { PropertyAnimation { } }
color: {
- if (inputState.isMetro) {
+ if (ch == 'U') {
+ return '#156ab8';
+ } else if (inputState.isMetro) {
switch (ch) {
case 1: return '#E20A16';
case 2: return '#764785';
bold: true
}
color: {
- if (inputState.isMetro) {
+ if (inputState.isMetro || ch == 'U') {
return 'white';
} else if (inputElement.isCandidate) {
return 'black';
MouseArea {
anchors.fill: parent
onClicked: {
- buttonFeedback.start()
- inputLine.text += modelData
+ if( inputElement.isCandidate) {
+ buttonFeedback.start()
+ inputLine.text += modelData
+ }
}
}
}