1

I have a stand-alone pyqgis app, some layers are using the QgsGraduatedSymbolRendererV2 as renderer with customized range and color symbol. I am trying to use an existing Qgs Dialog control to allow users to edit the breakdown and symbol etc of those layers. Out of all of the qgs controls, I found the following as the most probable:

cr = QgsVectorGradientColorRampV2()
ed = QgsVectorGradientColorRampV2Dialog(cr, None)
ed.exec_()

But, I don't think it does what I want as it only allows percent category, not real double values ranges.

So, which editor should I use for QgsGraduatedSymbolRendererV2 type of style? or do I have to make my own?

1 Answer 1

1

The QGis control to use is QgsGraduatedSymbolRendererV2Widget, one just have to put it inside a custom control like a dialog

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.