Toolbars in dock widgets
- Date: Mon, 12 May 2008 21:18:40 +0200
- From: Stefan Majewsky <majewsky@xxxxxxx>
- Subject: Toolbars in dock widgets
I'm designing a dock widget which does essentially consist of a QListView and three actions (currently implemented as KPushButton instances). To optimize the minimum size of the dock, I would like to move from the KPushButton row to a KToolBar, but there seems to be no simple way to insert the toolbar into the dock widget. The obvious solution is to handle the toolbar like a normal widget, i.e. insert the toolbar and the list view into a layout and put this into the dock widget. The disadvantage is that I cannot do all that fancy mainwindow stuff like to moving the toolbar to the bottom edge. Another possibility is to embed a QMainWindow into the dock widget (instead of a simple QWidget). For my taste, that is too much overhead. Isn't there a better approach? Greetings Stefan Majewsky
Attachment:
signature.asc
Description: This is a digitally signed message part.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
- Follow-Ups:
- Re: Toolbars in dock widgets
- From: Andreas Pakulat
- Re: Toolbars in dock widgets
- Prev by Date: Re: kde-devel Digest, Vol 62, Issue 20
- Next by Date: no sound
- Previous by thread: Re: kde-devel Digest, Vol 62, Issue 20
- Next by thread: Re: Toolbars in dock widgets
- Index(es):