[Panel-devel] Separate QGraphicsItems for applet border/background and content?

Alex Merry huntedhacker at tiscali.co.uk
Fri Aug 31 19:47:01 CEST 2007


On Friday 31 Aug 2007, Robert Knight wrote:
> 2.  Each applet library just provides the central widget class and
> the Plasma library loads this and creates an Applet shell into which
> the central widget is placed.  There is a question then of how the
> applet could control properties of the shell, such as turning the
> standard background and border on or off.

Well, if a pointer to the applet were passed as a constructor argument 
to the widget by the factory, you could do something like

hostApplet->setDefaultBackground(false);

or whatever.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070831/f254d983/attachment.pgp 


More information about the Panel-devel mailing list