0
votes
0answers
21 views

Plugin Ui interation with user and Qgis

A downsized hydrogeology plugin ( GraphicGroundwater = GGW ), instilled the need of a reduced combination of Carson's 'fTools doVectorGrid' and Pryet's 'Qgridder' plugin(s). The GGW Ui is displayed ...
1
vote
1answer
119 views

How to use Threads in PyQgis, mainly to keep UI active?

I'm trying to develop a plugin, which does heavy computations and as a result, user interface becomes inactive. I know that I should use threads to keep the UI alive (specifically, I have a progress ...
1
vote
1answer
44 views

In what ways has QGIS 2.x API changed making Plugin Builder Tutorial invalid?

I am working on the QGIS workshop Tutorial for QGIS Plugin Builder and notice that it is for QGIS 1.1. As this seems like a popular tutorial, in general, what are some areas of this tutorial that need ...
0
votes
0answers
38 views

QGIS Widget for data entry. Many fields based off 1 combobox

I have used QGIS for a while now but have just started getting into creating widgets for data entry. I want to know if there is a way to create a widget that will auto populate 2 or 3 other columns ...
0
votes
1answer
151 views

QGIS plugin WORKS under Windows but NOT under Linux. How to get fîle path properly under Linux?

I am currently working on a QGIS plugin which depits node to node discreet flows. Let' say adaption of Tobler's Flow Mapper to QGIS. Plugin currently tested and working under Windows. But not under ...
5
votes
1answer
692 views

How to create a dropdown menu in QGIS Toolbar with Python

I Have a set of some QAction in my QGIS-Plugin and they are created and added to the toolbar like this icon = QIcon(":/action1.png") self.action1 = QAction(icon, u"Action 1", self.iface.mainWindow()) ...
2
votes
1answer
238 views

How to move the QGIS Layerpanel/Dockwidget programmatically

i'm working on a QGIS-plugin and want to move the default LayerPanel/Dockwidget to somewhere else programmatically. More specific: i want to move it into a tab of my tabwidget. Is this possible? How ...
6
votes
1answer
86 views

How to get info from selected object?

I am new to the Quantum Plugin development and wonder if there is more information about the following. I have added a shape file and am (off course) able to select a point from this shape file. In ...
3
votes
1answer
370 views

How to connect a PyQGIS plugin with Postgres?

I have some questions for you: I created a python-plugin in QGIS, then I created a Qt gui fom my plugin and at last I created a Postgres DB now I need to make a connection between Qt-gui and ...
0
votes
1answer
183 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 ...