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
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
Albert Vaca Cintora
144a60b58a
Allow disabling clipboard auto-share and add option to share manually
...
Continues the work started in !396 by rebasing it onto latest master and
making the "send clipboard" button from the plasmoid invisible when
automatic syncing is enabled.
I didn't find a way to do the same in kdeconnect-indicator and
kdeconnect-app (why do we have 3 UIs???), so in those we always show the
option for now.
2023-06-07 19:48:25 +00:00
Albert Vaca Cintora
f138a0f07a
Add a spinner to the app when pairing is requested
2023-06-02 16:38:52 +00:00
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
Aleix Pol
6bd8bebad9
mousepad: Provide an out for touchpad users
...
At least my touchpad cannot have left and right buttons at the same time.
This makes it possible to exit at least using the keyboard.
2023-05-12 15:48:25 +02:00
Aleix Pol
9266556510
mousepad: Implement relative mouse movements
...
Somehow it wasn't done.
2023-05-12 15:48:25 +02:00
Carl Schwan
e682304747
Add title and icon to setting
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +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
Carl Schwan
cd0db29609
Use custom sidebar implementation
...
It has nicer default width
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +00:00
Carl Schwan
d74737a1e4
Fix setting page sometimes not visible when clicking on it
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +00:00
Carl Schwan
b930114eb0
Add setting page and expose about data info
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +00:00
ivan tkachenko
4b6caf9af4
Port away from deprecated QML features
2022-09-21 01:14:37 +03:00
Nicolas Fella
bb5ab942b7
[app] Fix reading device name
2022-06-23 11:49:22 +02:00
Piyush Aggarwal
3e1e9f4410
improve mouse lock behaviour and info label text
2021-08-09 03:00:40 +05:30
Aleix Pol
cf8ada2b5d
app: make it possible to lock the mouse when using the remote input
...
It makes it possible to use normal touchpads and mice
2021-07-30 23:25:30 +00:00
Piyush Aggarwal
91c05d0f17
mousepad: add drag support and better click registration
2021-07-16 01:49:49 +05:30
Piyush Aggarwal
85aee29545
app->mousepad.qml: add support for remote click, wheel scroll
2021-07-15 08:18:11 +05:30
Piyush Aggarwal
6c4ba39653
remotecontrolplugin: change sendCommand function params to allow support for scroll
2021-07-15 08:18:07 +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
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
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
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
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
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
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
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
Nicolas Fella
4531cebe18
[app] Add placeholder message around pair button
2020-07-05 20:00:29 +02:00
Jonah Brüchert
e5c6003399
app: Elide device name in global drawer
2020-06-22 18:58:32 +02:00
Nicolas Fella
c4f4f8d408
[app/mousepad] Prevent page change during input
2020-06-16 17:59:36 +02:00
Tobias Fella
ef965c34cf
Port App to Kirigami.PlaceholderMessage
2020-05-02 00:18:22 +02:00
Nicolas Fella
5931de875e
[app/volume] Elide sink name label
2020-03-15 22:09:31 +01: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
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