Commit graph

36 commits

Author SHA1 Message Date
Albert Astals Cid
c0036d2d9b Use QML ListView in KCM 2024-10-06 21:40:39 +00:00
Carl Schwan
239e53a469 kdeconnect-app: Add placeholder icon to device list 2024-10-06 11:03:35 +00:00
Carl Schwan
6acab1365f kdeconnect-app: Remove useless icon.color: transparent 2024-10-05 20:35:44 +00:00
Aleix Pol
e0a64f4a30 app: Put the Placeholder inside the view
If there's more than one main item in the ScrollablePage, QtQuick gets
confused and the placeholder does not get displayed.
2024-03-06 21:58:04 +00:00
Nicolas Fella
37ff0b5318 [app] Remove QML import versions
Those are not needed in Qt6 and only get in the way
2023-12-25 15:56:13 +00:00
Nicolas Fella
dd88056693 [app] Fix ListSectionHeader width 2023-12-25 15:56:03 +00:00
Nicolas Fella
7fcafdf12e Port away from Kirigami BasicListItem
It doesn't exist any more in KF6
2023-12-23 16:34:47 +00:00
Albert Astals Cid
4fa2e93246 Improve/change "Pair" i18n messages 2023-07-22 18:05:25 +00:00
Alexander Lohnau
f57d59e605 Fix runtime issues with Qt6
To have the code bits reusable, they are defined as cmake variables.
In order to make the relative paths work and avoid touching every line
from the QRC, the resulting file is put into the source dir.
2023-07-20 13:32:07 +03:00
Nicolas Fella
bb5ab942b7 [app] Fix reading device name 2022-06-23 11:49:22 +02:00
Nicolas Fella
87db95b22f Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
Nicolas Fella
05a1978331 [app] Allow refreshing the device list
The Android app and the KCM allow forcing a refresh, which is useful sometimes. kdeconnect-app should have that too given we want to replace the KCM.
2020-08-07 12:56:47 +02:00
Nicolas Fella
a27d684f16 [app] Use subtitle in list item 2020-07-17 01:05:22 +02:00
Tobias Fella
ef965c34cf Port App to Kirigami.PlaceholderMessage 2020-05-02 00:18:22 +02:00
Nicolas Fella
bd7b4c305a Use Kirigami.ListSectionHeader 2020-02-06 16:43:44 +01: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
Nicolas Fella
3b8fedea1a Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Nicolas Fella
6a804faca8 Fix icon display on PM again 2019-03-08 22:24:38 +00:00
Nicolas Fella
afe8c95afa Give list headers a little padding 2019-02-10 22:57:28 +01:00
Nicolas Fella
e14b3dde32 Fix icon display on PM 2019-02-08 16:40:47 +00:00
Alex Kovrigin
1cee137dcb Align behaviour of the desktop app with the Android app
Summary: Now devices are shown same as in Android app, as in Kirigami app (kcapp)

Test Plan:
* Build kdeconnect, using the experimental version
* Try pairing, unpairing, connecting and disconnected devices.
* See the difference.

Reviewers: albertvaka, #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16935
2018-11-26 22:15:01 +01:00
Nicolas Fella
2de96e86ac Revert "Fix device name display in app"
This reverts commit 3865307619.
2018-11-26 15:51:28 +01:00
Nicolas Fella
3865307619 Fix device name display in app 2018-11-18 21:13:43 +01:00
Nicolas Fella
bd5c3ca460 [App] Show message when no device is found
Summary: {F6286990}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D15784
2018-09-27 18:16:39 +02:00
Nicolas Fella
aaa95cf6db Revert accidental change 2018-08-03 02:42:21 +02:00
Nicolas Fella
81cc275f5b Fix NotificationListener Test 2018-08-03 02:40:34 +02:00
Nicolas Fella
51f3394a21 Do not disable paired devices in list
Summary: There is no reason to disable it. On Android we do the same

Test Plan: Click on paired device in list, correct Page opens

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13454
2018-06-12 14:27:29 +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
b4b48b97d6 Port to QQC2 2018-06-08 01:58:50 +02:00
Aleix Pol
61d3d6c1a1 Kirigami: Don't clear the stack when changing devices from finddevice page
It allows simpler navigation and it doesn't show the weird behavior we
used to have.
2018-06-08 01:49:35 +02:00
Nicolas Fella
aa5aeedf0a Fix another DBus connection in Kirigami app
Summary: When a DevicePage is created from FindDevicePage the device is not passed correctly, resulting in some device is null warnings. The pair button still does not work, but it seems to be another issue.

Test Plan: I could set the button text to the device id, so the device is passed correctly. The button still does not work as intended though.

Reviewers: #kde_connect

Subscribers: apol, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12506
2018-04-28 00:25:17 +02:00
Aleix Pol
51c4eb68c6 Port to kirigami 2.0 2017-05-09 11:41:55 +02:00
Aleix Pol
d84a1a108b Mark the current section 2016-08-21 18:45:49 +02:00
Aleix Pol
f654e75820 Improve how we handle the different plugin pages 2016-08-21 13:05:43 +02:00
Aleix Pol
794e8c6904 Make the app work a bit more like the Android version 2016-06-08 18:37:57 +02:00