Hi Devs,

I'm loading/styling QGIS via pyqgis.
I create my own (dynamic) color ramp, which is shown in the map.

My issue now is that the color ram in the Layer styling widget does not represent the actual ramp I created (see screendump).

I can force a 'repaint' of that widget, by adding a value in the gui via the green PLUS sign (and throwing it away).

Is there a way to do this 'update' of the widget via code?

There is no way to get to the QgsMeshRendererScalarSettingsWidget (other then maybe walk over the ui widget tree) is it? Or some signal I can emit?

Anybody an idea?

Or is this not something that is foreseen (I mean: loading/styling mesh via python code)?

Thanks for any hints,

Regards,

Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to