[Qgis-user] Custom forms with subform

Carlos Dávila cdavilam at orangecorreo.es
Tue Oct 16 13:40:15 PDT 2018


QgsExternalResourceWidget worked, the other two not, they show the path 
to the image file, but not the image. Thanks.

El 16/10/18 a las 8:53, Matthias Kuhn escribió:
>
> 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?
>>>>>
>>
> -- 
> 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/d7954035/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/d7954035/attachment.png>


More information about the Qgis-user mailing list