From c44749a029d8e356fbd79cc6d6d88fe703f418d8 Mon Sep 17 00:00:00 2001 From: "littletux89@gmail.com" <littletux89@gmail.com> Date: Mon, 23 Dec 2019 21:04:27 +0300 Subject: [PATCH] [*] Fixed item redefinition error. --- DapScreenForm.ui.qml | 11 ++++++++--- DapTabForm.ui.qml | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/DapScreenForm.ui.qml b/DapScreenForm.ui.qml index 47905b8..65a825a 100644 --- a/DapScreenForm.ui.qml +++ b/DapScreenForm.ui.qml @@ -5,13 +5,18 @@ Rectangle { id: dapFrame property alias frame: dapFrame - property Item contenetItemScreen: Item { } + property Item contenetItemScreen anchors.fill: parent - Item - { + Item { id: contenetItemScreen data: contenetItemScreen } } + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ diff --git a/DapTabForm.ui.qml b/DapTabForm.ui.qml index 5c7045f..9f347b5 100644 --- a/DapTabForm.ui.qml +++ b/DapTabForm.ui.qml @@ -2,10 +2,10 @@ import QtQuick 2.4 import QtQuick.Controls 2.0 Page { - property DapTopPanelForm topPanelForm: DapTopPanelForm { } - property DapScreenForm screenForm: DapScreenForm { } + property DapTopPanelForm topPanelForm + property DapScreenForm screenForm property alias separator: dapSeparator - property DapRightPanelForm rightPanelForm: DapRightPanelForm { } + property DapRightPanelForm rightPanelForm anchors.fill: parent -- GitLab