I am currently merging the two classes in all frontends/qt4/Gui*.h into
a single one per *.h along with the necessary changes in the
infrastructure. At the end of this we will still have MVC with seperate
View and Controller classes and we will still even have a
ButtonController, so this is not about destroying MVC (even if merging
controllers and dialog would relly make sense in my opinion).

LyX will be around 1800 lines slimmer after that particular change, (so
we lost around 3000 lines within two weeks...) and the frontend code in
a state that I'd consider much more maintainable than before.

In any case, the change will be a bit disruptive. I expect the old
dialogs to "just work" in the end, but anything that does not stick to
the old scheme will receive/has already received some damage. This
concerns mostly the new stuff for toc, listings, source view (i.e.
everything that does not use setController() but direct inheritance and/or
non QDialog base classes).  As far as I can tell in all cases the
respective developers are still around so I don't think the damage will
be permanent (also the dialogs now are no more complicated...).

All in all I am tempted to commit as soon I reach a compilable and
sort-of-working state, end expect the aftermath being over after the
weekend.

Andre

Reply via email to