Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-qt-ui-qml
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
libdap-qt-ui-qml
Commits
9075fe7f
Commit
9075fe7f
authored
5 years ago
by
Andrey Daragan
Browse files
Options
Downloads
Patches
Plain Diff
[+] The header and widget stack are added to the widget of the right panel.
parent
0c04d7a3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DapRightPanelForm.ui.qml
+20
-25
20 additions, 25 deletions
DapRightPanelForm.ui.qml
DapTabForm.ui.qml
+2
-4
2 additions, 4 deletions
DapTabForm.ui.qml
with
22 additions
and
29 deletions
DapRightPanelForm.ui.qml
+
20
−
25
View file @
9075fe7f
...
...
@@ -3,38 +3,33 @@ import QtQuick.Controls 2.0
Rectangle
{
id
:
dapRightPanel
property
alias
rightPanel
:
dapRightPanel
// property alias header: dapHeader
// property Rectangle headerData: undefined
// property alias childRightPanels: dapChildRightPanels
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.right
:
parent
.
right
width
:
350
property
alias
header
:
dapHeader
property
Item
headerData
:
Item
{
}
property
alias
childRightPanels
:
dapChildRightPanels
property
Item
contentItemPanel
:
Item
{
}
rightPanel.anchors.top
:
parent
.
top
rightPanel.anchors.bottom
:
parent
.
bottom
rightPanel.anchors.right
:
parent
.
right
Rectangle
Item
{
id
:
dapHeader
// data: Rectangle
// {
// anchors.fill: parent
// }
data
:
headerData
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
// anchors.fill: parent
height
:
30
color
:
"
blue
"
}
//
StackView
//
{
//
id: dapChildRightPanels
//
initialItem:
parent
//
anchors.top: dapHeader.bottom
//
anchors.left: parent.left
//
anchors.right: parent.right
//
anchors.bottom: parent.bottom
//
}
StackView
{
id
:
dapChildRightPanels
initialItem
:
contentItemPanel
anchors.top
:
dapHeader
.
bottom
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
}
}
This diff is collapsed.
Click to expand it.
DapTabForm.ui.qml
+
2
−
4
View file @
9075fe7f
...
...
@@ -2,11 +2,10 @@ import QtQuick 2.4
import
QtQuick
.
Controls
2.0
Page
{
property
DapTopPanelForm
topPanelForm
:
undefined
property
DapScreenForm
screenForm
:
undefined
property
DapTopPanelForm
topPanelForm
:
DapTopPanelForm
{
}
property
DapScreenForm
screenForm
:
DapScreenForm
{
}
property
alias
separator
:
dapSeparator
property
DapRightPanelForm
rightPanelForm
:
DapRightPanelForm
{
}
// property alias childRightPanels: dapChildRightPanels
anchors.fill
:
parent
...
...
@@ -14,7 +13,6 @@ Page {
contentItem
:
Rectangle
{
anchors.fill
:
parent
Item
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment