Commit graph

30 commits

Author SHA1 Message Date
ivan tkachenko
90946829bf
plasmoid: Basic code cleanup 2024-07-12 11:44:13 +03:00
ivan tkachenko
1f164e3860
Use ellipses instead of triple period
A real ellipsis character is better for accessibility, as screen readers
will describe it appropriately.
2024-07-12 11:44:11 +03:00
Prajna Sariputra
4caf77445f Remove KF5 plasmoid
Now that KDE Connect has moved to Qt6 only since https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/621 we can remove the old KF5 plasmoid.
2023-12-23 16:34:33 +00:00
Prajna Sariputra
44301dd51f plasmoid: Add port to KF6/Plasma 6 alongside the current KF5/Plasma 5 version
Currently the plasmoid is still written for KF5/Plasma 5, and in addition
it also still uses PlasmaComponents2 stuff, which has been removed in
KF6/Plasma 6. So, this is an attempt to port the plasmoid so that it works
in Plasma 6.

BUG: 476389
2023-11-30 23:41:36 +00:00
Phani Pavan Kambhampati
c5b955fe10 Changed KCM to launch in system settings
KCM used to open in a separate window, changed that behaviour to launch in system settings when launched via the plasmoid.

BUG: 446337
2023-07-30 07:30:52 +00:00
Joshua Goins
abbaa1575b Fix "Pair a Device..." button in plasmoid 2023-01-18 10:29:25 -05:00
Fushan Wen
2c9af9874e
plasmoid: Give PlaceholderMessage an icon
"edit-none": No paired devices

"network-disconnect": All paired devices are unavailable

"kdeconnect": pairedDevicesModel.count < 0
2022-05-09 08:51:04 +08:00
Nate Graham
9c303fee79 plasmoid: Don't show redundant configure button in placeholder message
It's not really needed.

BUG: 448457
2022-01-14 16:08:39 -07:00
Carl Schwan
127992b49d Port ScrollArea to ScrollView
Visually a new scrollbar is now displayed and in terms of behavior
changes the scrolling is now consistent with the other plasmoid.

![image](/uploads/76d7c4e73636be11a78c4e9be22a8027/image.png)
2022-01-04 22:24:28 +00:00
Nicolas Fella
7193cfc927 [plasmoid] Use PlaceholderMessage from PlasmaExtras instead of Kirigami
Otherwise the style may be incorrect

BUG: 434197
2021-03-09 19:20:05 +01:00
Nicolas Fella
1060c1a81a Add API for opening the KCM to daemon
We have a few places that open the KCM, with different arguments.

Centralize the implementation in one place.

This makes it easier to switch to invoking systemsettings5 in the future (once https://invent.kde.org/plasma/systemsettings/-/merge_requests/11 is in).

It also makes sure the relevant device is selected when clicking on a pairing notification.

The function is exposed to DBus for the Plasmoid and potential third-party users.

CCBUG: 425660
2020-10-18 18:40:48 +00:00
Nicolas Fella
87db95b22f Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
Nate Graham
a9d0cb64b7 [applet] Port to Kirigami.PlaceholderMessage
This new Kirigami component was just introduced with
https://phabricator.kde.org/D29057.

ref T13021
2020-04-22 22:49:26 +00:00
Nate Graham
8e0cfd3899 [applet] Standardize presentation on the "devices unavailable" view
Summary:
This patch makes the "devilces unavailable" page follow the general style used in other
similar views throughout Plasma and other KDE software. It also improves the wording
of various buttons and headers to make them more context-sensitive and thus more relevant
to what the user needs to do to solve the problem.

Test Plan:
{F8149680}

{F8149679}

Reviewers:
#VDG, #kde-connect

Subscribers:
2020-03-15 19:53:53 +00:00
Albert Vaca Cintora
db626fa4bd Hide the install buttons if you have already paired some device 2019-09-20 12:24:30 +02:00
Albert Vaca Cintora
7eeed141f0 Add a button to open the settings
If you already have kdeconnect on your phone, the call to action to install
it doesn't make sense.

This doesn't add a string because it reuses one that was already in the
plasmoid
2019-09-19 18:48:58 +02:00
Albert Vaca Cintora
9f8928513d Don't hide the plasmoid, otherwise the install buttons don't make sense 2019-09-19 18:39:45 +02:00
Matthijs Tijink
24eb0799f1 Show install instructions for Android when there are no devices 2019-07-20 18:21:41 +02:00
Nicolas Fella
3b8fedea1a Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Matthijs Tijink
dbce29a66f Revert "Add a refresh button to the plasmoid"
This reverts commit ca4b4227ce.
2018-03-21 17:36:24 +01:00
Matthijs Tijink
ca4b4227ce Add a refresh button to the plasmoid
Summary: This adds a refresh button to the plasmoid if no device is connected.

Test Plan: Refreshing works, and the button only appears when no devices are connected.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: apol, nicolasfella, #kde_connect

Differential Revision: https://phabricator.kde.org/D11501
2018-03-20 19:53:13 +01:00
Kai Uwe Broulik
54d43cebcb [Applet] Make "no device available" heading consistent with other applets
Also ensure that it wraps instead of overflowing in case the text gets too long on translated system.

Differential Revision: https://phabricator.kde.org/D4478
2017-02-07 22:02:38 +01:00
Albert Vaca
932d8db6bc Changed name and action icon for find my phone plugin, plus added tooltip.
Trying to make it more discoverable and less misleading (could look like
a gps-based tool).
2016-05-25 11:51:48 -06:00
Aleix Pol
5d8cf9544c Fix how the plasmoid status is specified
No need to show the FullRepresentation to figure out the status of the
plasmoid.
Moves the code back to the main.qml file so that we're always tracking if
there's actually paired devices.

REVIEW: 122912
2015-03-13 00:56:25 +01:00
Elias Probst
79edcf5685
Visual streamlining of plasmoid.
Adapt the 'No paired devices available' message's style to the style
used by plasma-workspace plasmoids.

REVIEW: 120031
2014-09-02 08:13:26 +02:00
Aleix Pol
e41ca57045 Improve look&feel of kdeconnect plasmoid
Provide a good initial size
Use compact representation when on a panel, full when on the desktop (this
prevented the icon to show on the system tray).

Reviewed by Albert Vaca
2014-08-01 12:04:44 +02:00
Martin Gräßlin
0f334d053f Fix Plasmoid porting errors
Some types changed causing the Plasmoid to end in reference errors.

REVIEW: 119149
2014-07-06 19:33:07 +02:00
Albert Vaca
a303b73238 Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	plasmoid/package/contents/ui/FullRepresentation.qml
	plugins/ping/pingplugin.cpp
2014-07-01 23:59:38 +02:00
Aleix Pol
e1813b16f3 Port plasmoid 2014-06-27 15:29:53 +02:00
Aleix Pol
3e74a97304 Port plasmoid to Plasma Next 2014-06-18 02:35:48 +02:00
Renamed from plasmoid/package/contents/ui/kdeconnect.qml (Browse further)