Technical Advise for PlasmaQuick::ContainmentView [Latte]

Michail Vourlakos mvourlakos at gmail.com
Thu Jun 20 10:14:46 BST 2019


Hello everyone,

I need some help, Latte::Indicators (https://store.kde.org/browse/cat/563/)
are standalone qml only packages like plasma applets which are loaded in
order to show Tasks indication/information

My issue is that when an indicator's qml code is updated I would like the
user to notice the update runtime in Latte Dock/Panels. Latte is using
"Plasma::ContainmentView" for docks and panels which derives from
"KQuickAddons::QuickViewSharedEngine". Searching the Internet for
QQuickView a solutions is to do:

setSouce(QUrl));
engine()->clearComponentCache();
setSource(corona()->kPackage().filePath("lattedockui"));

but that does not work, it just destroys QQmlComponent of ContainmentView,

Do you have any ideas?

regards,
michail
-Latte Developer-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190620/a02008dc/attachment.html>


More information about the Plasma-devel mailing list