Changeset 03f00a
- Timestamp:
- 01/30/12 12:53:07 (4 months ago)
- Branches:
- ('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
- Children:
- 924fe1cf201d49ed5d5bc5dbbdb218a64a15ed98
- Parents:
- e7a2e9dc768453f01d356d4ecb380c7ed6bf007e
- git-author:
- Micke Prag <micke.prag@telldus.se>2012-01-30 12:53:07+01:00
- git-committer:
- Micke Prag <micke.prag@telldus.se>2012-01-30 12:53:07+01:00
- Location:
- telldus-gui/Plugins/Sensors
- Files:
-
- 1 added
- 2 edited
-
CMakeLists.txt (modified) (1 diff)
-
SensorView.qml (modified) (1 diff)
-
btn_action_remove.png (added)
Legend:
- Unmodified
- Added
- Removed
-
telldus-gui/Plugins/Sensors/CMakeLists.txt
r394270 r03f00a 25 25 26 26 SET( Plugin_EXTRA 27 btn_action_remove.png 27 28 header_bg.png 28 29 icon.png -
telldus-gui/Plugins/Sensors/SensorView.qml
r4ccb9b r03f00a 41 41 onTextChanged: modelData.name = text 42 42 } 43 44 Text{ 43 Item { 44 height: 40 45 width: deleteImg.width 45 46 anchors.right: sensorid.left 47 anchors.rightMargin: 15 46 48 visible: sensorViewItem.state == "EDIT" 47 height: 40 48 verticalAlignment: Text.AlignVCenter 49 text: "Delete" 50 font.underline: true 51 color: "#004275" 52 width: 50 53 MouseArea{ 54 anchors.fill: parent 55 onClicked: { 56 main.focus = true 57 confirmDeletion.visible = true; 49 Image { 50 id: deleteImg 51 anchors.centerIn: parent 52 source: "btn_action_remove.png" 53 MouseArea{ 54 anchors.fill: parent 55 onClicked: { 56 main.focus = true 57 confirmDeletion.visible = true; 58 } 58 59 } 59 60 }
Note: See TracChangeset
for help on using the changeset viewer.
