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

6
votes
1answer
87 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 ...
5
votes
1answer
831 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()) ...
5
votes
1answer
2k views

Setting up an application in QT Creator that uses QGIS API

I am a 15 year veteran of Java making my first entry in to C++ applications. I have a specific need to develop a desktop application that produces graphics type output as well as displaying imbedded ...
4
votes
2answers
166 views

Is there a GIS-Tool that fit my needs?

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 ...
4
votes
1answer
345 views

QGIS - Add a combobox to a toolbar

Is there a way to add a combobox to a toolbar for QGIS? So far I can only find examples that add buttons. I found this tutorial which seems to explain how to do this with general PyQT but haven't had ...
4
votes
2answers
346 views

Binding between QGIS custom form (Qt Designer) and date/time field in a SpatiaLite database table

For my attribute table I created a custom form in Qt Designer. The table has a date field and a time field. In Qt Designer there are widgets for entering date and time. But what data type is expected ...
3
votes
1answer
4k views

How to reference to my in QT designer created buttons in python?

I have created an own QDialog (using QT Designer) with three push buttons. The names are pButton1, pButton2 and pButton3. After saving the file I created the ui file by using: pyuic4 ui_xy.ui > ...
3
votes
2answers
107 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 ...
3
votes
1answer
648 views

How to implement signals on add or modify feature?

I've created a test plug-in in QGIS successfully, but have had a hard time implementing a signal on a vector layer event (add or modify feature). I've add this to my initGUI method: ...
3
votes
2answers
506 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 ...
3
votes
2answers
792 views

circle detection on binary image

My image is gray scale image which i have converted to binary by smoothing and then edge detection method. Now i want to place the circle /ellipse on edge detected. I don't know how to proceed ...
3
votes
1answer
76 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 ...
3
votes
1answer
357 views

Offline Map - QGraphicsGeo

I’ve realized a desktop application based on Qt Mobility for displaying maps and adds some landmarks in real-time (like QGeoMapObject). I've to see the track of some vehicles... I've used the code ...
3
votes
0answers
32 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 ...
2
votes
1answer
55 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
270 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 ...
2
votes
1answer
890 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 ...
2
votes
1answer
100 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 ...
2
votes
1answer
120 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 ...
2
votes
1answer
77 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 ...
2
votes
1answer
49 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
482 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, ...
2
votes
0answers
31 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, ...
2
votes
0answers
172 views

qgis and embedded ajax (bing map)

I need to load in a docked QWebView this html: < html > < body > < iframe width="100%" height="499" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" ...
2
votes
0answers
301 views

Setup of development environment of QGIS on windows with qt creator

Can anyone help me in setting up environment for working on QGIS on windows using qt-creator? I am using qt creator version 1.3.1,qt version 4.6 and QGIS version 1.8. Thanks.
1
vote
2answers
2k views

making maps using Qt

D maps using Openstreetmap data with the help of Qt. I need to use Qt specifically as other components in the software have objects that integrate into the map using Qt. How should I proceed? Can I ...
1
vote
1answer
118 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() # ...
1
vote
1answer
265 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 ...
1
vote
3answers
818 views

Can I use QGIS with Qt5?

I want to use QGIS with Qt 5.But i don't know the exact relationship between Qt and QGIS.Will there some problems if i use qgis with qt5 or it will not depand on it...
1
vote
1answer
198 views

Count the number of symbols in a 'new symbology' renderer from pyqgis

Background : I create a lot of symbology using 'saturation' ramps - for want of a better term, e.g. where the hue and value of each symbol stays the same, but the saturation changes. I couldn't figure ...
1
vote
1answer
42 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 ...
1
vote
1answer
188 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
140 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
157 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
26 views

How to exit the QDialogBox button in qgis using python programming

I have created a dialog box with ok and cancel buttons.But i want one more exit button where it has to exit the QdialogBox. When i am using exit()it is exiting the complete qgis but i want to exit ...
1
vote
0answers
65 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
22 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
2answers
75 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 ...
1
vote
0answers
70 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" ...
1
vote
0answers
149 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). ...
1
vote
0answers
256 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. ...
0
votes
2answers
166 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? ...
0
votes
1answer
142 views

connect signal to function with arguments

Hello I have this function on python that take 2 arguments: def niveau(controName,idNiveau): ........ I want to connect it to this signal: ...
0
votes
1answer
184 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 ...
0
votes
1answer
210 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
3answers
451 views

Run function if item in QComboBox is selected

I got another issue writing a plugin to convert three shape files into an .obs input file. I created a UI (Qt) with a QComboBox to select a layer (that works fine). As soon as one of the layers in the ...
0
votes
0answers
36 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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
94 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
123 views

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

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) ...