8 var aspectRatio = sourceSize.height / sourceSize.width
9 return checkbox.width * aspectRatio
11 width: sourceSize.width
16 when: (checkbox.selected == true);
18 PropertyChanges { target: checkbox; source: "qrc:/button/checkboxChecked.png" }
22 when: (checkbox.selected == false);
24 PropertyChanges { target: checkbox; source: "qrc:/button/checkbox.png" }
31 checkbox.selected = !checkbox.selected