Qt is a cross-platform application development framework.

learn more… | top users | synonyms

4
votes
1answer
38 views

PyQGIS toggle group visibility (and recursively subsub…group visibility)

I would like to set visibility of a layer group and all of its children (and grand-children and so on...) using PyQGIS (QGIS 2.14.1). Assume the groups name is g0 with subgroups g0[1...n] and ...
1
vote
1answer
47 views

setHeaderData not working in a QgsAttributeTableModel?

I want to display the content from a layer in a new view I have so far a code like below (you should have 2 columns at least, then, just try in the QGIS Python console replacing mylayer_id) from ...
2
votes
1answer
60 views

Custom data entry form (.ui) crashes qgis

I'm using Linux Mint 17.2, qgis 2.8.1 and have also tried this on 2.10: Made a simple form using qt4 designer The field names match those in the attribute table used the properties page of qgis ...
1
vote
0answers
66 views

QGIS interface very slow on OSX

I'm running QGIS version 2.8.1-Wien QGIS code revision Compiled against Qt 4.8.6 Running against Qt 4.8.6 Compiled against GDAL/OGR 1.11.2 Running against GDAL/OGR 1.11.2 Compiled against ...
0
votes
0answers
87 views

Syntax Error in qgsapplication file

I am trying to test an QGIS application code example. However, when I try to compile it, it is reporting errors in qgsapplication.h which is coming with the source code of QGIS. I am using QTCreator ...
2
votes
2answers
463 views

Auto populate field as concatenation of other fields

I'm searching for a way to automatically combine several field values entered in the feature edit dialogue, resulting in a new column comprised of the former values. I have, say fields A, B and C ...
2
votes
1answer
60 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 ...
2
votes
1answer
124 views

Purpose of “myPlugin_dialog.py” file created by QGIS Plugin Builder

I usually use QGIS Plugin Builder to create working templates for QGIS plugins. While a generic Python plugin needs the files below; __init__.py metadata.txt resources.py (translated from ...
4
votes
1answer
493 views

lookup forms in QGIS

Bit of an open question but.... Is it possible to design a form in qt designer that will be used as a form against a qgis layer but interacts with a different table in postgres/postgis as a lookup ...
0
votes
1answer
338 views

Custom Form with QTDesigner: Combine signals and slots?

I dare to ask that question here and not in the programmers section, cause i'm actually not looking for a coding answer, but a solution through the QtDesigner GUI (if possible). Custom QT-forms ...
9
votes
1answer
5k views

How do Qt Designer and QGIS work together?

I am just trying understand how qgis and designer work together. From Nathan W's excellent posts I know how to create a user form and how to hook it to a qgis layer and also how to add validation ...
1
vote
1answer
96 views

Get the ID of polygon in edition sessions of QGIS?

I did a Qt custom form for QGIS which contain a QlineEdit that must get the ID of the current polygon in edit session. For example, I start edit sessions I draw 3 polygons when the Qt form is opened ...
0
votes
0answers
44 views

How to change value of an Line edit dynamically

I create a form in QT4 and compile with pyuic4. it create an form.py I want to modify the value of the line edit dynamiclly with code. I put this code in the form.py but never happen: ...
1
vote
0answers
228 views

qgis python app how to add edit feature button? [closed]

I'd like to develop a QGIS Python app for plotting points and editing the attributes. I've started with the tutorials here: http://blog.qgis.org/?q=node/59 and read the cookbook ...
2
votes
1answer
535 views

View HTML field data with QT4 browers as a QGIS Run Feature Action Tool

I've successfully populated a sqlite table with an HTML-encoded-table as a field attribute, and so there is literally a Table within a single field value in sqlite, for each record. This is going to ...