[Qgis-developer] .ui file for QgisApp

Tim Sutton lists at linfiniti.com
Mon Mar 7 08:24:52 EST 2011


Hi

+1 from me....it was really fun building that whole mainwindow by
hand....in a masochistic kind of way....lets not perpetuate the 'fun'
if we don't need to...

Regards

Tim

On Mon, Mar 7, 2011 at 12:57 PM, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list