On Thursday 10 October 2002 6:32 pm, Roland Krause wrote: > Hallo, > > I havent really followed this list and this discussion but > from time to time I feel compelled to write. Today I gave in:
Hello, Roland. Just to clear up any confusion, the Qt port is genuine Qt and is almost finished thanks to the stirling work of John Levon. What remains to be done is to port two dialogs (out of 40+). Thereafter it's a case of fixing the bugs that are an inevitable consequence of so much new code. I draw a distinction between the dialogs and the main view here. As I said above, nearly all the dialogs have been ported to Qt. We've tried to abstract these dialogs into a "controller" and a "view". The net result is that anyone writing a Qt dialog need do little more than hook up the signals generated from the .ui file. What's holding up the final two dialogs is that no-one (me probably ;-) has bothered to write the relevant controller. This means that the Qt dialog will have to do everything, including communicate witht the LyX core. Not hard (and there's lots of help/examples here!) but a faff. The architecture for LyX's main view is largely there but is pretty kludgy in some places. I guess it's inevitable that an app designed for use with xforms should "think xforms" in a few places still. John has largely resolved such problems but a few remain. Input from other experienced Qt-ers would no doubt help point out the right way forward. Why don't you try running the Qt version? It'll become clear pretty quickly what needs to be fixed. I think that with the input of a few expert Qt-ers, (and advice counts here!), a true Qt app is not very far away. Best regards, Angus
