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
8
votes
2answers
3k views

How to compile QtDesigner user interface (.ui) and resource (.qrc) files with QGIS 3 on Windows?

I tried to transpose the QGIS 2 process with no success. I first had to edit C:\Program Files\QGIS 2.99\etc\ini\python-core.bat which contains references to Python27 instead of Python36. I run C:\...
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 ...
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 ...
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 > ...
4
votes
1answer
854 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 ...
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 ...
3
votes
1answer
368 views

QGIS 2.18 : Choosing path of file for Python init function

I'm using a custom feature form for QGIS 2.18 (custom .ui file + custom Form.py file containing the Python init function used by the form). I would like to be able to put the .ui file and the Form.py ...
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 ...
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? ...