Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qgis-custom-widgets]

qgis custom widgets are a set of widgets used in qt environments esp. in the qgis context e.g. for selecting layers, crs'es etc. available in qgis

1
vote
1answer
182 views

Build Radio Button in QGIS Edit Widget Properties

My question is similar to Choosing multiple options from QGIS Check Box or Value Map for feature attribute? I have 3 categories in a row, i want to make this selection in form of radio button so that ...
2
votes
2answers
254 views

How to use QGSFileWidget to save file?

I am writing a QGis 2.18 plugin. I am designing the plugin with QT, using QGis widgets. I can use QgsFileWidget to open file, but I did not find how to use it to save file. If I try to define an ...
1
vote
1answer
394 views

How to use QT QGis custom widget in a plugin?

I am writing a new plugin for QGIS 2.18. I can't find what are the libraries to import in my main code to access widgets such as QgsSpinBox or QgsFileWidget.
1
vote
1answer
327 views

QGIS custom forms using python logic

I use QGIS and I want to work with custom forms using python logic and I try to follow this manual. In my custom qu I add one new pushButton and I want for example for educations rules to open some ...
3
votes
2answers
80 views

QgsRelationEditorWidget in Custom form

I have made a custom form with a QgsRelationEditorWidget and with a QToolButton. I want to select a feature in this QgsRelationEditorWidget and press the button to open another form with this selected ...
3
votes
1answer
700 views

QGIS: add a widget to a toolbar other than the Plugins toolbar

I have a QToolButton that I want to add to an existing toolbar. Using the Python Console in QGIS 2.14.12 to debug, here's the code fragment that I'm having a problems with: iface.toolButton=...
4
votes
2answers
430 views

How do I customize QGIS' Add Feature Widget?

I have a plugin that validates some of the data a user provides when adding a new feature by the build in Add Feature UI. I want to disable some of the input fields or provide some default values to ...
2
votes
1answer
292 views

Python traceback at QGIS startup with QgsMapLayerComboBox in Plugin

I created a QGIS (2.14.8 LTR) plugin gui with QtDesigner and I would like to use a QgsMapLayerComboBox, cp. screenshot below (selected widget, settings at the right). At QGIS startup, when loading ...