projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443d62b
)
Initial implementation of the indicators array
author
Mohammed Sameer
<msameer@foolab.org>
Thu, 6 Sep 2012 16:08:49 +0000
(19:08 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Thu, 6 Sep 2012 16:08:49 +0000
(19:08 +0300)
qml/Indicators.qml
[new file with mode: 0644]
patch
|
blob
diff --git a/qml/Indicators.qml
b/qml/Indicators.qml
new file mode 100644
(file)
index 0000000..
bdcb025
--- /dev/null
+++ b/
qml/Indicators.qml
@@ -0,0
+1,22
@@
+// -*- qml -*-
+import QtQuick 1.1
+
+Item {
+ width: 56
+ height: 100
+
+ signal clicked
+
+ MouseArea {
+ id: mouse
+ anchors.fill: parent
+ onClicked: parent.clicked();
+ }
+
+ BorderImage {
+ id: image
+ anchors.fill: parent
+ smooth: true
+ source: mouse.pressed ? "image://theme/meegotouch-camera-settings-indicators-background-pressed" : "image://theme/meegotouch-camera-settings-indicators-background"
+ }
+}