On Monday 04 November 2002 09:48 am, you wrote: > I'm glad you like it :-) And I hope that everyone is somewhat convinced > that we can have almost complete seperation between the GUI and the cutter.
;-) We'll see ;-) It's certainly a goal to aim for. (to aim at?) > So as long as you code as you would if you were making a normal resizable > window, I don't think there should be any problems. Err.. actually I use a non-resizeable window and it works great too. Well, I want to make the window scalable with const aspect ratio anyway. > There is only one > gotcha that I have discovered so far (and I have not yet fixed in > nullcutter). You need to be careful to test whether or not the Window still > exists before you try and do anything with it! If Kdenlive crashes or is > killed, the embedded window is destroyed along with the rest of the > interface. Well, and then the Winmanager catches the Window, but the server sees a closed connection and exits. So apart from the few frames which get displayed in a seperate window, I can live with it, or do miss something? > The screenshot looks very nice indeed! It should not be too difficult to > get the stop/rewind/etc buttons working. They already emit signals when > pressed (provided by the QToolButton widget), so all you would need to do > is connect the buttons internally in KMMEditPanel, add a number of signals > to KMMEditPanel to abstract it away from the buttons (so you could change > the buttons into some other control and not affect anyt code other than > KMMEditPanel), and finally, add a number of slots to KMMScreen which can > then be connected to KMMEditPanel, probably in KMMMonitor. That's what I did ;) > Then you can fill in those slots methods with the correct network code to > relay the requests onto your cutter ;-) Yeah, works great. Cheers, Rolf *************************************************************** Rolf Dubitzky e-mail: Rolf.Dubitzky at Physik.TU-Dresden.de s-mail see http://hep.phy.tu-dresden.de/~dubitzky/ ***************************************************************
