Re: [QGIS-Developer] pyqgis - openfeatureform highlight?

2017-10-05 Thread Anders Vittrup
the styling. I get an error when passing QgsFeature. It seems that only QgsGeometry is supported? Anyone knows if this is an error or is it possible to construct the highlight with true feature shape? Best regards Anders man. 25. sep. 2017 kl. 18.10 skrev Anders Vittrup : > Hi, > > I&

[QGIS-Developer] pyqgis - openfeatureform highlight?

2017-09-25 Thread Anders Vittrup
Hi, I'm making a small plugin for a custom editorwidget and I'm using QgisInterface openFeatureForm from within my widget to open other feature forms on diffrent layers. I just cannot seem to figure out how to make the feature being highlighted on the map (red highlighing when using the identify

[QGIS-Developer] QGIS edit widget force enable without edit mode

2017-07-13 Thread Anders Vittrup
Hi, I'm creating a plugin which creates a edit widget (or just a widget ? ) where i have a combobox and a few buttons. Is it possible to force this widget to be enabled outside edit mode of the layer ? I have tried setEnabled on widget, parent, qgseditorwidgetwrapper and so on. The widget only g