3495 Commits

Author SHA1 Message Date
Matthias Kuhn
69a2bb81f9
Merge pull request #52321 from YoannQDQ/clear-recent-crs 2023-04-26 10:34:03 +02:00
Nyall Dawson
346c77b04e Spelling 2023-04-26 16:52:36 +10:00
Nyall Dawson
29b3919558 Double clicking only expands/contracts history nodes which
don't handle double-clicks in another way
2023-04-26 16:52:36 +10:00
Ismail Sunni
01e7a71ed0 Fix return type issue. 2023-04-25 07:05:11 +10:00
Ismail Sunni
4373ac68cd Add invert selection tool on refactor fields processing fix #52816 2023-04-25 07:05:11 +10:00
Alexander Bruy
0f2d2bc360 allow changing number of threads through the algorithm settings panel 2023-04-25 05:41:04 +10:00
Yoann Quenach de Quivillic
b2b68b5ce2 Update src/gui/qgsmaptool.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-04-25 05:36:30 +10:00
Yoann Quenach de Quivillic
8e5cb7da09 Add reactivated signal 2023-04-25 05:36:30 +10:00
Yoann Quenach de Quivillic
a61463a848 Do not deactivate / activate mapTool when it is already active 2023-04-25 05:36:30 +10:00
Yoann Quenach de Quivillic
3852bd40c4 Remove CRS on del key pressed 2023-04-24 09:22:32 +02:00
Yoann Quenach de Quivillic
b44d991ac8 Add buttons in the QgsProjectionTree to clear recent CRS 2023-04-24 09:22:32 +02:00
Nyall Dawson
8282b6631e Add QgsCodeEditorShell code editor subclass for Bash or Batch scripts 2023-04-24 15:26:50 +10:00
Nyall Dawson
cce5cc28f0 Spelling 2023-04-24 13:09:46 +10:00
Nyall Dawson
45d891870a Port history dialog to c++ 2023-04-24 13:09:46 +10:00
Nyall Dawson
ea58fd747f Allow history to be cleared for one provider only 2023-04-24 13:09:46 +10:00
Nyall Dawson
4c778193c9 Address review 2023-04-23 18:12:14 +10:00
Nyall Dawson
f794b17fa4 [processing] Port functionality from history dialog to history
provider framework
2023-04-23 18:12:14 +10:00
Nyall Dawson
363bf0c217 Add api for creating context menus for history nodes 2023-04-23 18:12:14 +10:00
Nyall Dawson
8795bd9da5 History providers should be QObjects 2023-04-23 18:12:14 +10:00
Nyall Dawson
8958af74da History entry nodes can be double-clicked 2023-04-23 18:12:14 +10:00
Denis Rouzaud
fe4e9b5ff8
remove outdated sip files (#52848) 2023-04-23 08:50:22 +02:00
Nyall Dawson
30870dfce9 Address review 2023-04-22 20:55:59 +10:00
Nyall Dawson
538cf4c61b Add QgsHistoryWidgetContext for future api flexibility 2023-04-22 20:55:59 +10:00
Nyall Dawson
f3f0946d81 Make API a little more flexible 2023-04-22 20:55:59 +10:00
Nyall Dawson
2f24a62572 Add missing file 2023-04-22 20:55:59 +10:00
Nyall Dawson
9e760fc8dc Allow filtering history results 2023-04-22 20:55:59 +10:00
Nyall Dawson
167d4e1a7e Add capacity for history nodes to show custom widgets when selected 2023-04-22 20:55:59 +10:00
Nyall Dawson
34ce4d76f5 Create QgsHistoryWidget resuable widget for showing history entries 2023-04-22 20:55:59 +10:00
Nyall Dawson
a71671ce3e Create a model for QgsHistoryEntries
A dynamic tree item model showing the entries in date groupings
2023-04-22 20:55:59 +10:00
Nyall Dawson
dee7605b90 Add method to insert child nodes 2023-04-22 20:55:59 +10:00
Nyall Dawson
0774c80f3e Add capacity for history providers to create/update nodes 2023-04-22 20:55:59 +10:00
Nyall Dawson
dd25f39479 Create QgsHistoryEntryNode class
Used for representing information about of QgsHistoryEntry
in a hierarchical tree structure
2023-04-22 20:55:59 +10:00
Nyall Dawson
aa7535ffab Add original id to QgsHistoryEntry 2023-04-22 20:55:59 +10:00
Nyall Dawson
2fafc2828d Add signals to history registry for entries added/updated/cleared 2023-04-22 20:55:59 +10:00
Nyall Dawson
e84ce19706 Move QgsHistoryEntry to separate file 2023-04-22 20:55:59 +10:00
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