Commit graph

257 commits

Author SHA1 Message Date
Piyush Aggarwal
02ed0699ff set app style to breeze explicitly on Windows 2021-06-03 03:15:35 +05:30
Piyush Aggarwal
aee2b593de icons: add qrc for device status icons 2021-06-02 00:02:35 +00:00
Piyush Aggarwal
d773959a5d remove hardcoded window icon path in favour of fromTheme call 2021-05-23 10:42:29 +05:30
Bharadwaj Raju
036704e161 Fix text color in Plugin Settings
Remove references to nonexistent "listItem" for getting color
2021-05-11 09:53:43 +05:30
l10n daemon script
f4211e0431 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-04-22 01:12:28 +00:00
Nicolas Fella
3e7ac98f28 Default to qqc2-desktop-style and add it as runtime dependency
On Plasma qqc2-desktop-style is used automatically, but not on other
DEs. Set it as a default and allow overriding it via environment
variables.

Also add it as a runtime dep so distros actually ship it.
2021-03-18 23:47:22 +00:00
Nicolas Fella
645bf381c4 Add missing license headers
I'm the sole author of these files
2021-02-27 20:04:47 +01: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
l10n daemon script
a558af4dd3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-01-16 06:40:31 +01:00
l10n daemon script
38afb807bf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-12-07 06:11:38 +01:00
Nicolas Fella
473b1f07c3 [app] Improve plugin config delegates
Add description and make them more consistent with other list items in
KDE.
2020-11-16 12:21:47 +00:00
Nicolas Fella
753b1a2b0c Constify variable 2020-11-16 12:21:47 +00:00
Piyush Aggarwal
101bda832d setWindowIcon: add fallback window icons 2020-11-11 17:28:37 +05:30
Nicolas Fella
a600c27490 Set window icons for GUI executables
Otherwise the task bar entry on Gnome won't have an icon.
2020-10-24 22:21:23 +02:00
Bharadwaj Raju
cb51cb4adf Fix bug with use of drawer hiding when not wideScreen
Make drawer reappear when resized from narrow to wide screen if drawer
was closed in narrow mode.
2020-09-25 17:42:22 +05:30
Carl Schwan
5d9dad3d7e Remove hack introduced by previous commit
Instead of hardcoding font size, use default font size, this makes the
height of the Heading normal and don't overflow.
2020-09-19 14:59:35 +02:00
Carl Schwan
21f0227e06 Use Kirigami header in sidebar 2020-09-19 12:51:11 +00:00
l10n daemon script
e57fd79f26 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-09-19 06:10:24 +02:00
l10n daemon script
b7bdc75ff9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-09-17 06:15:05 +02: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
l10n daemon script
90a3ded076 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-08-09 05:37:05 +02:00
Pino Toscano
d7a0616094 Merge remote-tracking branch 'origin/release/20.08' into master 2020-08-08 11:18:16 +02: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
5657547179 [app/volume] Use property setter 2020-08-07 00:08:31 +02:00
l10n daemon script
10de7b3763 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-23 09:50:37 +02:00
Nicolas Fella
6cd0a92ca2 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
(cherry picked from commit 198789e6fc)
2020-07-18 23:59:07 +02: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
6cbaaa1a80 [app/mpris] Use property binding 2020-07-17 01:48:20 +02:00
Nicolas Fella
cefe6eec14 Add text to pair confirmation page 2020-07-17 01:31:16 +02:00
Nicolas Fella
a27d684f16 [app] Use subtitle in list item 2020-07-17 01:05:22 +02:00
Nicolas Fella
b7332f882d [app] Port runcommand page to ScrollablePage
(cherry picked from commit 3a309cc72f)
2020-07-16 14:39:05 +02:00
Nicolas Fella
3a309cc72f [app] Port runcommand page to ScrollablePage 2020-07-12 02:25:38 +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
l10n daemon script
0c32010a28 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-06 05:30:08 +02:00
Nicolas Fella
4531cebe18 [app] Add placeholder message around pair button 2020-07-05 20:00:29 +02:00
Nicolas Fella
c8a87db367 Merge branch 'release/20.04' 2020-07-05 15:49:58 +02:00
Jonah Brüchert
e5c6003399
app: Elide device name in global drawer 2020-06-22 18:58:32 +02:00
l10n daemon script
e44e4a4c19 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-20 05:10:40 +02:00
l10n daemon script
373557cd26 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-18 08:27:38 +02:00
l10n daemon script
653a708727 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-18 05:39:20 +02:00
l10n daemon script
5fe8d7ea90 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-17 16:50:11 +02:00
l10n daemon script
e873eddcde SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-17 14:06:59 +02:00
Nicolas Fella
c4f4f8d408 [app/mousepad] Prevent page change during input 2020-06-16 17:59:36 +02:00
l10n daemon script
046a572542 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-07 08:58:38 +02:00
Tobias Fella
ef965c34cf Port App to Kirigami.PlaceholderMessage 2020-05-02 00:18:22 +02:00
l10n daemon script
baf52b49ac SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-04-08 11:04:09 +02:00
l10n daemon script
43ea8052fe SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-04-08 06:32:15 +02:00
l10n daemon script
1634126eb5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-04-07 10:16:35 +02:00
l10n daemon script
0e04769a43 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-04-07 06:11:40 +02:00
l10n daemon script
87d58643a2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-03-17 10:05:04 +01:00
l10n daemon script
201be5d898 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-03-16 10:21:09 +01:00
Nicolas Fella
5931de875e [app/volume] Elide sink name label 2020-03-15 22:09:31 +01:00
l10n daemon script
7eee223dfc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-03-02 05:46:53 +01:00
Nicolas Fella
bd7b4c305a Use Kirigami.ListSectionHeader 2020-02-06 16:43:44 +01:00
Laurent Montel
0f707cc709 It alreadys added by kaboutdata 2020-01-12 14:46:21 +01:00
Yuri Chornoivan
f84b3c8c11 Fix localization of app and smsapp. Patch mainly by Victor Ryzhykh. 2019-12-21 09:59:36 +02:00
l10n daemon script
cb307e16b2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-11-17 05:06:27 +01:00
Nicolas Fella
f7296dfcf5 Don't highlight entries in device and plugin list 2019-10-15 20:19:40 +02:00
Nicolas Fella
f58a99e388 Fix background of device name on Plasma Mobile 2019-10-15 20:13:17 +02:00
Nicolas Fella
8d8989ea09 Coding style++ 2019-10-15 20:07:45 +02:00
Nicolas Fella
92ac51465f Simplify page pushing 2019-10-15 20:06:04 +02:00
Nicolas Fella
30806667f0 fix executable name 2019-09-29 20:21:25 +02:00
Nicolas Fella
c451d7064e rename app to kdeconnect-app 2019-09-10 17:59:30 +02:00
l10n daemon script
392d287b64 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-08-11 04:47:22 +02:00
l10n daemon script
5427754e21 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-08-01 04:51:32 +02:00
l10n daemon script
1141271bc2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-07-22 05:05:01 +02:00
Nicolas Fella
6c6689491e [app] Rework sidebar header 2019-07-21 18:40:16 +00:00
Nicolas Fella
245eb954d5 Rename kcapp to kdeconnect 2019-07-21 11:02:24 +00:00
Nicolas Fella
abac7dac46 Remove KDeclarative dependency from app 2019-07-18 01:15:35 +00:00
Nicolas Fella
749dcfa148 [app/mpris] Support non-seekable players 2019-07-17 21:19:53 +00:00
l10n daemon script
3d0acf15a5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-06-27 05:13:07 +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
l10n daemon script
1d3368532a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-02-26 05:29:15 +01:00
Nicolas Fella
f345b05838 Use ListView for plugins list 2019-02-21 17:13:28 +00:00
Nicolas Fella
afe8c95afa Give list headers a little padding 2019-02-10 22:57:28 +01:00
Nicolas Fella
2687ee5483 Set icon color 2019-02-09 00:17:07 +01:00
Nicolas Fella
e14b3dde32 Fix icon display on PM 2019-02-08 16:40:47 +00:00
Nicolas Fella
8548ebd032 Clean up includes 2019-02-03 01:44:22 +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
l10n daemon script
baef9265d9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-12-02 05:23:51 +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
793c74e89e Show text when device is not reachable 2018-11-26 22:56:26 +01: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
00111e41e1 [app] Use new mouse icons 2018-11-22 01:27:11 +01:00
Nicolas Fella
3865307619 Fix device name display in app 2018-11-18 21:13:43 +01:00
Nicolas Fella
861a0441b5 Add RemoteKeyboard control to app
Summary:
Add textfield for remote keyboard input to app

{F6397375}

Test Plan: Write some text

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16747
2018-11-08 02:53:03 +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
Nicolas Fella
ae53c9c0bf Fix deprecation warning
Test Plan: App still starts

Reviewers: #kde_connect, sredman

Reviewed By: #kde_connect, sredman

Subscribers: sredman, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16626
2018-11-07 16:06:21 +01:00
Nicolas Fella
7c89338deb Add a little margin 2018-11-05 02:05:02 +01:00
Nicolas Fella
71ef6f6ba9 Add explicit edit mode to device name field
Summary: Similar to what we do in the KCM. Show the name in a label and make it editable per button.

Test Plan: Rename device

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16639
2018-11-05 01:56:25 +01:00
Nicolas Fella
2a8938e09f Show message when clicking add commands
Summary: It isn't obvious what happens when clicking the add commands action. Show a message.

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16549
2018-11-03 00:27:29 +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
1359a9c059 Don't use deprecated ApplicationHeader
Summary:
Use the implicit header

This makes the Add commands action show up in the top bar on desktop

Desktop
{F6375830}

Mobile
{F6375831}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16548
2018-10-31 16:50:52 +01:00
Albert Vaca
1e9a1f93ed Fix license header for smsapp 2018-10-11 22:52:42 +02:00
Nicolas Fella
7307cd2709 [App] Always show drawer on Desktop
Summary: A drawer is not good UX on the desktop. Only collapse it when on mobile or window is very narrow

Test Plan:
{F6319485}
{F6319492}

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16122
2018-10-11 16:30:02 +02:00