[PyQt] Collapsible Dock Widget??

Henning Schröder henning.schroeder at gmail.com
Wed Jul 23 15:51:07 BST 2008


Hi!

On Tue, Jul 22, 2008 at 4:20 PM, Darryl Wallace
<darryl.wallace at prosensus.ca> wrote:
> Has anyone tried to make the dock widgets collapsible (similar to the
> windows based dock widgets in that have the little thumbtack icon) in Qt or
> PyQt?
For one of my projects I ported the KOffice2-DockWidget to Python.
See a screenshot at
http://henning.cco-ev.de/dockwidget1.png and
http://henning.cco-ev.de/dockwidget2.png
The code is at http://henning.cco-ev.de/collapsable_dockwidget-0.1.tar.gz
I fixed a resize-bug found in the original. Perhaps this introducted
new bugs. But it works
fine for me :)
See at the bottom of the module for an example.


Greets
Henning


More information about the PyQt mailing list