1702 Commits

Author SHA1 Message Date
Nyall Dawson
d5cd4c99fc Metatype QgsHistoryEntry 2023-04-22 20:55:59 +10:00
Nyall Dawson
c7659fbc9a Show field comments and alias in field mapping tables 2023-04-22 09:18:06 +10:00
Nyall Dawson
7a0c9a39ed Allow a range of cells to be copied from SQL results window
Allows selection of a range of cells to copy to clipboard. Results
are copied as both plain text and html, so can be pasted easily
into spreadsheet apps/etc as tables
2023-04-18 14:13:44 +10:00
Nyall Dawson
3c64bcc6a6 Fix false positive cppcheck pureVirtualCall warnings when pure
virtual functions are called as slots
2023-04-17 16:29:44 +10:00
Nyall Dawson
cb360f017b Make cppcheck test check for missing overrides 2023-04-17 15:12:59 +10:00
Jacky Volpes
6149d5da0c Fix #51515 - using properties objects for load/save layer styles 2023-04-11 11:19:22 +02:00
Yoann Quenach de Quivillic
e98e655171
Map tip position improvements (#52469) 2023-04-08 13:23:40 +07:00
Nyall Dawson
895a68faee Expose 'Search Selection in PyQGIS docs' action for all python code editors 2023-04-06 08:32:41 +10:00
Nyall Dawson
8f5476e6d7 Avoid loss of text in code editors when certain modifiers are pressed
These are triggered when a InputMethod event is sent to the widget.
There's upstream discussion at https://sourceforge.net/p/scintilla/bugs/1913/
and the fix was added to QScintilla version 2.13.3

As the loss of text is an extreme risk, just disable input method
handling in these widgets on affected versions entirely.

Fixes #52459
2023-04-04 14:12:26 +10:00
Nyall Dawson
0ff713b127 Fix virtual dispatch in constructor warnings 2023-04-02 06:01:26 +10:00
Nyall Dawson
d1c3e8da77 Add Source tab to vector tile layer properties
Match other layer types, and add a Source tab with:

- layer name
- CRS override
- optional provider source widget, for providers which expose this
functionality

This matches the content of the Source tab for other layer types
2023-04-02 06:01:26 +10:00
Nyall Dawson
941b0caa49 Add layer tree method to return all selected legend nodes 2023-03-31 14:22:44 +10:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings 2023-03-31 10:46:24 +10:00
Alexey Karandashev
30700f1ef1 Fix GeometryType in documentation:
QgsWkbTypes::GeometryType to Qgis::GeometryType
and QgsWkbTypes::<geometry>Geometry to Qgis::GeometryType::<geometry>
2023-03-31 10:28:36 +10:00
Yoann Quenach de Quivillic
443df70628 Add Toggle comment capability to the Html Editor 2023-03-31 05:56:14 +10:00
Mathieu Pellerin
95c57b134c [ui][sensors] Sensors GUI registry implementation 2023-03-30 10:39:43 +07:00
Nyall Dawson
1822998bda [feature][console] Allow Python console to be toggled between a dock
widget and a full main window dialog

Adds the same toggle button as we use for 3d map canvases and attribute
tables to make it super-easy to switch the Python console to a full
main window.
2023-03-30 12:40:06 +10:00
Yoann Quenach de Quivillic
b35d5fd15d Composite setting key for QAction & QShortcuts keyboad shortcuts 2023-03-30 08:22:36 +10:00
Alessandro Pasotti
b148ff1051
Merge pull request #52420 from YoannQDQ/map-tip-preview
Map tip preview
2023-03-29 16:06:09 +02:00
Yoann Quenach de Quivillic
0e61eb8e58 Add map tip preview in raster layers properties 2023-03-28 15:49:20 +02:00
Yoann Quenach de Quivillic
7d1cc053d0 Add map tip preview in vector layers properties 2023-03-28 15:49:03 +02:00
Yoann Quenach de Quivillic
66b64bc623 Add static methods to get a html preview for a given layer 2023-03-28 14:58:27 +02:00
Mathieu Pellerin
346abae549
Merge pull request #52329 from nirvn/sensors_framework_2
Sensor options panel within the project properties dialog
2023-03-28 15:34:21 +07:00
Nyall Dawson
fe3818d37e Expose QgsMapRendererCache for map canvases to PyQGIS 2023-03-28 15:05:41 +10:00
Nyall Dawson
03e1d90b39 Immediately write out the console history file BEFORE running commands
This prevents loss of history when a user enters a Python command
which results in a QGIS crash
2023-03-28 15:04:39 +10:00
Nyall Dawson
b9b06b057a Don't add 'exec(Path(...))' entries to console history when running scripts
These just clutter the history
2023-03-28 15:04:39 +10:00
Mathieu Pellerin
00b53e7c30 [ui][sensors] Add a sensors panel in the project properties dialog 2023-03-28 11:00:10 +07:00
Yoann Quenach de Quivillic
a4469591a7 Add reformat capability to the HTML editor 2023-03-28 05:53:33 +10:00
Alex
5a0fba972e
[processing] Multilayer selection drop support
Adds drop support for layers in the multiple layer selection widgets to more efficiently select the desired elements. Especially useful in big project of with duplicated layer names.
2023-03-24 06:47:11 +10:00
Yoann Quenach de Quivillic
70bf31adbd Add non translatable option page identifier - Fixes #50657 2023-03-24 06:30:13 +10:00
signedav
74baacc456
Merge pull request #52246 from signedav/fetchlimit_relationreference
Relation Reference: Limit number of entries (resp. unlimit it) per widget
2023-03-21 13:24:51 +01:00
signedav
4eaeb3ec2b add since note 2023-03-20 13:04:33 +01:00
Nyall Dawson
a6b4742e97 Use settings registry for new settings 2023-03-20 16:06:24 +10:00
Nyall Dawson
8e526353f9 Move toggle comment handling to base QgsCodeEditor class 2023-03-20 16:06:24 +10:00
Nyall Dawson
3312bf1ad2 Move syntax checking capability to QgsCodeEditorPython 2023-03-20 16:06:24 +10:00
Nyall Dawson
ac5f8da74e Support reformatting in base QgsCodeEditorPython class 2023-03-20 16:06:24 +10:00
Nyall Dawson
7b61080557 Port generic portions of reformat code action to base class 2023-03-20 16:06:24 +10:00
Nyall Dawson
7cd6b616b1 Allow processing dialog to override default processing context settings 2023-03-17 05:59:15 +10:00
Yoann Quenach de Quivillic
2ab74cb22f Fix #52098 Capture tool technique button disabled 2023-03-16 14:40:07 +01:00
signedav
bf718bc482 tooltip
and fix version number
2023-03-15 17:53:00 +01:00
signedav
c035c2f8a3 Possiblity to set the limit (fetchLimit) of values in the comboBox of the Relation Reference Widget in the widget configuration. 2023-03-15 17:52:53 +01:00
signedav
1667a15527 set fetch limit functions in the QgsFeatureListCombobox to set it indivdually per widget 2023-03-15 17:52:03 +01:00
signedav
5bd1785e3d
Merge pull request #52249 from signedav/removeorderbyvalue
Relation Reference: Remove broken (unused) setting for "Order by value"
2023-03-15 17:21:39 +01:00
signedav
99430cda7e Remove broken (unused) setting for order by value. Resolves #26468 2023-03-15 13:34:23 +01:00
Nyall Dawson
b1419e6009 Spelling 2023-03-15 14:55:44 +10:00
Nyall Dawson
aba620a311 Add a "contextMenuAboutToShow" signal to QgsLayerTreeView
Allows plugins to hook into this menu and add custom entries
and customise the standard entries
2023-03-15 14:55:44 +10:00
Nyall Dawson
c6a1a57230 Add some missing documentation 2023-02-22 12:39:21 +10:00
Nyall Dawson
046883fa9c Promote QgsWkbTypes enums to enum class, move to Qgis 2023-02-22 12:39:21 +10:00
Nyall Dawson
18fd0bbbbf Create QgsGeometryWidget
A new widget which stores a referenced geometry value, and provides
handy methods for copying the value as WKT or GeoJSON, pasting
a WKT/GeoJSON value from the clipboard, or clearing the geometry
2023-02-21 06:01:44 +10:00
Nyall Dawson
8d5cdc85fc Workaround sip inability to convert enum class variants to python objects 2023-02-19 13:29:06 +10:00