New answers tagged query-layer
If I got you right, the answer is yes, QGIS supports dynamic layer names. You would need to write a Python macro to be ran every time the project is opened. This would be the workflow: Go to on QGIS->Project->Project Properties and replace openProject() with the following Python code: def openProject(): import re, qgis iface = ...
You could pass the entire layer by parameter to createSelector function. I mean: createSelector(layers) And then, in the function, you could select the sublayer that you really want depending on the clicked that you receive.
Top 50 recent answers are included