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
0answers
75 views

Keep dialog displayed while processing

I'm working on a plug-in for QGIS and I'm a bit stuck on a problem with my dialog (realized on Qt Designer). Indeed, I added a progression bar wich seems to work, but I can't really check this ...
2
votes
1answer
149 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 ...
2
votes
1answer
410 views

How do I make a file dialog for a custom forms that does the same thing as the autogenerated URL selector?

I used QT Designer to build a custom form for attribute entry. One of the attributes is for storing a file path of a permit document as a string. With the auto-generated forms, there was a URL ...
1
vote
1answer
272 views

Python GUI for QGIS plugin ; how to reference form controls in code? [closed]

I've been going around in circles with this for a few hours so hopefully someone can help. I am familiar with VB, C# but not Python - and struggling to do something fairly simple. I have created a ...
0
votes
1answer
45 views

Edited Plugin not Loading new version

I have edited a GUI in QT of a plugin and made changes to the code. Have exported the correct ui.py files and files paths within the python elements of the plugin, look to be correct. However, I ...
2
votes
1answer
342 views

Qt Designer and QGIS, using relation references

I have made my own form in Qt Designer and connected it to QGIS. One of my fields is a relation reference. But the text doesn't fit in the combo box. You can see it in the picture. I tried to ...
1
vote
1answer
70 views

Plugin Builder Load data [duplicate]

I am trying to re design a plugin to run multiple iterations of data loaded from a file. I am using QT creator to develop the GUI. How would I design a load data input box so users can select a data ...
2
votes
1answer
846 views

import Map from QGIS into QT Designer

I am looking for a way to get a map from QGIS into QT Designer. I have the QT Designer version that comes with QGIS, meaning i have all the standard QGIS Widget. I don´t see a map widget, but many ...
1
vote
0answers
730 views

decimals and commas in QGIS - how to display in Qt designer form

I use Qt designer, create a new form, add several line edit (qLineEdit) widgets, rename them the same as the fields in a QGIS attribute table, and save. In QGIS I associate the new .ui file in Layer ...
1
vote
1answer
231 views

Connect Qt DoubleSpinBox to PyQGIS script

I have done a python script and I want to change the '1.0' value on pas15 with the value that is set in the double spin box, but I can't find the way to do it. Any idea? self.dlg.doubleSpinBox....
1
vote
0answers
172 views

Scroll for qgis custom form

I made form in qt designer for QGIS. But there are a lot of fields in It and It can't placed in screen. I want to add scroll area in my qt designer form but It doesn't work as scroll doesn't appear. ...
2
votes
0answers
464 views

This extension is corrupted : No module named qgscollapsiblegroupbox

I'm building a QGIS plugin, and I am making the GUI using Qt Designer. Whenever I am using one of the "QGIS custom widgets" (in the present case, a QgsCollapsibleGroupBox) in my plugin window, it ...
3
votes
1answer
354 views

How to use Qt3 Support widgets in QGIS plugin?

Similar to this post: My plugins crashes with “No module named qgsprojectionselectionwidget” in Windows. Except I would like to also use Qt3 Support widgets (in particular, a Q3ButtonGroup). However, ...
2
votes
1answer
403 views

How to connect QtDesigner with python console on QGIS

I've created a script with python console on QGIS and an interface for my plugin with Qt Designer with QGIS 2.14.0 custom widgets. I would like to connect my sript with the interface but I can't find ...
2
votes
1answer
579 views

How to filter out layers with QgsMapLayerComboBox?

I am using Qt Designer 4.8.5 to develop a plugin (with QGIS 2.14.3-Essen). I recently started to use QgsMapLayerComboBox widgets instead of the conventional Combo Box widget. However, I want to ...
1
vote
0answers
247 views

QGIS Qt Designer set current date and time in mask

I have created an input mask for QGIS using the Qt Designer. Everything works fine but I have a small issue with the date, the time and the date/time edit widget. Is there any way to display the ...
1
vote
1answer
240 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 ...
4
votes
1answer
874 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 ...
1
vote
1answer
237 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 ...
1
vote
0answers
281 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
779 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
270 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
65 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
174 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 ...
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 ...
7
votes
1answer
478 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: ...
1
vote
1answer
690 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
586 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
161 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 ...
2
votes
1answer
381 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
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 ...
2
votes
0answers
452 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
477 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 ...
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 ...
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 ...
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 > ...