I am looking for a way to show icon or image in QGIS Feature Attribute Form. I'm showing Equipment in Rack and if it is for example: 1. switch = show some icon 2. router = show different icon etc
Is such a thing possible?
I do not think it is possible in the default edit form to do this, however you could do the following using Qt Designer and python:
I gave a general presentation of how to create a custom edit form, see:
If you are using Qt Designer - place a QLabel on your widget, select it, go to "Property Editor", scroll down to "QLabel" section. There will be a field titled "pixmap", push the "down arrow" on the right, there will be an option to "Choose file", then browse for your image.
To set image by python use setPixmap() method on label object