Skip to content
GitLab
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
8c7e8748
Commit
8c7e8748
authored
Mar 05, 2020
by
Tomaz Canabrava
Browse files
Fixed last of the issues with visualization and icons
parent
b274bd25
Changes
3
Hide whitespace changes
Inline
Side-by-side
kcm/package/contents/ui/ConnectionsView.qml
View file @
8c7e8748
...
...
@@ -96,7 +96,7 @@ KCM.ScrollViewKCM {
width
:
Kirigami
.
Units
.
iconSizes
.
small
delegate
:
QQC2.ToolButton
{
icon.name
:
"
list-remove
"
icon.name
:
"
user-trash
"
Layout.alignment
:
Qt
.
AlignRight
visible
:
model
?
root
.
currentHoveredRow
===
model
.
row
:
false
onClicked
:
{
...
...
kcm/package/contents/ui/LogsView.qml
View file @
8c7e8748
...
...
@@ -61,34 +61,37 @@ KCM.ScrollViewKCM {
QQC1.TableViewColumn
{
title
:
i18n
(
"
Protocol
"
)
role
:
"
protocol
"
width
:
80
width
:
Kirigami
.
Units
.
gridUnit
*
3
}
QQC1.TableViewColumn
{
title
:
i18n
(
"
From
"
)
role
:
"
sourceAddress
"
width
:
10
0
width
:
Kirigami
.
Units
.
gridUnit
*
10
}
QQC1.TableViewColumn
{
role
:
"
sourcePort
"
width
:
50
width
:
Kirigami
.
Units
.
gridUnit
*
3
}
QQC1.TableViewColumn
{
title
:
i18n
(
"
To
"
)
role
:
"
destinationAddress
"
width
:
10
0
width
:
Kirigami
.
Units
.
gridUnit
*
10
}
QQC1.TableViewColumn
{
role
:
"
destinationPort
"
width
:
50
width
:
Kirigami
.
Units
.
gridUnit
*
3
}
QQC1.TableViewColumn
{
title
:
i18n
(
"
Interface
"
)
role
:
"
interface
"
width
:
100
width
:
Kirigami
.
Units
.
gridUnit
*
3
}
QQC1.TableViewColumn
{
resizable
:
false
width
:
Kirigami
.
Units
.
iconSizes
.
small
delegate
:
QQC2.ToolButton
{
icon.name
:
"
list-remove
"
icon.name
:
"
user-trash
"
visible
:
root
.
currentHoveredRow
===
model
.
row
onClicked
:
{
var
rule
=
firewallClient
.
createRuleFromLog
(
...
...
kcm/package/contents/ui/main.qml
View file @
8c7e8748
...
...
@@ -186,7 +186,7 @@ KCM.ScrollViewKCM {
}
}
QQC2.ToolButton
{
icon.name
:
"
list-remove
"
icon.name
:
"
user-trash
"
onClicked
:
{
firewallClient
.
removeRule
(
model
.
row
)
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment