Questions tagged [qgis-widget]
The qgis-widget tag has no summary.
14 questions
5 votes
1 answer
114 views
Copying attribute form with constraints in QGIS
I have an attribute form set up with "Value Relation" and some "look-up" tables. I wish to copy the setup into another workspace without having to do anything but copying the ...
1 vote
1 answer
82 views
Displaying only logs for one tag in instance of QgsMessageLogViewer using PyQGIS
I would like to show the log results for only my plugin on a page of a QStackedWidget. This works great to show all the logs: self.stackedWidget.insertWidget(3, QgsMessageLogViewer(self)) Here is the ...
2 votes
0 answers
38 views
Stopping specific edit widgets from triggering re-draws in QGIS
Typing text in a form field triggers a screen re-draw for every character typed, this causes performance issues and crashes as I have complex symbology. Turning off rendering solves the performance ...
1 vote
0 answers
117 views
Opening network folder in Windows file explorer using QGIS
Among the attributes of a layer, I have a "PERCORSO_CARTELLA_SP" field that points to a SharePoint network folder. In QGIS 3.28.15, I can open the folder with Win10's file explorer using the ...
2 votes
1 answer
185 views
QGIS Forms Range Widget steps
I am trying to use the range widget in QGIS attribute forms to allow the user to enter values in steps on 0.25 so values of (0.25,0.5,0.75,1,1.25...) The settings above result in values of 0.49, 0.74,...
1 vote
0 answers
319 views
QGIS How to display PDF saved as BLOB
I have a file where locations have photos and PDF attachments stored as BLOBs. Using the HTML widget, I have gotten it to show the photos as per a previous answer on this forum. I'm not sure how to do ...
1 vote
1 answer
277 views
QGIS value relation widget with generic relation for identical dropdown filter
Set up I have a point layer ('Baum') to collect data with 3 attributes ('mass_typ', 'mass_grund', 'veg_typ'). I want the attribute 'veg_typ' to have a dropdown filtered according to the two other ...
0 votes
0 answers
244 views
QGIS - HtmlWidget with <iframe> from localhost
I'm using QGIS 3.28.4 and want to build an HTML Widget to display a web page. I can display <iframe> elements from web, but I want to try it from a localhost address, is it possible ? Exemple ...
2 votes
0 answers
46 views
Displaying more than 100 entries in Relation Reference Widget dropdown in QGIS
I am using QGIS 3.28, and I've encountered an issue with the Relation Reference Widget. In the form view, the dropdown menu of the Relation Reference Widget only displays 100 entries. Is there a way ...
0 votes
1 answer
81 views
Remove color from widget form in QGIS
I used colors in a form widget, but I found out that this is not compatible with dark mode. So, I would like to reset this setting, but I don't know how. Is that function just missing?
4 votes
1 answer
581 views
Translating array into list or map and back in QGIS
Arrays in QGIS look like: [ 'WID00037-LDB', 'WID00027-LDB', 'WID00026-LDB' ] This kind of List or Map generated by QGIS Value-Relation Widget look like this: { "WID00037-LDB", "...
0 votes
1 answer
2k views
QGIS HTML Widget
I am looking at using the HTML widget in a drag n drop form to show a horizontal bar the length of which is based on a field. Not being a programmer of any sort I don't know the html syntax to use - a ...
4 votes
3 answers
639 views
"TypeError: disconnect failed beetween 'accepted' and 'save'" error when creating custom feature form with PyQGIS
I'm using QGIS 3.22 trying to go through a tutorial (3.16 training manual) and I followed the popular Nathan Woodrow's blog setting custom form with Python logic where I changed the PyQt4 imports for ...
2 votes
1 answer
670 views
Refreshing QGIS Relation Reference widget without closing and reopening form
The Relation Reference widget has buttons to open a 2nd form so that records in the referenced (parent) layer can be edited or new records added. However, when the edits are made to the parent layer ...