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

[+] Added comment.

parent a4fe0432
No related branches found
No related tags found
No related merge requests found
//****************************************************************************
// Implements the right panel widget.
//****************************************************************************
import QtQuick 2.4 import QtQuick 2.4
import QtQuick.Controls 2.0 import QtQuick.Controls 2.0
Rectangle { Rectangle
id: dapRightPanel {
id: rightPanel
property alias rightPanel: dapRightPanel // Right panel widget
property alias header: dapHeader property alias dapRightPanel: rightPanel
property Item headerData: Item { } // Right pane title widget
property alias childRightPanels: dapChildRightPanels property alias dapHeader: header
property Item contentItemPanel: Item { } // Right pane header data
property Item dapHeaderData: Item { }
//
property alias dapChildRightPanels: childRightPanels
//
property Item dapContentItemPanel: Item { }
rightPanel.anchors.top: parent.top dapRightPanel.anchors.top: parent.top
rightPanel.anchors.bottom: parent.bottom dapRightPanel.anchors.bottom: parent.bottom
rightPanel.anchors.right: parent.right dapRightPanel.anchors.right: parent.right
Item Item
{ {
id: dapHeader id: header
data: headerData data: dapHeaderData
anchors.top: parent.top anchors.top: parent.top
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
...@@ -25,8 +35,8 @@ Rectangle { ...@@ -25,8 +35,8 @@ Rectangle {
StackView StackView
{ {
id: dapChildRightPanels id: childRightPanels
initialItem: contentItemPanel initialItem: dapContentItemPanel
anchors.top: dapHeader.bottom anchors.top: dapHeader.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
......
import QtQuick 2.4 import QtQuick 2.4
DapScreenForm { DapScreenForm
{
} }
//****************************************************************************
// Implements a screen widget.
//****************************************************************************
import QtQuick 2.4 import QtQuick 2.4
import QtQuick.Controls 2.0 import QtQuick.Controls 2.0
Rectangle { Rectangle
id: dapFrame {
id: frame
property alias frame: dapFrame // Frame widget
property Item contenetItemScreen property alias dapFrame: frame
// Screen components
property Item dapContenetItemScreen
anchors.fill: parent anchors.fill: parent
Item { // Install screen components
id: dapContenetItemScreen Item
data: contenetItemScreen {
id: contenetItemScreen
data: dapContenetItemScreen
} }
} }
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
//****************************************************************************
// Implements a general view of the tab.
//****************************************************************************
import QtQuick 2.4 import QtQuick 2.4
import QtQuick.Controls 2.0 import QtQuick.Controls 2.0
Page { Page
property DapTopPanelForm topPanelForm {
property DapScreenForm screenForm // Top panel widget
property alias separator: dapSeparator property DapTopPanelForm dapTopPanelForm
property DapRightPanelForm rightPanelForm // Screen widget
property DapScreenForm dapScreenForm
// Separator widget
property alias dapSeparator: separator
// Right pane widget
property DapRightPanelForm dapRightPanelForm
anchors.fill: parent anchors.fill: parent
// Install the top panel widget
header: topPanelForm header: dapTopPanelForm
// Install the screen widget and the right panel
contentItem: contentItem:
Rectangle { Rectangle
Item
{ {
id: dapScreenForm // Screen widget
data: screenForm Item
height: parent.height {
anchors.left: parent.left id: screenForm
anchors.right: separator.left data: dapScreenForm
} height: parent.height
anchors.left: parent.left
Rectangle { anchors.right: separator.left
id: dapSeparator }
height: parent.height // Separator widget
width: 3 * pt Rectangle
color: "green" {
anchors.right: dapRightPanelForm.left id: separator
height: parent.height
width: 3 * pt
color: "green"
anchors.right: rightPanelForm.left
}
// Right pane widget
Item
{
id: rightPanelForm
data: dapRightPanelForm
height: parent.height
anchors.right: parent.right
}
} }
Item
{
id: dapRightPanelForm
data: rightPanelForm
height: parent.height
width: rightPanelForm.width
anchors.right: parent.right
}
}
}
/*##^## Designer {
D{i:0;autoSize:true;height:480;width:640}
} }
##^##*/
import QtQuick 2.4 import QtQuick 2.4
DapTopPanelForm { DapTopPanelForm
{
} }
//****************************************************************************
// Implements a general view of the top tab bar.
//****************************************************************************
import QtQuick 2.4 import QtQuick 2.4
import QtQuick.Controls 2.0 import QtQuick.Controls 2.0
Rectangle { Rectangle
id: dapFrame {
id: frame
property alias frame: dapFrame property alias dapFrame: frame
}
/*##^## Designer {
D{i:0;autoSize:true;height:480;width:640}
} }
##^##*/
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