Commit Graph

5 Commits

Author SHA1 Message Date
Martchus 29043b2904 Set X-Plasma-API-Minimum-Version for Plasma 6 version of Plasmoid
This seems to be required as of
https://invent.kde.org/plasma/libplasma/-/merge_requests/977
and other Plasmoids set it to 6.0 as well, e.g.
https://invent.kde.org/plasma/plasma-nm/-/blob/master/applet/metadata.json.
2023-11-26 16:57:52 +01:00
Martchus b78c774898 Improve Plasma 6 version of Plasmoid 2023-11-20 20:30:29 +01:00
Martchus 912dca1564 Port Plasmoid to Plasma 6
* Split QML part into distinct versions for Plasma 5 and 6 as there are too
  many differences and `#ifdef` is not possible
* Change API usage according to
  https://develop.kde.org/docs/plasma/widget/porting_kf6
* Port "contextualActions" to API documented on
  https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/plasma/applet.h
* Document testing
* Add FIXMEs/notes for remaining problems; there are likely many more,
  though
2023-07-13 01:01:02 +02:00
Martchus cb1071b3ad Improve Plasmoid to make it look more like official Plasmoids
* Use header (with integrated buttons when shown as part of the system tray
  Plasmoid)
* Use less space so it fits into the system tray plasmoid (at least on a
  full HD screen with 96 dpi)
* Show action for internal errors only if there are internal errors (like
  in the Qt Widgets based GUI)
* Port away from deprecated tab bar (which is not used in official
  Plasmoids anymore as well)
* Simplify code for ensuring the minimum size as configured (still does
  not work within the system tray Plasmoid)
2021-11-30 19:43:26 +01:00
Martchus c103174609 Make desktop files for Plasma integration from template
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00