Hello everyone,

I'm trying to create a custom attribute form for a project with the 
Qt-Designer. I'm able to load the .ui-file and load all the required fields. 
However, the project contains a few 1:N relations which I'm unable to get 
working with the custom UI. These relations work correctly in the autogenerated 
form.

I have a relation with the following name and id:

[cid:[email protected]]


In the Qt-Designer I created a QgsRelationEditorWidget and set the objectName 
to the id of the relation:


        [cid:[email protected]]

Am I missing something, or are there some other points i need to consider when 
setting up a custom relation like this?

Additionally, it seems the form i created is not "connected" to the dialog. If 
I change the size of the dialog, the form is not responsive. I would expect it 
to have like a srcollbar or something. Is there some specific configuration I 
need to apply to get this working?

Best regards,

Jannik
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to