A couple of questions about QML Plasma bindings

Marco Martin notmart at gmail.com
Tue Mar 22 23:04:32 CET 2011


On Saturday 19 March 2011, Marco Martin wrote:
> 
> Text {
>   id:textItem
>   text: "foobar"
> }
> 
>  PlasmaCore.ToolTipData {
>        item: textItem
>        icon: QIcon("konqueror")
>        title: " foo"
>        subtext: "bar"
>   }
> 

small update,
started to implement this...
good news everybody! since ToolTipManager requires to register 
QGraphicsWidgets...
most of its functions will have to be duplicated to accept QGraphicsObjects 
and an happy new big set of deprecated stuff :D

(i'm almost tempted to rewrite tooltipmanager to accept only qgraphicsobjects 
and put its code directly in the qml plugin that will wrap tooltipcontent, 
anyways that's a class less for sure that will have to be exported in 
libplasma2)

Cheers,
Marco Martin


More information about the Plasma-devel mailing list