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

MORREALE Jean Roc jr.morreale at enoreth.net
Wed Feb 16 11:48:54 PST 2011


Thanks for the answer, as I don't know how to use pyqt4 I think I'll 
denormalize my database or use an outside form.

Le 15/02/2011 16:41, Andreas Neumann a écrit :
> 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
>




More information about the Qgis-user mailing list