Commit graph

33 commits

Author SHA1 Message Date
Albert Vaca Cintora
064ddfa3fe Refactor PairingHandler
We now have a single PairingHandler for all types of links.

The implementation now is more aligned with the one for Android.
2023-06-02 16:38:52 +00:00
Carl Schwan
f12aa5d88f Fix qml warning
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +00:00
Carl Schwan
b55013f57a Improve coding style
- Use latest QQC2 import
- Remove curvy brance from single statement block

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +00:00
Nicolas Fella
400c800deb [app] Add plugin settings page
Include a page that allows (de)selecting and configuring plugins

This is one of the last missing pieces for feature parity with the KCM.
2020-09-08 20:33:20 +02:00
Nicolas Fella
87db95b22f Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
Nicolas Fella
198789e6fc Fix file dialog usage in app and plasmoid
fileDialog.open() does *not* block, so we need to move the sending to onAccepted. Not sure why I thought this ever worked.

BUG: 423975
2020-07-18 21:57:15 +00:00
Nicolas Fella
cefe6eec14 Add text to pair confirmation page 2020-07-17 01:31:16 +02:00
Nicolas Fella
151f829308 [app] Rework device page
To achive the proper scrolling behaviour it needs to be a ScrollablePage. In order to do that correctly the listview needs to be the direct content item of the page. Therefore we need to get rid of the loader and the various placeholder messages are parented to the listview.
2020-07-06 10:50:01 +00:00
Nicolas Fella
4531cebe18 [app] Add placeholder message around pair button 2020-07-05 20:00:29 +02:00
Tobias Fella
ef965c34cf Port App to Kirigami.PlaceholderMessage 2020-05-02 00:18:22 +02:00
Yuri Chornoivan
f84b3c8c11 Fix localization of app and smsapp. Patch mainly by Victor Ryzhykh. 2019-12-21 09:59:36 +02:00
Nicolas Fella
f7296dfcf5 Don't highlight entries in device and plugin list 2019-10-15 20:19:40 +02:00
Rituka Patwal
d0cb028a84 add icons for pair, accept, reject 2019-03-26 12:30:04 +00:00
Nicolas Fella
3b8fedea1a Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Piyush Aggarwal
ad14953c21 add menu icons 2019-03-19 14:42:12 +00:00
Nicolas Fella
6a804faca8 Fix icon display on PM again 2019-03-08 22:24:38 +00:00
Nicolas Fella
f345b05838 Use ListView for plugins list 2019-02-21 17:13:28 +00:00
Nicolas Fella
793c74e89e Show text when device is not reachable 2018-11-26 22:56:26 +01:00
Nicolas Fella
2f76d2143f [app] Add system volume control
Summary: Add a remote systemvolume plugin.

Test Plan:
Change volume via slider -> Volume on target changes
Change volume on target -> Slider changes

Mute via button -> Mute on target changes
Mute on target -> Button changes icon

Add/remove sink on host -> Sink is add/removed in list

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16667
2018-11-08 00:43:12 +01:00
Billy Laws
f15c21e56b Add support for sharing files from QML app
Summary: This allows you to a share a local file to a remote device using the qml app.

Reviewers: nicolasfella

Reviewed By: nicolasfella

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16614
2018-11-02 21:42:08 +01:00
Nicolas Fella
17e1e1eced Enable running commands from app
Summary:
The RemotecommandsPlugin lacks a graphical frontend.

Inlcudes a Dbus Interface for fetching the commands and a Model exposing them to QML. For this I oriented on the NotificatonsPlugin.

Test Plan:
Open command list in app, check available commands, trigger some. Do same for CLI.
Activate edit action, check KCM opening on remote device, add command, check for new command in list

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13503
2018-06-20 08:23:15 +02:00
Nicolas Fella
cb470ce311 Enable accepting/rejecting pairing from app
Test Plan: Open app, request pairing from other device, accept/reject it

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13452
2018-06-12 14:25:26 +02:00
Aleix Pol
db2e1af179 kcapp: Make both the device and find device page look similar
Use ScrollablePage or drop paddings
Don't add spacing between delegates
2018-06-08 20:22:54 +02:00
Aleix Pol
9bc9aba474 kcapp: Add a presentation mode
Just does presentation things, could do more.
2018-06-08 20:17:06 +02:00
Aleix Pol
b4b48b97d6 Port to QQC2 2018-06-08 01:58:50 +02:00
Aleix Pol
51c4eb68c6 Port to kirigami 2.0 2017-05-09 11:41:55 +02:00
Aleix Pol
aef02c0cce Add findmyphone 2016-08-21 17:54:25 +02:00
Aleix Pol
64e0250d99 Properly case unpair 2016-08-21 17:54:15 +02:00
Aleix Pol
f654e75820 Improve how we handle the different plugin pages 2016-08-21 13:05:43 +02:00
Aleix Pol
70b6e5f804 Implement PluginChecker for plugin availability 2016-06-12 22:31:09 +02:00
Aleix Pol
fb8f468535 Unify naming with the Android client 2016-06-08 18:39:16 +02:00
Aleix Pol
e30a2d6bcf Move some of the options into the ContextDrawer 2016-06-08 18:38:48 +02:00
Aleix Pol
794e8c6904 Make the app work a bit more like the Android version 2016-06-08 18:37:57 +02:00
Renamed from app/qml/Device.qml (Browse further)