Skip to content
Snippets Groups Projects
Commit 61d53c51 authored by Andrey Daragan's avatar Andrey Daragan
Browse files

[+] Functional restored.

parent 2ba63a5c
No related branches found
No related tags found
No related merge requests found
...@@ -11,9 +11,6 @@ Rectangle ...@@ -11,9 +11,6 @@ Rectangle
///@detalis Logotype. ///@detalis Logotype.
property Item dapLogotype property Item dapLogotype
///@detalis Menu bar width.
property alias dapMenuWidth: columnMenuTab.width
property alias dapLogotypeHeight: logotype.height
///@detalis Menu bar widget. ///@detalis Menu bar widget.
property Item dapMenuWidget property Item dapMenuWidget
///@detalis screen downloader widget. ///@detalis screen downloader widget.
...@@ -39,13 +36,14 @@ Rectangle ...@@ -39,13 +36,14 @@ Rectangle
id: logotype id: logotype
data: dapLogotype data: dapLogotype
width: columnMenuTab.width width: columnMenuTab.width
height: dapLogotype.height
} }
// Menu bar widget // Menu bar widget
Item Item
{ {
id: menuWidget id: menuWidget
data: dapMenuWidget data: dapMenuWidget
width: columnMenuTab.width width: dapMenuWidget.width
height: columnMenuTab.height - logotype.height height: columnMenuTab.height - logotype.height
} }
} }
......
...@@ -11,18 +11,20 @@ Rectangle ...@@ -11,18 +11,20 @@ Rectangle
///@detalis Right panel widget. ///@detalis Right panel widget.
property alias dapFrame: frameRightPanel property alias dapFrame: frameRightPanel
///@detalis Right pane title widget. ///@detalis Right pane title widget.
property alias dapHeader: header property alias dapHeader: headerRightPanel
///@detalis Right pane header data. ///@detalis Right pane header data.
property Item dapHeaderData property Item dapHeaderData
///@detalis Stack of right panels owned by current. ///@detalis Stack of right panels owned by current.
property alias dapContentItemPanel: contentItemPanel property alias dapContentPanel: contentItemRightPanel
///@detalis Content of the current right panel. ///@detalis Content of the current right panel.
property Item dapContentItemData property Item dapContentItemData
anchors.fill: parent
// Install right panel title // Install right panel title
Item Item
{ {
id: header id: headerRightPanel
data: dapHeaderData data: dapHeaderData
anchors.top: parent.top anchors.top: parent.top
anchors.left: parent.left anchors.left: parent.left
...@@ -31,9 +33,9 @@ Rectangle ...@@ -31,9 +33,9 @@ Rectangle
// Install right panel content // Install right panel content
Item Item
{ {
id: contentItemPanel id: contentItemRightPanel
data: dapContentItemData data: dapContentItemData
anchors.top: header.bottom anchors.top: headerRightPanel.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
......
...@@ -7,10 +7,10 @@ import QtQuick.Controls 2.0 ...@@ -7,10 +7,10 @@ import QtQuick.Controls 2.0
Rectangle Rectangle
{ {
id: frame id: frameScreen
///@detalis Frame widget. ///@detalis Frame widget.
property alias dapFrame: frame property alias dapFrame: frameScreen
///@detalis Screen components. ///@detalis Screen components.
property Item dapContenetItemScreen property Item dapContenetItemScreen
...@@ -21,5 +21,6 @@ Rectangle ...@@ -21,5 +21,6 @@ Rectangle
{ {
id: contenetItemScreen id: contenetItemScreen
data: dapContenetItemScreen data: dapContenetItemScreen
anchors.fill: parent
} }
} }
...@@ -27,41 +27,41 @@ Rectangle ...@@ -27,41 +27,41 @@ Rectangle
{ {
id: topPanel id: topPanel
data: dapTopPanel data: dapTopPanel
height: dapTopPanel.height
width: parent.width
anchors.top: parent.top anchors.top: parent.top
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
} }
// Install the screen widget and the right panel // Install the screen widget and the right panel
Rectangle Row
{ {
anchors.top: topPanel.bottom anchors.top: topPanel.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
Row
{
anchors.fill: parent
// Screen widget // Screen widget
Item Item
{ {
id: screen id: screen
data: dapScreen data: dapScreen
height: parent.height height: parent.height
} width: parent.width - separator.width - rightPanel.width
// Separator widget }
Rectangle // Separator widget
{ Rectangle
id: separator {
height: parent.height id: separator
} height: parent.height
// Right pane widget }
Item // Right pane widget
{ Item
id: rightPanel {
data: dapRightPanel id: rightPanel
height: parent.height data: dapRightPanel
} height: parent.height
width: dapRightPanel.width
} }
} }
} }
...@@ -7,8 +7,8 @@ import QtQuick.Controls 2.0 ...@@ -7,8 +7,8 @@ import QtQuick.Controls 2.0
Rectangle Rectangle
{ {
id: frame id: frameTopPanel
///@detalis Top panel frame. ///@detalis Top panel frame.
property alias dapFrame: frame property alias dapFrame: frameTopPanel
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment