[Qgis-developer] .ui file for QgisApp

Nathan Woodrow madmanwoo at gmail.com
Mon Mar 7 05:57:20 EST 2011


When I first started working on qgis I wondered why all that code was there
and not in the ui file.

+1 for moving it all to the ui file.  Would make things a lot nicer and
cleaner to edit.

On Mon, Mar 7, 2011 at 8:41 PM, Martin Dobias <wonder.sk at gmail.com> wrote:

> Hi devs
>
> recently I wondered why we still have the whole QGIS app gui
> construction (actions, menus, toolbars) in the QgisApp class. I
> remember that in the early Qt4 days this was necessary since there was
> no support in Qt Designer to create menus/toolbars. But nowadays it is
> perfectly possible, so for me it makes sense to move that part of code
> to a .ui file and use the usual setupUi() call for the main window.
> That could save up to 1000 lines of code in the QgisApp class!
>
> Any objections?
>
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110307/e8c00b3a/attachment.html


More information about the Qgis-developer mailing list