Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-dashboard
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
4
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
cellframe-dashboard
Commits
9e5871cd
Commit
9e5871cd
authored
5 years ago
by
Evgenii Tagiltsev
Browse files
Options
Downloads
Patches
Plain Diff
[*] added design for vpn screen
parent
71454057
No related branches found
No related tags found
1 merge request
!33
Bugs 2597
Pipeline
#1030
passed with stage
in 3 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CellFrameDashboardGUI/DapUiQmlScreenVpnForm.ui.qml
+78
-14
78 additions, 14 deletions
CellFrameDashboardGUI/DapUiQmlScreenVpnForm.ui.qml
with
78 additions
and
14 deletions
CellFrameDashboardGUI/DapUiQmlScreenVpnForm.ui.qml
+
78
−
14
View file @
9e5871cd
import
QtQuick
2.4
import
QtQuick
2.4
import
QtQuick
.
Controls
2.5
import
QtQuick
.
Controls
2.5
import
QtQuick
.
Controls
.
Styles
1.4
import
QtGraphicalEffects
1.0
Item
{
Item
{
width
:
400
width
:
400
height
:
600
height
:
600
Text
{
Text
{
id
:
titleVpn
anchors.left
:
parent
.
left
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.top
:
parent
.
top
anchors.leftMargin
:
30
*
pt
anchors.topMargin
:
18
*
pt
color
:
"
#d61f5d
"
font.family
:
"
Roboto Regular
"
font.pixelSize
:
14
*
pt
text
:
"
283 days left
"
}
Row
{
width
:
childrenRect
.
width
anchors.top
:
parent
.
top
anchors.top
:
parent
.
top
anchors.topMargin
:
50
anchors.topMargin
:
40
*
pt
anchors.horizontalCenter
:
parent
.
horizontalCenter
Image
{
id
:
imageVpn
width
:
48
*
pt
height
:
48
*
pt
source
:
"
qrc:/Resources/Icons/defaul_icon.png
"
}
text
:
"
VPN
"
Text
{
font.family
:
"
Roboto
"
id
:
titleVpn
font.pixelSize
:
42
*
pt
anchors.left
:
imageVpn
.
right
anchors.verticalCenter
:
imageVpn
.
verticalCenter
anchors.leftMargin
:
10
*
pt
text
:
"
KELVPN
"
font.family
:
"
Roboto Regular
"
font.pixelSize
:
42
*
pt
}
}
}
Switch
{
Switch
{
id
:
control
id
:
control
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
...
@@ -59,25 +86,62 @@ Item {
...
@@ -59,25 +86,62 @@ Item {
}
}
ComboBox
{
ComboBox
{
id
:
comboboxServer
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.bottom
:
parent
.
bottom
anchors.bottom
:
parent
.
bottom
anchors.bottomMargin
:
40
*
pt
anchors.bottomMargin
:
40
*
pt
width
:
150
*
pt
height
:
48
*
pt
textRole
:
"
name
"
textRole
:
"
name
"
model
:
ListModel
{
model
:
ListModel
{
ListElement
{
name
:
"
first
"
}
id
:
modelTest
ListElement
{
name
:
"
second
"
}
ListElement
{
name
:
"
first
"
;
icon
:
"
qrc:/Resources/Icons/defaul_icon.png
"
}
ListElement
{
name
:
"
second
"
;
icon
:
"
qrc:/Resources/Icons/defaul_icon.png
"
}
}
}
delegate
:
ItemDelegate
{
background
:
Rectangle
{
Text
{
anchors.fill
:
parent
Rectangle
{
id
:
contentCorner
anchors.fill
:
parent
anchors.fill
:
parent
text
:
name
color
:
"
#FFFFFF
"
radius
:
width
/
2
}
DropShadow
{
anchors.fill
:
parent
source
:
contentCorner
verticalOffset
:
4
*
pt
samples
:
13
*
pt
color
:
"
#40000000
"
}
}
contentItem
:
Rectangle
{
anchors.fill
:
parent
color
:
"
transparent
"
Image
{
id
:
imageServer
anchors.left
:
parent
.
left
anchors.leftMargin
:
22
*
pt
anchors.verticalCenter
:
parent
.
verticalCenter
source
:
modelTest
.
get
(
modelTest
.
index
(
comboboxServer
.
currentIndex
,
0
)).
icon
width
:
24
*
pt
height
:
24
*
pt
}
Text
{
anchors.left
:
imageServer
.
right
anchors.leftMargin
:
10
*
pt
anchors.verticalCenter
:
parent
.
verticalCenter
text
:
comboboxServer
.
currentText
font.family
:
"
Roboto Light
"
font.pixelSize
:
16
*
pt
}
}
}
}
// background: Rectangle {
// radius: parent.height / 2
// }
}
}
}
}
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