Not yet removed, but I implemented the click event handling / opening a color chooser dialog inside the QgsColorButton implementation itself.
https://github.com/qgis/Quantum-GIS/pull/379

If nobody wants to keep QgsColorButtonV2 in favor of QgsColorButton I'll remove V2 soon.

Regards,
Matthias

On 01/07/2013 04:13 PM, Matthias Kuhn wrote:
Hi all,

I've just had a look at QgsColorButton.

There are two implementations available (QgsColorButton and QgsColorButtonV2). Would it be okay to remove one of them before the 2.0 release? If yes, which one should be removed?

I also noticed, that in several places, the onClick event is handled to open a QColorDialog and assign the selected color to the button. Wouldn't it be nice, if this behavior would be part of the widget implementation itself?

Regards,
Matthias
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to