[Qgis-user] use several tables in one dynamic form

Andreas Neumann a.neumann at carto.net
Tue Feb 15 07:41:36 PST 2011


 you'd have to use python and pyqt, currently. You can have additional 
 form elements in your .ui file that do not match column names. You can 
 have an initialize python function on the form and additional python 
 logic to deal with related tables.

 There will be improvements later this year. The table join branch was 
 just recently merged and there will be more form improvements later on.

 If you need a solution now, you'd have to use python and pyqt4.

 Andreas

 On Tue, 15 Feb 2011 13:50:22 +0100,  wrote:
> Hi,
>
> Since 1.4, QGIS can use .ui file created with Qt Designer to make
> dynamic forms for entering new attribute data. The way it works with
> widget name seems to limit it to the current table, is there any way
> to aggregate fields from several tables of a sqlite file into one 
> form
> ?
>
> I would like to provide a usb/networkless package for a research
> program with qgis as the sole frontend (an extjs form+actions would
> take the user out of qgis) . If not possible, what would be the best
> method to do so without triggering many dependencies ?
>
> Regards,
> MORREALE Jean Roc
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland



More information about the Qgis-user mailing list