0
votes
0answers
9 views

change symbology of an graduated renderer in qgis

In my plugin(c++) I add a vectorlayer to map, then I change the symbology of the QgsGraduatedSymbolRendererV2 of this layer. After this I refresh the map with ...
0
votes
0answers
21 views

compile QGIS-plugin for Windows: problem with gdal_i.lib version

While compiling my plugin for QGIS 2.2 there are no errors, but it ist still not loading in QGIS because of an dll error. (function not found) I think the problem is at the gdal version. The ...
1
vote
0answers
40 views

start gdalbuildvrt from c++ plugin

I want to create a vrt from my plugin via gdal-tool. From OSGEO4W-Shell the command works. In my code i tried this: QString program = "gdalbuildvrt"; QStringList arguments; ...
0
votes
1answer
45 views

Install plugins for qgis in centos

I followed the instructions here: How to install QGIS on Centos 6? If I run: QgsVectorLayer * vpoly = new QgsVectorLayer("Polygon", "pointbuffer", "memory"); QgsVectorDataProvider * provider = ...
0
votes
0answers
171 views

QGis 2.0.1 cpp-plugin for Windows

my plugin, developed in VS2008 for Windows runs in my testenvironment, the startimage of QGIS shows the developermeeting in Essen with the version number 2.1 alpha. On a other system I have installed ...
2
votes
1answer
393 views

QGis Plugin Licence

I would like to create a plugin using commercial software. Does the QGis licence permit this? Are there any restrictions on the licence I can choose to apply to my plugin?
1
vote
1answer
627 views

QGIS Plugin Windows

I have written a QGIS plugin (RTools) which acts mostly like a independent plugin (minimal interaction with QGIS core functions). On Linux both QGIS and RTools were build using QT 4.8 on Qt creator. ...
1
vote
1answer
142 views

Get the keyPress-Event in QGis-Plugin

I have a QTreeWidget in a QWidget which is the gui of my plugin(cpp). Now i want to get the keyPress-Event of a Node in the TreeView. I try to reimplement the signal of the QWidget. protected: ...
0
votes
1answer
217 views

How to set the cursor to busy mode?

How can I set the cursor to busy-mode/in progress from my qgis plugin (cpp)? I couldn't find anything in the API documentation.
2
votes
0answers
55 views

Is there a way to distinguish between digitized and pasted features?

Is there a way to tell if an added feature in QGIS is in fact a newly digitized one or a pasted feature? I think QGIS is treating both cases in the same way, emitting the same signal: ...
5
votes
1answer
93 views

Is it possible show the feature attributes dialog when I add a feature in code?

I want to know if it is possible to make the feature attributes dialog in Qgis show up when I add a feature by code using: QgsVectorLayer::addFeature( tFeature ) This is available when I add ...
5
votes
1answer
739 views

Where can I find documentation on QGIS C++ Plugin Development?

Is external C++ plug-in support available for QGIS? I'm having a really hard time getting started here. I followed the doc here: ...
1
vote
2answers
128 views

Fetching field values from uncommitted features on Qgis

I'm trying to fetch a feature's field value on Qgis, I use QgsFeature.attributeMap().value(cont int & key).toDouble() This works fine for committed features but it always returns " 0 " if the ...
1
vote
0answers
244 views

What do I need to build a C++ plugin on windows 7?

I want to make a plugin in C++ and I need to write and build it in windows (Im better with *nix systems). While I have skimmed the various updated C++Plugin docs I can understand if I need to build ...
0
votes
1answer
182 views

Qgis : QGraphicsTextItem's position not updated?

I'm using QgisInterface->mapCanvas()->scene()->addItem(QGraphicsTextItem) to add a QGraphicsTextItem to the map canvas. The problem is that when I use the pan tool to move the display the added ...
2
votes
1answer
184 views

Qgis C++ plugin translation

I'm having issues with the translation of my Qgis plugin. static const QString sName = QObject::tr( "Editeur Monoscopique 3D" ); MyClass::MyClass( QgisInterface * theQgisInterface ): ...
7
votes
1answer
1k views

How can i create sectors for telecom towers

friends i am seeking advice from the GIS community I work in the Mobile networks industry and i took up a task to create a plugin for QGIS using c++/python that does the following: step 1: Create ...
2
votes
1answer
284 views

How to port QGIS C++ plugins to other QGIS installations?

I developed a C++ plugin for QGIS using VC++ express 2008 and a QGIS dev release (1.9.90 alpha), my plugin works fine on this release and now I want to port it to other QGIS installations, so I copied ...
0
votes
0answers
21 views

MapCanvas : Mouse-wheel event filtering/overriding [duplicate]

Possible Duplicate: MouseWheel event filtering on Qgis I’m developing a C++ plugin for Qgis and I want to filter/override the mouse-wheel event. I created a “maptool” to select a polygon ...
5
votes
2answers
449 views

How to filter the MouseWheel event in a QGIS C++ plugin?

I’m developing a C++ plugin for Qgis and I want to filter/override the mouse-wheel event. I created a “maptool” to select a polygon feature on a vector layer, the feature has two attributes : an id ...
2
votes
1answer
110 views

Keeping a vector layer always on top

I want to know how to keep a layer always on top of other layers! After adding a vector layer ( QgisInterface->addVectorLayer ), I want that layer to always be displayed on top of layers added later. ...