A couple of questions about QML Plasma bindings
Sebastian Kügler
sebas at kde.org
Sat Mar 19 19:50:19 CET 2011
On Saturday, March 19, 2011 11:05:27 Marco Martin wrote:
> On Friday 18 March 2011, Diego Casella ([Po]lentino) wrote:
> > * I'd like to show a tooltip when the applet is collapsed into an icon
> > in
> > the panel but, still, there are no QML bindings to
> > Plasma::ToolTipContent
> > and ToolTipManager classes.
> >
> > Is there any chances to get it exposed to QML?
>
> hm, no, unfortunately at the moment there isn't any way..
> i should come up with something
> I *think* tha writing a ToolTipData element (just a qobject) that has the
> usual tooltip data as properties, it could then register its parent if it't
> a qgraphicsitem to the plasma tooltip manager.
> it would remain the unpretty thing of being possible to put two or more
> tooltip datas as child of any given item and this kinda sucks
Or maybe that's very handy, in the case you want to overwrite the "general
tooltip" for a specific item inside that widget.
> (or the tooltip data could be registered in the qscriptengine and
> created/assigned in an imperative way)
My feeling is that tooltips belong to a specific item / element.
> opinions on it?
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list