From 1721d358659507b613eb66505104831ae7904473 Mon Sep 17 00:00:00 2001 From: ykeara Date: Thu, 11 Apr 2019 20:39:29 -0500 Subject: [PATCH] fixed qml issue --- src/res/qml/common/mainwidget.qml | 6 ++++++ src/res/qml/video_page/VideoPage.qml | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/res/qml/common/mainwidget.qml b/src/res/qml/common/mainwidget.qml index a6b2fd2..22e62b0 100644 --- a/src/res/qml/common/mainwidget.qml +++ b/src/res/qml/common/mainwidget.qml @@ -5,6 +5,7 @@ import ".." import "../utilities_page" import "../audio_page" import "../motion_page" +import "../video_page" Rectangle { id: root @@ -71,6 +72,11 @@ Rectangle { visible: false } + property VideoPage videoPage: VideoPage { + stackView: mainView + visible:false + } + StackView { id: mainView anchors.fill: parent diff --git a/src/res/qml/video_page/VideoPage.qml b/src/res/qml/video_page/VideoPage.qml index 34992b4..5811d17 100644 --- a/src/res/qml/video_page/VideoPage.qml +++ b/src/res/qml/video_page/VideoPage.qml @@ -6,12 +6,13 @@ import "../common" import "brightness" MyStackViewPage { + width: 1200 headerText: "Video Settings" content: ColumnLayout { spacing: 18 - BrightnessGroupBox { id: brightnessGroupBox } + BrightnessGroupBox { } Item { Layout.fillHeight: true