[PATCH] Tabbed MDI window creation fix

Hamish Rodda meddie at yoyo.its.monash.edu.au
Sun Sep 1 05:43:04 UTC 2002

Hi Falk!

F at lk Brettschneider wrote:

> Hmm...well. It seems to me your patch is a little bit hackish.

I understand what you mean, but there didn't seem a particularly better way 
to do it in the library.

> My advise:
> In Gideon's code, before calling QextMdiMainFrm::addWindow(), set one of
> the editor views to be the active MDI view (likely by calling
> QextMdiChildView::activate()). Then a newly added MDI view will be
> docked to the tab pages.

This is certainly a solution as well, though it will mean a bit more flicker 
each time a part view is created.  I just thought it would be better to fix 
the problem where it is, in the library; this would fix the problem in 
other apps using the lib.  However I will put together a patch like this 
and you can choose :)

> So probably your patch to QextMDI would be necessary.

I take it you meant unnecessary.



More information about the KDevelop-devel mailing list