projects
/
harmattan
/
cameraplus
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added a bunch of TODO stuff
[harmattan/cameraplus]
/
qml
/
VideoTorchButton.qml
1
// -*- qml -*-
2
import QtQuick 1.1
3
import com.nokia.meego 1.1
4
import QtCamera 1.0
5
6
Button {
7
id: button
8
width: 56
9
height: 56
10
opacity: 0.5
11
12
iconSource: torch.on ? "image://theme/icon-m-camera-torch-on" : "image://theme/icon-m-camera-torch-off"
13
onClicked: torch.on = !torch.on
14
VideoTorch {
15
id: torch
16
camera: cam
17
}
18
}