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

Natanael Olaiz nolaiz at gmail.com
Sun Jun 15 18:18:43 PDT 2008


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.

> I did that because we are  about to add dock windows arround and it will be 
> handy to keep the positions. The store is on the destructor, so as you exit 
> the program the positions are saved.
>   
Ups, I didn't saw that. :)





More information about the clam-devel mailing list