From kde-panel-devel Thu Feb 16 20:18:29 2012 From: Dimitar Popov Date: Thu, 16 Feb 2012 20:18:29 +0000 To: kde-panel-devel Subject: Re: ToolTip for a PopupApplet with QML Message-Id: <3409865.dFOVu2HecM () darkrider> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=132942354906161 Am Freitag, 10. Februar 2012, 13:04:06 schrieb Marco Martin: > On Fri, Feb 10, 2012 at 11:58 AM, Aaron J. Seigo wrote: > > forwarding to the correct list :) > > > > (was originally posted to kde-devel@) > > > > ---------- Forwarded Message ---------- > > Hi, > > > > I'm trying to implement a PopupApplet plasmoid using QML, but I don't know > > how to define a tooltip for the icon. My problem is that I don't know > > what should specify for PlasmaCore.ToolTip.target. > > > > Thanks for the help in advance! > > At the moment is not possible to do that, because yu don't have direct > access to the popup icon. Ok, I thought so, too, but I wanted to be sure that I'm not missing something ;) > A way could be adding a method to the global plasmoid object for > popupapplets like setToolTip(icon, text, subtext) Sounds ok to me, but I'm not the one to take such decisions ;) > how does this sound? (not sure would be so desiderable for plasma2 tough..) Why wouldn't it be desirable for plasma2? Sorry, but I'm not familiar with the goals of plasma2... > and this could be a good junior job if soomebody can give it a shot ;) I already looked at the code of Plasma::PopupApplet [1] with the hope of finding a hidden way to the widget in the notification area, but I'm not sure I'll have time for this in coming months :) Thanks once again! Regards, Dimitar [1] http://quickgit.kde.org/index.php?p=kdelibs.git&a=blob&h=7b8191ade41c0c2059d51a49ee7bd283886d4709&hb=cc5bf952ad182cf049e5df02c4c5f09d62bb68a2&f=plasma%2Fpopupapplet.h _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel