The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [qt-designer]

Qt Designer is a tool for designing and building graphical user interfaces (GUIs) from Qt components.

Filter by
Sorted by
Tagged with
1
vote
1answer
231 views

Why changes made in QtDeisgner form not shown in QGIS plugin gui?

I have created a plugin in QGIS 2.10.1. After making some modifications in the ui file in Qt Designer and reloaded the plugin or restarted QGIS or restarted the pc these are not incorporated. I cannot ...
8
votes
2answers
3k views

How can I add a second Toolbar Button and Dialog to a QGIS plugin built with Plugin Builder?

I want to create a toolbar with 2 buttons, each button opening a different form. The steps I followed are: Created a plugin using Plugin builder Created a toolbar with 2 buttons by doing the ...
1
vote
1answer
230 views

checkbox in qgis

Please, help me, maybe I do something wrong? I create form in Qt disigner for QGis table. And i made there CheckBox. Then in QGIS Properties I noted that it's a checkbox and loaded on the created form....
5
votes
2answers
1k views

How to populate QTableWidget via plugin?

I am attempting to populate a QTableWidget by adding rows, this is done by the user clicking on the add button: I have the following code to try and insert rows but nothing is happening: def ...
3
votes
1answer
502 views

How to connect QgsMapLayerComboBox to QgsDataDefinedButton

in Qt Designer there is the possibility to use directly QGIS custom widgets. In the UI I added a QgsMapLayerComboBox (to get the layers added in the legend) and a QgsDataDefinedButton. What I would ...
1
vote
0answers
278 views

QGIS plugin 'Module' object has no attribute 'classFactory'

I am trying to learn how to make QGIS plugins and have been trying to follow tutorials such as this one; https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/ but I keep ...
1
vote
2answers
742 views

Advanced forms with QT designer

I have a QGIS project where a SHP-layer contains the IDs of plots besides vector data. I want to create a form with QTDesigner which enables me to enter the contact information of the landowner(s) ...
1
vote
0answers
262 views

How can I connect qt ui with qgis, which browse the data file? [closed]

I have created a form in qt designer which is basically a dialog box with line edit and a browse button to browse .csv files. I am trying to connect this with QGIS so that as soon as a layer is ...
2
votes
1answer
64 views

Return several layers from listwidget

I am new to python and I am writing my first plugin that add selected layers from a listwidget to QGIS. So good so far, but it does not allow me to select several layers at once. Am I missing ...
1
vote
0answers
166 views

QGIS QT .ui not displaying attribute table value

Following tutorial 6.3.6, Creating a New Form (the first introduction of Qt designer). Seems very basic. Create a point layer with two attributes: name (text 80) and age (text 80). Then in QT ...
7
votes
1answer
469 views

Do I have to publish own QGIS plugins?

If I develop QGIS plugins for my company do I have to make them available to others? I use QT-Designer and think that it also depends on the question how you develop your plugins, right? For example: ...
2
votes
1answer
2k views

QtDesigner add map canvas widget

I am getting very difficulties to add a map canvas widget through QtDesigner. I want a window with some buttons and a space to open the map canvas. How do I specify that? What widget did I choose? ...
2
votes
0answers
1k views

Combining custom QWidgets with ui file generated from QGIS plugin builder?

I am having a hard time figuring out how I can include several QWidgets (created in individual scripts) into the QT Designer ui file generated from a QGIS plugin builder. These are custom widgets I ...
1
vote
0answers
76 views

Qt-Designer's spinbox does show or store data

I am new in Qt Designer. I created a user form to show and insert data to a shapefile. Everything works well, except the spinboxes. The fieldtype in the shapefile is integer with fieldlength 10. The ...
4
votes
1answer
855 views

How to add loading bar in QGIS Plugin development?

Every time i use tool or plugin in QGIS, i saw a kind of bar like this for indicating loading progress : The different between that bar and Progress Bar is that progress bar will increase until our ...
2
votes
1answer
145 views

Dependent Comboboxes in QGIS 2.8.2 [closed]

I´m setting up an database for an archaeological project with PSQL. There I have a field "material" connected with a table "materials" containing things like metal, stone, etc. In a third table I have ...
1
vote
0answers
160 views

How to pull data from multiple databases via Qt .ui form?

Using a single .ui form and wthin QGIS, can I show multiple records from another table that is associated with a single polygon? Table 1 contains planning applications ref Table 2 contains multiple ...
6
votes
2answers
3k views

How to display a picture in QGIS custom form?

I'd like to integrate an UI file as a form in QGIS 2.8. The UI file is created in QT Designer. One of the attributes in the attribute table is a filepath to an image. I'd like to display the picture ...
2
votes
1answer
370 views

QGIS plugin problem, can't reach objects in a Qt-based Stacked Widget

I am creating a plugin for QGIS but am having trouble with the Qt components. I have used Plugin Builder and Qt designer to create all necessary files for the plugin. I want to use a QStackedWidget ...
2
votes
0answers
440 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
474 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 ...
2
votes
1answer
2k 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 ...
1
vote
1answer
582 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 ...
2
votes
2answers
2k views

Using Qt Designer to Create a Form in QGIS that can search for a specific point in a layer

I would like to ask if you can create a form in Qt Designer to create a form that can search for a point on the map using data that the user will provide such as the Name. I am currently creating a ...
6
votes
2answers
1k views

Binding between QGIS custom form (Qt Designer) and date/time field in 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 ...
1
vote
1answer
683 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 ...
11
votes
1answer
11k 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 ...
5
votes
1answer
11k 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 > ...