1747 Commits

Author SHA1 Message Date
Denis Rouzaud
30a641111d
Merge pull request #52847 from 3nids/settings-treewidget
Settings editors
2023-05-02 21:31:35 +02:00
Nyall Dawson
d4faecefb9 Prevent attribute form editor widgets from inherting too large
horizontal minimum size

This bug causes editor widgets to inherit a very large minimum width
from the search widget wrapper, regardless of what mode the attribute
form is shown in. The outcome is that when adding/editing features
all widgets have a large minimum width, causing very wide forms
in multi-column setups with a lot of unnecessary edit widget width.

Fix sponsored by NIWA
2023-05-02 14:26:52 +10:00
Denis Rouzaud
de02e8899c remove useless method 2023-04-30 15:34:32 +02:00
Denis Rouzaud
feb9b44cc0 sipify 2023-04-27 10:38:48 +02:00
Denis Rouzaud
0b8ef93675 add proxy model to filter the settings tree 2023-04-27 10:35:11 +02:00
Denis Rouzaud
83d735fbcf refactor QgsOptionsDialogHighlighWidget to use it as an interface
by removing the inheritance of QObject, an implementation of QWidget can now also inherit from QgsOptionsDialogHighlighWidget and provide the interface to search/highlight texts
2023-04-27 10:34:02 +02:00
Denis Rouzaud
7498d0994c fix dox 2023-04-27 10:29:09 +02:00
vcloarec
93b2e27a67 fix cad tool with escape 2023-04-26 15:50:27 -04:00
vcloarec
672121df97 fix add new mesh with cad tool 2023-04-26 15:50:27 -04:00
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
Denis Rouzaud
de1363df05 use opactify in colorbutton when possible 2023-04-23 08:04:21 +02:00
Denis Rouzaud
9f3ac79b8b sipify + CMakeLists 2023-04-23 07:19:47 +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
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