I'd like to integrate an UI file as a form in QGIS 2.8. The UI file is created in QT Designer. One of the attributes in the attribute table is a filepath to an image. I'd like to display the picture in the form instead of the filepath. I created lineEdits for each attribute and named them properly, so everything works well, except for the picture.
I load all the layers from my Qgis plugin and I set "Photo" as an EditType for that attribute in the script (You can find it also in layer Properties/Fields). So when I choose "Autogenerate" form, the picture is displayed correctly.
Could anyone give me a hint how could I make the form work correctly?
أكثر...
I load all the layers from my Qgis plugin and I set "Photo" as an EditType for that attribute in the script (You can find it also in layer Properties/Fields). So when I choose "Autogenerate" form, the picture is displayed correctly.
Could anyone give me a hint how could I make the form work correctly?
أكثر...