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
Network
KDE Connect
Commits
3a309cc7
Commit
3a309cc7
authored
Jul 12, 2020
by
Nicolas Fella
Browse files
[app] Port runcommand page to ScrollablePage
parent
af8a5bc4
Pipeline
#26806
passed with stage
in 6 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/qml/runcommand.qml
View file @
3a309cc7
...
...
@@ -24,7 +24,7 @@ import QtQuick.Layouts 1.1
import
org
.
kde
.
kirigami
2.12
as
Kirigami
import
org
.
kde
.
kdeconnect
1.0
Kirigami.Page
Kirigami.
Scrollable
Page
{
id
:
root
title
:
i18nd
(
"
kdeconnect-app
"
,
"
Run command
"
)
...
...
@@ -41,23 +41,22 @@ Kirigami.Page
ListView
{
id
:
commandsList
anchors.fill
:
parent
model
:
RemoteCommandsModel
{
deviceId
:
pluginInterface
.
deviceId
}
delegate
:
Kirigami.BasicListItem
{
width
:
ListView
.
view
.
width
label
:
name
+
"
\n
"
+
command
label
:
name
subtitle
:
command
onClicked
:
pluginInterface
.
triggerCommand
(
key
)
reserveSpaceForIcon
:
false
}
}
Kirigami.PlaceholderMessage
{
visible
:
commandsList
.
count
===
0
text
:
i18nd
(
"
kdeconnect-app
"
,
"
No commands defined
"
)
anchors.centerIn
:
parent
Kirigami.PlaceholderMessage
{
visible
:
commandsList
.
count
===
0
text
:
i18nd
(
"
kdeconnect-app
"
,
"
No commands defined
"
)
anchors.centerIn
:
parent
}
}
}
Nicolas Fella
@nicolasfella
mentioned in commit
b7332f88
·
Jul 16, 2020
mentioned in commit
b7332f88
mentioned in commit b7332f882d35e0529c0823751e8e42d57b14e4f5
Toggle commit list
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