Re: [Qgis-user] Custom forms with subform

2018-10-17 Thread Tyler Veinot
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

Re: [Qgis-user] Custom forms with subform

2018-10-16 Thread Carlos Dávila
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,

Re: [Qgis-user] Custom forms with subform

2018-10-16 Thread Matthias Kuhn
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

Re: [Qgis-user] Custom forms with subform

2018-10-15 Thread Carlos Dávila
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]

Re: [Qgis-user] Custom forms with subform

2018-10-15 Thread Carlos Dávila
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

Re: [Qgis-user] Custom forms with subform

2018-10-15 Thread Andreas Neumann
Hi Carlos, Subforms are possible. But only in "Drag and Drop Designer" mode. Not so easy with your custom UI file from Designer - maybe it would work, but then most likely it would require python coding. First, you have to establish table relations in your project: Menü Project --> Project

[Qgis-user] Custom forms with subform

2018-10-15 Thread Carlos Dávila
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? ___