Containments, Layouts

Oszkar Ambrus oszkar.ambrus at deri.org
Mon May 26 16:17:49 CEST 2008


Alexis Ménard wrote:
>
>     1) One of the main problems is, that the null or "" default
>     Containment
>     is not created, and my custom applets wouldn't move or allow resizing.
>     Should I develop a custom Containment? Can I find some documentation
>     about it?
>
>
> api.kde.org <http://api.kde.org> you have the documentation of 
> containment. But you don't need a containment to resize an applet of 
> course you can use it alone.
I'm using Containment as a container for my applets in my workspace.
>  
>
>
>
>     2) When I use QGraphicsLayout (actually it's QGraphicsLinearLayout)
>     inside an applet (for LineEdits and PushButtons), the application
>     always
>     crashes, when I remove that applet.
>
>
> You put embeeded widget with QGraphicsProxyWidget? If yes, you have to 
> remove your applet from the scene before deleting it.
No, I didn't use QGraphicsProxyWidget. I added QGraphicsWidget items, 
like Plasma::LineEdit and Plasma::PushButton.
Do they need to be removed too?
>  
>
>
>
>     Thanks a lot,
>     Oszkar
>


More information about the Panel-devel mailing list