[Clam-devel] NetworkEditor MainWindow DockWindowState (a.k.a. Show Processing Tool)

David García Garzón dgarcia at iua.upf.edu
Mon Jun 16 02:32:08 PDT 2008


On Dilluns 16 Juny 2008, Natanael Olaiz wrote:
> El 06/15/2008 09:52 PM, David García Garzón escribió:
> > On Dissabte 14 Juny 2008, Natanael Olaiz wrote:
> >> David, this new line (#96) on MainWindow.hxx is yours?
> >>
> >>     restoreState(settings.value("DockWindowsState").toByteArray());
> >>
> >>
> >> That seems to generate the problem for viewing the Processing Tool Tree
> >> when opening the NetworkEditor. Commenting it, works fine.
> >> Would we initialize somwhere, or just comment until do a store
> >> implementation?
> >>
> >>
> >> Regards,
> >> Natanael.
> >
> > Yes, it is mine. It restores a config parameters with dock windows
> > positions. It might have problems when you close the neteditor with the
> > tree hidden. i should add some code that when restoring, if results in
> > hidden just toggle the action object.
>
> But here allways do the same (starts showing the icon toggled, with a
> hidden tree). Even if you close it before with a visible tree.

Yep. Some code is needed to disable the slot connection (or not enabling it) 
until the state restored. Sorry for the inconvenience.




-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- 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://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080616/b9437095/attachment-0003.pgp>


More information about the clam-devel mailing list