<file>button/go-clear.png</file>
<file>button/up_enable.png</file>
<file>button/down_enable.png</file>
+ <file>button/revert.png</file>
</qresource>
</RCC>
Image {
id: imageDown
- z:4;
+ z:15;
width: 11;
height: 0.5 * rectangle1.height;
anchors.top: parent.top
anchors.right: parent.right
- anchors.bottom: parent.bottom
anchors.topMargin: 4
anchors.rightMargin: 6
anchors.bottomMargin: 4
source: "qrc:/button/down_enable.png";
+
+ MouseArea{
+ id: imgMouseArea
+ anchors.fill: parent
+ onClicked: {
+ rectangle1.show(!rectangle1.expanded)
+ }
+ }
}
MouseArea{
PropertyChanges { target: text1; z: 0; visible: true }
PropertyChanges { target: rectangle1; border.width: 1}
PropertyChanges { target: rectangle1; height: rectangle1.basicHeight}
- PropertyChanges { target: imageDown; visible: true}
+ PropertyChanges { target: imageDown; height: 0.5 * rectangle1.basicHeight}
PropertyChanges { target: shadeDisable; visible: false; z:-1}
},
State {
PropertyChanges { target: text1; z: 10; visible: false }
PropertyChanges { target: rectangle1; border.width: 0}
PropertyChanges { target: rectangle1; height: rectangle1.expandedHeight}
- PropertyChanges { target: imageDown; visible: false}
+ PropertyChanges { target: imageDown; height: 0.5 * rectangle1.basicHeight}
PropertyChanges { target: shadeDisable; visible: false; z: -1}
},
State {
anchors.top: fromLabel.top
anchors.topMargin: fromLabel.height /2
anchors.right: parent.right
-// pathToIcon: //gimp again, ech
- pathToIcon: "qrc:/button/up_enable.png"; //temp
+ pathToIcon: "qrc:/button/revert.png"
onClicked: { rectangle1.revertLang() }
}