Fixed small UI issues
This commit is contained in:
parent
647e185e52
commit
035c957054
2 changed files with 5 additions and 0 deletions
|
@ -4,4 +4,5 @@ import QtQuick.Controls 1.2
|
||||||
Slider {
|
Slider {
|
||||||
signal changed(real value)
|
signal changed(real value)
|
||||||
onValueChanged: changed(value)
|
onValueChanged: changed(value)
|
||||||
|
opacity: enabled ? 1.0 : 0.1
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,6 +94,10 @@ Item {
|
||||||
tooltip_widget.hovertext = "";
|
tooltip_widget.hovertext = "";
|
||||||
}
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
if (button.checked && button.exclusiveGroup) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
button.checked = !button.checked;
|
button.checked = !button.checked;
|
||||||
if (!button.toggle)
|
if (!button.toggle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue