[Qgis-developer] Tracing errors of the vector layer creation

2011-04-24 Thread Eye OnNet
Hello. In my application I execute a simple sequence of QGIS API functions for create vector layer from postgres database: QgsDataSourceURI uri = QgsDataSourceURI(); uri.setConnection(ServerIP,port,dbname,username,password); uri.setDataSource(scheme,table,geom,sql); QgsVectorLayer *vlaye

[Qgis-developer] Changing view options of selected and edited vector features

2011-04-21 Thread Eye OnNet
Hello. I'm developing a GIS application based on QGIS API. Now I have some problem with visualisation of selected features - when features selected by the "QgsVectorLayer::select( );" method, its filled by black color on the mapcanvas. How to change color or disable that visualisation of sele