Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Firewall
Commits
851fe6c7
Commit
851fe6c7
authored
Jan 25, 2021
by
Tomaz Canabrava
Browse files
Redo the About screen
parent
a04287de
Changes
2
Hide whitespace changes
Inline
Side-by-side
kcm/package/contents/ui/About.qml
View file @
851fe6c7
...
...
@@ -4,33 +4,27 @@
import
QtQml
2.12
import
QtQuick
2.12
import
QtQuick
.
Layouts
1.3
import
QtQuick
.
Controls
2.12
as
QQC2
import
QtQuick
.
Controls
1.4
as
QQC1
import
org
.
kde
.
kirigami
2.12
as
Kirigami
import
org
.
kde
.
kcm
1.2
as
KCM
import
org
.
kde
.
kitemmodels
1.0
import
org
.
kcm
.
firewall
1.0
KCM.ScrollViewKCM
{
id
:
root
title
:
i18n
(
"
About
"
)
Kirigami.OverlaySheet
{
id
:
sheet
header
:
Kirigami.Heading
{
text
:
i18n
(
"
About Firewall
"
)
}
header
:
Kirigami.FormLayout
{
Kirigami.FormLayout
{
QQC2.Label
{
Kirigami.FormData.label
:
i18n
(
"
Firewall b
ackend:
"
)
Kirigami.FormData.label
:
i18n
(
"
B
ackend:
"
)
text
:
kcm
.
client
.
name
}
QQC2.Label
{
//
Kirigami.FormData.
L
abel: i18n("
Backend Informat
ion:")
Kirigami.FormData.
l
abel
:
i18n
(
"
Vers
ion:
"
)
text
:
kcm
.
client
.
version
()
}
}
view
:
Flickable
{
Image
{
source
:
"
plasma_firewall.png
"
}
}
}
kcm/package/contents/ui/main.qml
View file @
851fe6c7
...
...
@@ -405,7 +405,7 @@ KCM.ScrollViewKCM {
QQC2.Button
{
icon.name
:
"
help-about
"
text
:
i18n
(
"
About
"
)
onClicked
:
kcm
.
push
(
"
About.qml
"
)
onClicked
:
about
.
sheetOpen
=
true
}
}
...
...
@@ -420,5 +420,9 @@ KCM.ScrollViewKCM {
kcm
.
client
.
refresh
();
}
}
About
{
id
:
about
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment