On Tuesday 03 June 2003 15:57, Chris Cannam wrote:
>   1. Why you think this way will be better in the long run.  Is
>      it really a good idea to have one view across all documents?
>      For an MDI-style or multiple-window interface we'd presumably
>      still want one view per document and many views active at once.
>      (Convince me I'm wrong here, and you've pretty much convinced
>      me of the whole thing.)

For the record : MDI can't possibly be implemented sanely with a 
view->setDocument() scheme, because :

- either we have "real" MDI, e.g. tabs like in Konq. Each tabs *have* to have 
different widgets as children, so we have to have several views anyway.

- or we make it so that the only way to switch between documents is through a 
menu, but then the scheme would actually be too slow, because we'd still have 
to recreate some parts of the widgets somehow. The only way to do this in a 
responsive manner is what Rich did : create the view in the background (and 
then keep it, rather than delete it) so you can hide() one and show() the 
other (using a QWidgetStack for instance).

-- 
                                                Guillaume.
                                                http://www.telegraph-road.org


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to