Commit graph

22 commits

Author SHA1 Message Date
Albert Vaca Cintora
799e00d252 Improve accessibility based on HAN university accessibility report
Unfortunately, most issues are in Kirigami and we can't fix them from our side. Namely, these things remain unfixed: 
- `Kirigami.PlaceholderMessage` are not read by screen readers
- When navigating with the keyboard, pressing tab selects elements from right to left, which is weird
- When navigating with the keyboard, the selected element is not highlighted
- `Kirigami.Action` that don't have a `text` property don't use the `Accessible.name` property when using a screen reader.
2024-03-12 14:26:37 +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
Albert Vaca Cintora
0c1e0df5ae Do not use toLocaleTimeString to convert ms to hh:mm:ss format
The current code didn't seem to work on all locales
2023-06-29 08:28:25 +00:00
Albert Vaca Cintora
2e0550651e Remove mpris "nowPlaying" field
We've had separate title & artist for a while, and all clients should be
using those by now.

Also fixes the position change not being emitted when the song changes,
and fixes the values being written after emitting that they changed.
2023-06-08 21:58:58 +00:00
Nicolas Fella
40c155f990 [app/mpris] Fix displaying times > 2h
We need to apply the correction for all hours >= 1, not just 1
2021-02-07 15:39:03 +00:00
Nicolas Fella
87db95b22f Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
Nicolas Fella
6cbaaa1a80 [app/mpris] Use property binding 2020-07-17 01:48:20 +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
749dcfa148 [app/mpris] Support non-seekable players 2019-07-17 21:19:53 +00:00
Nicolas Fella
3b8fedea1a Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Billy Laws
27f47ce8d4 Add a progress slider to mpris remote in app
Summary:
The progress slider can be mooved to seek through the song and
will display song length and current position on sides.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17417
2018-12-18 02:50:54 +01:00
Billy Laws
05a34747f3 Add mute button with dynamic icon to MPRIS volume control
Summary:
The icon changes depending on the slider value and clicking it
will switch the volume between 0 and 100

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: apol, broulik, albertvaka, nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16962
2018-11-27 21:30:25 +00:00
Nicolas Fella
f094408171 Show message and hide controls if no player is available
Summary: Instead of showing empty controls show a message that no players are available

Test Plan: Use eyes

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12830
2018-07-12 15:22:38 +02:00
Aleix Pol
b4b48b97d6 Port to QQC2 2018-06-08 01:58:50 +02:00
Nicolas Fella
1934585c41 Use title, album and artist in UI
Summary: Depends on D12546

Test Plan: Look at it

Reviewers: #kde_connect, apol, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: kdeconnect, mtijink, apol, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12552
2018-05-12 18:04:44 +02:00
Aleix Pol
51c4eb68c6 Port to kirigami 2.0 2017-05-09 11:41:55 +02:00
Aleix Pol
f654e75820 Improve how we handle the different plugin pages 2016-08-21 13:05:43 +02:00
Aleix Pol
d6eb2d07bc Port the experimental application to kirigami 2016-06-06 01:21:37 +02:00
Martin Gräßlin
56b6c019dc [app] Do not runtime depend on Qt 5.5
Reviewed-By: apol
2015-07-22 12:06:49 +02:00
Aleix Pol
2b844e59da Improve app mpris interface 2015-07-19 22:20:47 +02:00
Aleix Pol
5c79e8a7a6 Implement an MPRIS client plugin
Makes it possible to control remote MPRIS instances.

REVIEW: 124100
2015-06-18 04:01:01 +02:00