Questions tagged [qt-designer]

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

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
59 views

How to use all QGIS 3 custom widgets in Qt Designer?

For example, QGIS 3.4 has various custom widgets such as QgsFieldValuesLineEdit and QgsColorWheel (and later versions have even more widgets) but they are not listed in the QGIS custom widgets list of ...
4
votes
2answers
543 views

QGIS 3.6 picture in ui form (Qt5 Designer)

I'm facing trouble with display a picture in a ui form based on a field (path). With the autogenerate form it works but when I try with a personalized form I cannot see the picture. I tried with a ...
3
votes
0answers
99 views

Plugins that works with high resolution screens

I've written a plugin for QGIS (GeoDataFarm) and I've been using QT creator for all ui files of the plugin, which have worked fine for me. However, I just got an email from someone that tested my ...
3
votes
0answers
487 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
0answers
54 views

How to make buttons work from second window in my QGIS plugin?

I'm trying to develop a QGIS plugin. I already created a second window. In that second window, there are several buttons that I need them to work. I can't say I'm a programmer that's why I don't ...
2
votes
0answers
358 views

Problem with font size depending on screen resolution - QT

I developed a QGIS plugin by designing the interface with QT Designer. The inferface appears correctly on my computer (left image). However, on some computers, I encounter size problems, especially ...
2
votes
0answers
49 views

QGIS map tile not printing some given extent in one time why?

I made a plugin in QGIS using pyqgis and qt designer to plot OSM tile in which I have one button which connects me to function in which I wrote a program to plot raster layer using param and I am ...
2
votes
0answers
172 views

QGIS not binding value from field to widget in my custom form (Qt Designer)

I have created a custom form in QT Designer with a QSpinBox and a QLineEdit. I named the objects the same as the column names so that qgis can bind the values. Added the .ui to a layer. The widgets ...
2
votes
0answers
552 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 ...
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
61 views

Problem compiling ui to python for a QGIS 3 plugin

I've created a .ui using QT Designer for a QGIS 3.10 plugin called 'bhlayers' which has a docking widget to the right. When I used the: pb_tool deploy command it didn't seem to translate the .ui to ...
1
vote
0answers
52 views

QtDesigner/QGIS 3: Which widget to use for multiple selections in ValueRelation?

I created a field of type ValueRelation allowing multiple selections in PyQGIS. Everything works as it should in the attribute table (see here for example). Now I'm trying to create a custom .ui in ...
1
vote
0answers
47 views

QGIS plugin window - formatting error

I am new using QGIS plugins. I used QtDesigner to build a plugin window with some buttons. But when I open this plugin in QGIS all the formatting is gone. Any idea what is happening?
1
vote
0answers
142 views

QGIS Widget on Qt Designer Mac

I would like to use a QGIS custom widget in a UI window on Qt Designer for Mac. I only have the Qt widgets and cannot find a way to see the QGIS widgets. I have Mac OS Mojave 10.14.6, Qt Creator 4....
1
vote
0answers
19 views

image.png problem in Qt design

I made a python plugin for qgis 3.4 and I built the interface in Qt design. I have the problem when I insert an image. I create a Label in qt design and configure the directory on pixmap, on Qt design ...
1
vote
0answers
176 views

How to retrieve text from a QLineEdit in a tabifyDockWidget

I've write a plugin that calls a tool when a certain push button in my tabifyDockWidget is clicked. When the comboBox button is clicked it works perfectly carring the comboBox.currentText() to the ...
1
vote
0answers
42 views

Adding a tab to the QGIS project properties

I would like to know, if there is the possibility to add new tabs to the QGIS project properties? (for example, under the "QGIS Server") The goal is to have the advanced options of a QGIS plugin ...
1
vote
0answers
150 views

Changing the field colour/design on a QGIS 3 QT attribute form?

I have problems with changing the physical appearance of a custom attribute form (QGIS 3, Windows 7). A custom attribute form can be designed, for use in QGIS, using QT / QT Designer. In QT Designer ...
1
vote
0answers
27 views

How to pull in and push out text browser?

I am using Qt designer to create a plugin in Qgis3. I want to add description of a tool beside the tool. For this I have tried using 'Text Browser' by connecting it with button. I am able to hide and ...
1
vote
0answers
77 views

How is QT designer used to implement radio buttons for a QGIS field

I have a custom data form, created using QT Designer, for interacting with a particular layer on QGIS. A simple line-edit widget on such a form (as with most other form widgets) requires that the ...
1
vote
1answer
137 views

Making Qt designer form annotations show up in print composer?

Firstly, I am a QGIS novice, and even less so with QT Designer. I was able to figure out how to use QT Designer to make a QGIS Form Annotation. It sync's well with my data, but I have a problem with ...
1
vote
0answers
107 views

QtDesigner shipped with QGIS 3 doesn't show svg's in resources

In the QtDesigner shipped with QGIS 3 svg's and jpg's are not shown in the Resources window nor as icons on widgets: QtDesigner from QGIS 3.2: svg's example jpg's example QtDesigner from QGIS 2.18 ...
1
vote
0answers
617 views

Unable to store comboBox value via QLineEdit ('list' object has no attribute 'setText')

I am trying to create a QGIS custom form which allows users to select a value (name) among others in a comboBox, and saves said value with its corresponding code (taken from another table in the ...
1
vote
0answers
245 views

How to fill multi combo box in pyqgis?

I want to select raster layers by a GUI, so I designed a form by Qt designer that can add raster layers in 5 combo boxes. I want when a user select first raster layer in first combo box, and then user ...
1
vote
0answers
114 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 ...
1
vote
0answers
811 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
0answers
189 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. ...
1
vote
0answers
281 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
0answers
321 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
0answers
193 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 ...
1
vote
0answers
84 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 ...
1
vote
0answers
165 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 ...
1
vote
0answers
503 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 ...
0
votes
0answers
49 views

QGIS Plugin to show data from Postgres Database using PyQGIS , QT Table Widget

I'm trying to build a plugin in QGIS 3.0 which will load a table from Postgres DB and show the data in QtableWidget using PyQT and PyQGIS. I have created the form in QT designer : In my main plugin ...
0
votes
0answers
76 views

QtDesigner is not starting for qgis bat file

The qt-designer.bat file did not launch the QtDesigner. I have tried the file available with OSGeo4W64 installation but the qt-designer did not starts.I also try to start the qtdesigner from the ...
0
votes
0answers
156 views

Making clickable hyperlink from URL with QT Creator for QGIS custom forms?

I am creating custom forms for QGIS with QT Creator. I want to know how to make a clickable hyperlink from an URL. It is said that QT Creator can handle them directly in a QLabel if the "...