summaryrefslogtreecommitdiffstats
path: root/experimental/Camera/CaptureControl.qml
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/Camera/CaptureControl.qml')
-rw-r--r--experimental/Camera/CaptureControl.qml40
1 files changed, 0 insertions, 40 deletions
diff --git a/experimental/Camera/CaptureControl.qml b/experimental/Camera/CaptureControl.qml
deleted file mode 100644
index b8180f9..0000000
--- a/experimental/Camera/CaptureControl.qml
+++ /dev/null
@@ -1,40 +0,0 @@
-import QtQuick 2.0
-import QtMultimedia 5.0
-
-Rectangle {
- id: controlRoot
-
- signal clicked
-
- property bool videoMode: camera.captureMode === Camera.CaptureVideo
-
- width: 180 * root.contentScale
- height: width
- radius: width / 2
- color: mouser.pressed ? (controlRoot.videoMode ? "#77fa334f" : "#7798c66c") : "#77333333"
- visible: enabled
-
- Rectangle {
- id: center
- anchors.centerIn: parent
- width: parent.width * 0.45
- height: width
- radius: width / 2
- opacity: mouser.pressed ? 0.7 : 1
- color: controlRoot.videoMode ? "#fa334f" : "#98c66c"
- }
-
- Rectangle {
- anchors.centerIn: parent
- color: "white"
- visible: camera.videoRecorder.recorderStatus === CameraRecorder.RecordingStatus
- width: center.width * 0.3
- height: width
- }
-
- MouseArea {
- id: mouser
- anchors.fill: parent
- onClicked: controlRoot.clicked()
- }
-}