Commit graph

23 commits

Author SHA1 Message Date
4163713bc4
dbus/properties: decouple properties from AbstractDBusProperty
Importantly, this decouples properties from having to be QObjects,
allowing future property types to be much lighter.
2024-11-20 03:28:48 -08:00
66b494d760
build: add qs_add_link_dependencies
Further inspection as to what libraries actually require which others
will be required before this can be used as a hint for shared builds.
2024-11-19 13:58:34 -08:00
36d1dbeb69
service/tray: report misbehaving tray hosts
I've debugged broken tray items that just end up being a bad host far
too many times.
2024-11-17 01:30:54 -08:00
7ffce72b31
all: optimize build 2024-11-05 04:15:17 -08:00
1168879d6d
build: only install necessary qml module files 2024-11-04 14:13:37 -08:00
746b0e70d7
all: use fully qualified type names in Q_PROPERTY
Fixes type deduction issues with qmllint/qmlls.
2024-11-01 01:43:22 -07:00
a931adf033
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
08966f91c5
service/tray: always mark the root menu item as having children
Blueman doesn't for some reason. This causes
PlatformMenuEntry::display to crash after ::relayout created a QAction
instead of a QMenu.

Fixes #5
2024-09-15 15:57:29 -07:00
84e3f04f3c
service/tray: disconnect menu from handle on deletion
Fixes loaded being set to true after deleting the menu.
2024-09-15 15:32:01 -07:00
54350277be
core/menu: add handle support to QsMenuOpener + add handle to tray 2024-07-25 02:51:17 -07:00
acdbe73c10
dbus/dbusmenu: separate menu handles from status notifier items
No api changes yet.
2024-07-25 01:32:05 -07:00
a9e4720fae
docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
7c5632ef5f
service/upower: start upower dbus service if inactive 2024-07-12 20:16:10 -07:00
ec362637b8
service/tray!: redesign menus / dbusmenu and add native menu support
Reworks dbusmenu menus to be displayable with a system context menu.

Breaks the entire DBusMenu api.
2024-07-01 20:50:30 -07:00
4ee9ac7f7c
service/mpris: finish mpris implementation 2024-05-21 04:09:19 -07:00
e7cfb5cf37
service/tray: move menu access to SystemTrayMenuWatcher 2024-05-01 02:55:23 -07:00
658f3cf411
docs: add API documentation for SystemTray and DBusMenu 2024-04-30 01:27:06 -07:00
61061644a5
dbus/dbusmenu: add DBusMenu support 2024-04-29 23:57:26 -07:00
aa9f8cd001
dbus/properties: dbus/dbusutil -> dbus/properties 2024-04-29 18:37:57 -07:00
74d1bb9bc2
dbus/properties: fix QDBusPendingCallWatcher leak 2024-04-29 18:32:53 -07:00
6214ac1002
service/tray: mostly complete StatusNotifierItem implementation
Notably missing dbusmenu which makes it actually useful.
2024-04-06 02:19:40 -07:00
d47a7f2cff
core/icon: add icon image provider 2024-04-05 17:54:51 -07:00
8e530b6b77
dbus: create property helper classes
Handles asynchronous property updates, part of the work for StatusNotifierItems.
2024-04-04 22:48:58 -07:00