[PyQt] QMainWindow.restoreState does not restore docked widget
thomir at gmail.com
Fri Apr 4 07:46:31 BST 2014
On 4 April 2014 18:06, Baz Walter <bazwal at ftml.net> wrote:
> You're making two mistakes:
> (1) failing to add the dock-widget to a (default) dock-area
> (2) trying implement your own toggle view action
> Qt already has (2) covered, and does a much better job of it than your
> example code currently does (for one thing, it handles closing of the
> dock-widget by the user).
Ugh - thanks - your code works perfectly :)
Thanks again for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt