[Qgis-user] Custom forms with subform

Matthias Kuhn matthias at opengis.ch
Mon Oct 15 23:53:52 PDT 2018


Can you try with a QLineEdit, a QLabel or a QgsExternalResourceWidget
and configure it as attachment?

On 10/15/18 9:03 PM, Carlos Dávila wrote:
> And one more question. Adding an image widget as you describe in [1]
> doesn't seem to work. I guess it's due to "Photo" type no longer
> available in QGIS 3. Should it work the same with "Attachment" type or
> must I do something different?
>
> [1]
> https://gis.stackexchange.com/questions/144427/how-to-display-a-picture-in-qgis-custom-form
>
> El 15/10/18 a las 18:34, Carlos Dávila escribió:
>> Hi Matthias
>>
>> Yes, that did the trick, thanks a lot
>>
>> El 15/10/18 a las 16:58, Matthias Kuhn escribió:
>>> Hi Carlos,
>>>
>>> something like this?
>>>
>>> https://gis.stackexchange.com/a/92001/9839
>>>
>>> On 10/15/18 4:21 PM, Carlos Dávila wrote:
>>>> I have created a custom form using Qt Designer for one layer, which
>>>> works like a charm. Now I want to add a subform to display features of
>>>> another layer linked by a relation, but I can't find the way to do it.
>>>> Is it possible to accomplish this?
>>>>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-- 
Matthias Kuhn
matthias at opengis.ch <mailto:matthias at opengis.ch>
+41 (0)76 435 67 63 <tel:+41764356763>
OPENGIS.ch Logo <http://www.opengis.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181016/c0ac627e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6671 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181016/c0ac627e/attachment.png>


More information about the Qgis-user mailing list