[Qgis-user] Custom forms with subform

Tyler Veinot tylerkveinot at gmail.com
Wed Oct 17 08:19:06 PDT 2018


Glad you got it working, I didn't realize that you were trying to view an
image through the reference but it is nice to know that can be done with
the externalresourcewidget. Will it also work for videos? Is there a use
tutorial or does it work like the other 2?
Tyler

On Tue, Oct 16, 2018 at 5:40 PM Carlos Dávila <cdavilam at orangecorreo.es>
wrote:

> 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
> +41 (0)76 435 67 63 <+41764356763>
> [image: OPENGIS.ch Logo] <http://www.opengis.ch>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181017/496cf288/attachment-0001.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/20181017/496cf288/attachment-0002.png>
-------------- 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/20181017/496cf288/attachment-0003.png>


More information about the Qgis-user mailing list