Added settings to change camera device.
[harmattan/cameraplus] / qml / VideoSettings.qml
index e0f90fd..99a0c62 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-@IMPORT_QT_QUICK@
-import com.nokia.meego 1.1
+import QtQuick 2.0
 import QtCamera 1.0
 
 Flickable {
+    property Camera camera: null
+    id: flick
+
     contentHeight: col.height
     anchors.fill: parent
     anchors.margins: 10
@@ -34,12 +36,13 @@ Flickable {
         width: parent.width
         spacing: 10
 
-        Label {
+        CameraLabel {
             font.pixelSize: 36
             text: qsTr("Video settings")
         }
 
         VideoResolutionSettings {
+            camera: flick.camera
             width: parent.width
         }