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
Bart Ribbers
Plasma Bigscreen
Commits
5fd7b55f
Commit
5fd7b55f
authored
Apr 03, 2020
by
Aditya Mehra
Browse files
add KDE connect to settings and fix keynav
parent
0ac6c88c
Changes
2
Hide whitespace changes
Inline
Side-by-side
containments/homescreen/package/contents/ui/launcher/LauncherHome.qml
View file @
5fd7b55f
...
...
@@ -189,6 +189,11 @@ FocusScope {
text
:
i18n
(
"
Wireless
"
)
icon.name
:
"
network-wireless-connected-100
"
onTriggered
:
plasmoid
.
nativeInterface
.
executeCommand
(
"
plasma-settings -s -m kcm_mediacenter_wifi
"
)
},
Controls.Action
{
text
:
i18n
(
"
KDE Connect
"
)
icon.name
:
"
kdeconnect
"
onTriggered
:
plasmoid
.
nativeInterface
.
executeCommand
(
"
plasma-settings -s -m kcm_mediacenter_kdeconnect
"
)
}
]
...
...
kcms/kdeconnect/package/contents/ui/main.qml
View file @
5fd7b55f
...
...
@@ -61,7 +61,7 @@ KCM.SimpleKCM {
}
}
Keys.onUpPressed
:
root
.
activateDeviceView
()
Keys.onUpPressed
:
connectionView
.
forceActiveFocus
()
onClicked
:
{
Window
.
window
.
close
()
...
...
@@ -96,6 +96,7 @@ KCM.SimpleKCM {
title
:
allDevicesModel
.
count
>
0
?
"
Found Devices
"
:
"
No Devices Found
"
currentIndex
:
0
delegate
:
Delegates.DeviceDelegate
{}
navigationDown
:
kcmcloseButton
Behavior
on
x
{
NumberAnimation
{
duration
:
Kirigami
.
Units
.
longDuration
*
2
...
...
@@ -113,6 +114,7 @@ KCM.SimpleKCM {
anchors.top
:
parent
.
top
anchors.topMargin
:
-
Kirigami
.
Units
.
smallSpacing
anchors.bottom
:
parent
.
bottom
anchors.bottomMargin
:
-
Kirigami
.
Units
.
smallSpacing
anchors.right
:
parent
.
right
visible
:
allDevicesModel
.
count
>
0
?
1
:
0
anchors.rightMargin
:
-
Kirigami
.
Units
.
smallSpacing
...
...
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