Re: [Qgis-developer] Change selection color

2014-02-05 Thread Martin Dobias
Hi On Wed, Feb 5, 2014 at 2:56 PM, hubbatov hubba...@mail.ru wrote: Hi! I can`t change selection color using Qt in my app. Can anybody help with it? QgsMapCanvas::mapRenderer()-rendererContext()-setSelectionColor(QColor) not works :( The renderer context you are accessing is the one that was

Re: [Qgis-developer] Change selection color

2014-02-05 Thread hubbatov
Yes, it`s work! Thanks. And what about borders of selection? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Change-selection-color-tp5101986p5101995.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.

[Qgis-developer] Change selection color

2014-02-04 Thread hubbatov
Hi! I can`t change selection color using Qt in my app. Can anybody help with it? QgsMapCanvas::mapRenderer()-rendererContext()-setSelectionColor(QColor) not works :( P.S. Also it would be awesome if you tell me how to set selection color and selection border via Qt... Thanks! -- View this