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

Filter by
Sorted by
Tagged with
2
votes
1answer
28 views

Automatically uncheck Boolean field depending on current year

I'm preparing QGIS for field work. We want to check on street lamp posts. I have three columns: "Checked" (type Boolean) "last checked" (type string, contains only the year of the ...
1
vote
1answer
57 views

Opening hyperlinks (URLs) from QGIS HTML widget

I recently got aware that you can now create a custom HTML widget by which you can replace the regular attribute form when you click the Identify features button in QGIS. As far as I can see it is a ...
1
vote
0answers
39 views

Customize color pallets widget

I use some color palettes (1) that I added through QGIS settings and I would like to know if it is possible to customize how these palettes are displayed in the Layers Properties or any popup widget ...
4
votes
0answers
47 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 ...
2
votes
1answer
416 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
766 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
720 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
524 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 ...
2
votes
2answers
133 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
1k 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=...
3
votes
2answers
708 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
327 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 ...