[Qgis-developer] extensions to postgis dialog

Tim Sutton tim at linfiniti.com
Thu Dec 13 11:03:20 EST 2007


Hi

Could I suggest using Qt model/view for this - whever list become lone
I think the model / view approach will always be more efficient. It
also has QSortFilterProxModel by which you can easily add sorting and
filtering.

http://doc.trolltech.com/4.3/qsortfilterproxymodel.html#details

I was going to suggest also that we create src/models and src/views
for any custom models and views we create.

Regards

Tim

2007/12/13, Hugentobler  Marco <marco.hugentobler at karto.baug.ethz.ch>:
> Hi,
>
> The list of tables in the postgis connection dialog may become quite long for users that have a lot of tables and views. I therefore would like the following extensions:
>
> -Convert the table widget to a tree widget. For every schema, there would an item that can be expanded/collapsed and contains the tables/views of the schema. Like this, there will be much better overview in situations with many schemas/tables/views.
>
> -Add a line edit that takes regular expressions and, if not empty, displays only the entries where the table name matches the regular expression.
>
> Are there any objections or suggestions to this?
> Godofredo, does this fit together with the work you are doing in the ogr-plugin-branch and shall I code the dialog extensions also into this branch?
>
> Regards,
> Marco
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-developer mailing list