On Freitag, 10. April 2009, Gertjan Manenschijn wrote:
> After changing an ui file i want to regenerate my dialog code. So i
> right-click on the ui file and choose generate dialog code.
> Then i can only choose new classname, but i want to update an already
> existing class. If i choose new class and give it the same name as the
> old class, then
> the old class is overwritten and i lose my code. Is it possible to
> update the old class without losing my code?
>
> Regards,
> Gertjan
> _______________________________________________
> Eric mailing list
> [email protected]
> http://www.riverbankcomputing.com/mailman/listinfo/eric

That works as you described unless you change the dialogs name (e.g. from 
OldDialog to NewDialog). If you do such a change, you have to modifiy the 
dialog code manually. Changing just the occurences of OldDialog should be 
enough (although I haven't tried that). Thereafter if you want to connect to 
new slot, you may use the dialog again.

Regards,
Detlev
-- 
Detlev Offenbach
[email protected]
_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to