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