exercise clearbutton and enabling in TextField
This commit is contained in:
parent
4e82cc5d3d
commit
aa233c1055
@ -103,13 +103,16 @@ PlasmaComponents.Page {
|
||||
height: _h
|
||||
spacing: _s
|
||||
PlasmaComponents.RadioButton {
|
||||
id: radio
|
||||
text: "RadioButton"
|
||||
//iconSource: "call-stop"
|
||||
onCheckedChanged: if (checked) tfield.forceActiveFocus()
|
||||
}
|
||||
PlasmaComponents.TextField {
|
||||
id: tfield
|
||||
enabled: radio.checked
|
||||
text: "input here"
|
||||
clearButtonShown: true
|
||||
}
|
||||
}
|
||||
// PlasmaComponents.TextArea {
|
||||
|
@ -59,7 +59,7 @@ Item {
|
||||
|
||||
PlasmaComponents.BusyIndicator {
|
||||
z: 1000
|
||||
visible: applet.length > 0 && applet[0].busy
|
||||
visible: applet && applet.length > 0 && applet[0].busy
|
||||
running: visible
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user