Is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI) (in which cases Qt is classified as a widget toolkit), and also used for developing non-GUI programs such as command-line tools and consoles for servers.

learn more… | top users | synonyms

0
votes
0answers
19 views

How to make a QT form modal in QGIS

I have created a form in QT (ui) and I have configured the properties of a layer (fields) at edit ui. The form is called from QGIS as non-modal but I need it to be called as Modal. Is there a ...
1
vote
0answers
27 views

QGIS MapCanvas with Round Border

I have a canvas within a QWidget (also tried QFrame) which uses a stylesheet: border: 2px solid black; border-radius: 10px; The stylesheet looks great in the designer, but as soon as I put the ...
1
vote
1answer
64 views

QGIS custom Form - How to bind a value from a QComboBox?

I am trying to build a custom form for field data collection (bird species) with some python logic. The python code inserts values into a QComboBox: At the beginning of the list it adds the twenty ...
1
vote
1answer
49 views

QGIS plugin: Problems importing resources (resources_rc) file - plugin doasn't load - PATH problems?

I'm building qgis plugin and I can't find solution for this error. File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import mod = _builtin_import(name, globals, locals, ...
0
votes
0answers
29 views

How to create custom input widget using Plugin builder?

I am trying to develop a plugin that takes in user input for the time, using the QGIS plugin builder. However, I want to specify the different times the user is allowed to select from when the plugin ...
1
vote
0answers
29 views

QGIS Project: where to put CORE_Export definition in Visual studio 2010

I am trying to develop a QGIS application with the following setup: OSGE4W qgis Libs QT 4.8.5 Windows 7 Visual Studio 2010 I have all the references setup in VS, but am not sure where define the ...
1
vote
1answer
64 views

How to add multiple attributes to a newly created feature with PyQGIS

I am creating a form for updating the attribute values of the newly created feature. But when i am updating the values only one attribute field is getting updated. So if i want to update the multiple ...
2
votes
1answer
68 views

Adding new menu item to QGIS Desktop app

I need to add new menu item to the top level menu of QGIS Desktop (2.7.0); I.e. it shall be on same level as "Project", "Edit", "View", "Layer" etc. As far as I know there is pretty nice way how hide ...
1
vote
0answers
31 views

How to change the attribute values of the feature using the custom feature form

When i am using the following command it opens the feature form with all the fields: qgis.utils.iface.openFeatureForm(qgis.utils.iface.activeLayer(), f) But i want to open a feature form with the ...
0
votes
1answer
64 views

How to position the Qwidget form/QDialogBox in the left corner using python programming

1) I am creating a Qwidget Form or QDialogBox using QT Designer. I am using the following code to move the form: sDialog.move(50,450) But i want to fit the dialogBox to fit in the left corner.How ...
0
votes
0answers
51 views

How to best get Qt Designer for QGIS plugin development on Mac?

I'm using QGIS 2.6.1 on Mac OSX 10.9.4, trying to create a plugin as described in the PyQGIS Programmer's Guide. I have the plugin 'skeleton' (main widget with header and ok/cancel buttons) running in ...
2
votes
1answer
71 views

Layer properties dialog in my QGIS plugin

I am developing a plugin which should display some information like geometry of the layer, feature count etc. Now those are currently displayed in QMessageBox.information. I want it to be displayed ...
1
vote
1answer
53 views

How to make rectangle selection on QgsMapCanvas?

I have this code for create and open raster map: if(QFile::exists(rasterFileName)) { QFileInfo myRasterFileInfo(rasterFileName); m_pRasterLayer = QSharedPointer<QgsRasterLayer>( ...
1
vote
1answer
132 views

How to change the values of the push buttons in QT designer [closed]

I am using the standard dialog box with ok and cancel options.i Have also added one more button exit. self.dlg.show() result=self.dlg.exec_() print 'The result is',result it is ...
3
votes
1answer
120 views

How to create a clickable hyperlink in a QGIS form?

I have a hyperlink field in my table. I wish I could go to those addresses without using actions. I want to go directly from the form by clicking on them as happens in a hyperlink. It is possible? ...
4
votes
1answer
124 views

QGIS Standalone C++ Application with Qt: “The program has unexpectedly finished”

I'm trying to develop an Standalone Application with Qt and QGIS API. There are several code examples that should work, but they don't. The Problem is that everytime I use "QgsApplication" the ...
4
votes
2answers
203 views

Is there a GIS-Tool that fit my needs? [closed]

I´m working on a GIS-Project in the Defense & Intelligence sector. The goal was to develop/create a GIS-Service that: stores and manage GIS-Data (Map data, Height data.. ) has a repository for ...
1
vote
0answers
152 views

With QGIS, why use QT Designer tools for creating Slots/Signals/ etc, if plugin coding can do it alone

I am curious why there is facility within QT Designer to create signals and slots as, to my surprise, I did not need to do this. All of the necessary coding was accomplished completely within the ...
1
vote
0answers
40 views

How to find QGIS or QT or Python object definitions

I am attempting a simple plugin, on QGIS 2.6, using the available QT Designer installed I have successfully loaded a plugin, and can display a dialog box with widgets, within, and now attacking ...
1
vote
1answer
152 views

With QGIS Plugin Builder, receiving “ImportError: cannot import name”

While doing a first-time attempt to craft a simple plugin, I ran into the above error. I am using QGIS 2.6.0 for windows, the QT Designer that comes with that package, and the plugin builder plugin ...
2
votes
0answers
41 views

How to actually add the path to a file conatining a photo on a QT form using QGis/Postgis/Postgress

Simple newbie question as I have just designed my first QT form, after a frustrating afternoon search unsucessfully for the answer, help please. I have a spatial table in postgress, loaded into QGis, ...
0
votes
0answers
49 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 ...
3
votes
2answers
133 views

QGIS Installation on Windows

I'm newbie to QGIS and to this forum. I want to develop application using Qt on QGIS to real time updation/mapping of a symbol using GPS co-ordinates. Initially i have installed QGIS on Windows 32 ...
2
votes
1answer
85 views

QGIS Plugin development version compatibility

At this time latest QGIS version is 2.4 , QT Version is 5.3.1 and PyQT5.Are these version compatible with each other ? Once QGIS 2.4 is installed , how does one know which version of QT and PyQT(and ...
2
votes
1answer
182 views

Add band to GDAL VRT dataset and convert to TIFF

I'm trying to add a band to a TIFF dataset by converting it to a VRT format and using the AddBand() function, then convert it back to a TIFF to access the band and write the data. Here is an example ...
1
vote
2answers
130 views

GDAL Application crashes when loading GDAL drivers

I'm developing on QT an application that uses GDAL library (which I compiled using MinGW 4.8). When I use the application on my windows 8 laptop, it works fine, but when I tried using it on several ...
2
votes
1answer
166 views

How to add buttons to QT ui for qgis feature forms to loop through attributes?

I'm looking for a bit of guidance. I'm happy creating a standard feature form using QT designer (as excellently documented here) for QGIS but I was wondering how you add a forward and back button to ...
0
votes
0answers
34 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 ...
3
votes
1answer
90 views

Referencing Qt UIs external to plugin with python

I'm developing a plugin that sets up a working environment for a user: loading layers (from db), applying styles and several custom designed (Qt) UI files etc. Primary user interaction is in the ...
1
vote
1answer
253 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
228 views

How to populate a combobox with layers in TOC?

I am developing a plugin, and I want user to select one of the loaded layers from a combobox. I've already coded this much: self.dlg.show() layerlist = [] self.dlg.ui.layerCombo.clear() # ...
0
votes
0answers
111 views

QGIS custom form and autocompleted data entering with “validation check”

In Qt-Designer I created a custom form where I can choose serveral species names in two different combo boxes. This combo boxes are linked via "value relation" to the accordant non spatial tables ...
0
votes
0answers
136 views

QGIS-QT designer. How to create a form that allows editing elements linked by one to many relationship [duplicate]

I know this question has been already asked on this forum, but I really have not found any answer, not here, not anywhere. My question is simple, I have a Spatialite DB having one spatial layer (Pole) ...
0
votes
1answer
126 views

Building with MinGW 4.8

I'm working on a project where we would like to add QGIS features to an existing Qt application. The Qt application has been built with Qt5.2.1 using MinGW 4.8 and thus I think I need to build QGIS ...
2
votes
1answer
54 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
1answer
266 views

QT Designer form - Combobox stores value but doesn't display it

I have a custom form created with QT Designer on which I have several comboboxes among other stuff. All the fields have the correct names corresponding to the database. One of these comboboxes has a ...
0
votes
1answer
131 views

Duplicate values in combobox in QT Designer form

I have a custom form created with QT Designer on which I have several comboboxes among other stuff. All the fields have the correct names corresponding to the database. But something weird and ...
1
vote
0answers
84 views

Problems with connecting QDateEdit and QTimeEdit widgets to corresponding Field in QGIS Layer (shp/spatialite)

Could anybody give me a hint how to connect the QDateEdit and the QTimeEdit widgets with a field in a QGIS layer (shp or spatialite). The fields in the QGIS layers are from datatype "date" ...
0
votes
1answer
252 views

QGIS 2.0 Howto copy raster data from a QgsRasterDataProvider to an OpenCV matrix

I'm hacking the half day arround a problem and that I' thought it was simple one. I'm using C++ (QtCreator) QGIS 2.0 und openCV2 on an 64 bit Workstation runnig Debian Wheezy. The Application I try to ...
1
vote
0answers
162 views

How to create a spatial view when allowing multiple selection in qgis’s edit widget “value relation”?

I've a point layer in qgis and serveral non spatial tables in a spatialite database. In qgis the fields were filled using the edit widget "value relation" (multiple selection allowed for some fields). ...
0
votes
2answers
203 views

What kind of QT widget is the QGIS drawing area?

I mean when open QGIS , and add a vector layer or other type of data. The content will show on the "Drawing Area", i want to ask, the drwaing area is some type of widget or just in the QMainWindow? ...
2
votes
1answer
1k views

Is it possible to query via bounding box in the Google Maps Static API?

We have a Qt program written in C++ to request wms tiles and display them. This works fine. Now we want to display imaginery from Google Maps and due to some restrictions in our program, we can't use ...
3
votes
1answer
85 views

How to create a printable data sheet when using edit widget “value realtion” in QGIS 2.0?

I created a spatiaLite Database with a point layer (every point is a tree). Additional I created several tables to fill the columns of the spatial layer with attributes using the editing widget “value ...
0
votes
0answers
632 views

Trying to make QT + QGIS working

I'm mostly a Java programmer, I worked on C++ many years ago, and knowing this my project manager has asked me to create a little app in Qt that can open a shape file, using QGIS. But I'm encountering ...
0
votes
1answer
219 views

Pull pixmap image source from ui edit text in QT

I'm putting together a custom form for QGIS identify using Qt Designer. One attribute has a file name to the accompanying photo of the feature. I'd like to have the photo label in the form grab the ...
1
vote
1answer
189 views

Buttons (Ok, Cancel) disappear in “Apri Modulo” from Attribute Table in QGIS 2.0.1

QGIS 2.0 has changed the visualisation of a form opened from the attribute table: instead of opening the form in a separate window, the form is opened in the same one. This is not a problem, but all ...
1
vote
1answer
177 views

How can I add a delete button to feature forms?

I have created some formulars in QTDesigner for capturing and manipulating data in QGIS. The data is stored in a postgis-database. It would be helpful to have a delete-button in this formulars to ...
1
vote
0answers
274 views

ArcGIS (ArcObjects) Windows 7 - 64 bit -support

I have been developing with ArcGIS Cross Platform C++ SDK (with Qt 4.8.2) on 32 bit Windows XP SP3 (development machine). I used to use MapTool Control within ArcObjects on the development machine. ...
3
votes
1answer
563 views

Using GDAL to connect to a WFS

I'm trying to connect to a wfs using GDAL, from reading some of the (fairly sparse) documentation on this i have found that this is possible if GDAL is compiled with the correct drivers (Curl, ...
1
vote
1answer
332 views

Connect not working for custom QGIS form

So I have a custom form for editting feature attributes. However, I can't seem to correctly disconnect and reconnect certain bindings. The init code is below and should work for any simple QT widget ...