Changeset aadc45
- Timestamp:
- 01/13/12 14:37:07 (4 months ago)
- Branches:
- ('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
- Children:
- cc0b37e179d94a87d627d031dd4d857bfeeee297
- Parents:
- 5531d6b3132be7754e7354244a669ac03a22719f
- git-author:
- Micke Prag <micke.prag@telldus.se>2012-01-13 14:37:07+01:00
- git-committer:
- Micke Prag <micke.prag@telldus.se>2012-01-13 14:37:07+01:00
- File:
-
- 1 edited
-
telldus-gui/Plugins/Sensors/SensorList.qml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
telldus-gui/Plugins/Sensors/SensorList.qml
r1dfacd raadc45 1 1 import Qt 4.7 2 import QtDesktop 0.1 2 3 3 4 Column { … … 61 62 Row{ 62 63 spacing: 20 63 Rectangle{64 Button { 64 65 width: 50 65 66 height: 20 66 Text{ 67 anchors.centerIn: parent 68 text: main.state == "VIEW" ? "Edit" : "View" 69 } 70 MouseArea{ 71 anchors.fill: parent 72 onClicked: { 73 if(main.state == "VIEW"){ 74 main.state = "EDIT" 75 } 76 else{ 77 main.state ="VIEW" 78 } 67 text: main.state == "VIEW" ? "Edit" : "View" 68 onClicked: { 69 if(main.state == "VIEW"){ 70 main.state = "EDIT" 71 } 72 else{ 73 main.state ="VIEW" 79 74 } 80 75 }
Note: See TracChangeset
for help on using the changeset viewer.
