Implement a Dialog that allows to select a QgsMapLayer and, in case of a QgsVectorLayer, one of it's QgsField's. * [x] use a QgsProject to provide a list of layer to be filtered * [x] allow to use this dialog for Raster and Vector layers * [x] setLayerFilter: python function to filter selectable map layers * [x] setFieldfilter: python function to filter selectable layer fields * [ ] restore- previous selections of QgsField in case of layer changes
Implement a Dialog that allows to select a QgsMapLayer and, in case of a QgsVectorLayer, one of it's QgsField's.