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
///@detalis Logotype.
property Item dapLogotype
///@detalis Menu bar width.
property alias dapMenuWidth: columnMenuTab.width
property alias dapLogotypeHeight: logotype.height
///@detalis Menu bar widget.
property Item dapMenuWidget
///@detalis screen downloader widget.
......@@ -39,13 +36,14 @@ Rectangle
id: logotype
data: dapLogotype
width: columnMenuTab.width
height: dapLogotype.height
}
// Menu bar widget
Item
{
id: menuWidget
data: dapMenuWidget
width: columnMenuTab.width
width: dapMenuWidget.width
height: columnMenuTab.height - logotype.height
}
}
......
......@@ -11,18 +11,20 @@ Rectangle
///@detalis Right panel widget.
property alias dapFrame: frameRightPanel
///@detalis Right pane title widget.
property alias dapHeader: header
property alias dapHeader: headerRightPanel
///@detalis Right pane header data.
property Item dapHeaderData
///@detalis Stack of right panels owned by current.
property alias dapContentItemPanel: contentItemPanel
property alias dapContentPanel: contentItemRightPanel
///@detalis Content of the current right panel.
property Item dapContentItemData
anchors.fill: parent
// Install right panel title
Item
{
id: header
id: headerRightPanel
data: dapHeaderData
anchors.top: parent.top
anchors.left: parent.left
......@@ -31,9 +33,9 @@ Rectangle
// Install right panel content
Item
{
id: contentItemPanel
id: contentItemRightPanel
data: dapContentItemData
anchors.top: header.bottom
anchors.top: headerRightPanel.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
......
......@@ -7,10 +7,10 @@ import QtQuick.Controls 2.0
Rectangle
{
id: frame
id: frameScreen
///@detalis Frame widget.
property alias dapFrame: frame
property alias dapFrame: frameScreen
///@detalis Screen components.
property Item dapContenetItemScreen
......@@ -21,5 +21,6 @@ Rectangle
{
id: contenetItemScreen
data: dapContenetItemScreen
anchors.fill: parent
}
}
......@@ -27,41 +27,41 @@ Rectangle
{
id: topPanel
data: dapTopPanel
height: dapTopPanel.height
width: parent.width
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
}
// Install the screen widget and the right panel
Rectangle
Row
{
anchors.top: topPanel.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
Row
{
anchors.fill: parent
// Screen widget
Item
{
id: screen
data: dapScreen
height: parent.height
}
// Separator widget
Rectangle
{
id: separator
height: parent.height
}
// Right pane widget
Item
{
id: rightPanel
data: dapRightPanel
height: parent.height
}
// Screen widget
Item
{
id: screen
data: dapScreen
height: parent.height
width: parent.width - separator.width - rightPanel.width
}
// Separator widget
Rectangle
{
id: separator
height: parent.height
}
// Right pane widget
Item
{
id: rightPanel
data: dapRightPanel
height: parent.height
width: dapRightPanel.width
}
}
}
......@@ -7,8 +7,8 @@ import QtQuick.Controls 2.0
Rectangle
{
id: frame
id: frameTopPanel
///@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