2080 Commits

Author SHA1 Message Date
Nyall Dawson
c3b20257dc Address review comments 2023-06-27 14:49:20 +10:00
Nyall Dawson
d849feabfb Change to version 3.34 2023-06-27 14:49:20 +10:00
Nyall Dawson
0233b38f29 Fix build 2023-06-27 14:49:20 +10:00
Nyall Dawson
ac74fb6b0a Add unit tests, fix sip annotation 2023-06-27 14:49:20 +10:00
Nyall Dawson
75340527d0 Allow setting 2d input controller for map canvas 2023-06-27 14:49:20 +10:00
Nyall Dawson
f86e46ed7a Add optional WITH_QTGAMEPAD cmake switch, and create 2d/3d gamepad
map controller classes which expose QGamepad functionality

Especially handy because the underlying QGamepad classes
are not accessible to Python
2023-06-27 14:49:20 +10:00
Nyall Dawson
eca6b7a409 Add framework for handling non-keyboard/mouse map controllers
This is the base API interface classes for creation of custom
2d or 3d map controllers, and registering them in a common
QgsInputControllerManager singleton class.
2023-06-27 14:49:20 +10:00
Nyall Dawson
b5e3af7a3a Use QgsScreenProperties instead of direct QScreen pointers 2023-06-22 18:49:22 +10:00
Nyall Dawson
0641766902 Fix incorrect sizing & pixelation of symbol previews on hidpi
displays
2023-06-22 18:49:22 +10:00
Alessandro Pasotti
b7324438b1
Merge pull request #53296 from elpaso/bugfix-gh53229-layout-filter-expression-context
Add more context to the legend filter expressions in layouts
2023-06-07 08:45:24 +02:00
Denis Rouzaud
5bccd556e2
move QgsTolerance::UnitType to Qgis::MapUnitType (#53347)
* move QgsTolerance::UnitType to Qgis::MapUnitType

* missing forward declaration

* forward declaration

* use MapToolUnit

* forward declaration

* sipify

* fix tests

* Apply suggestions from code review

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>

* forward declaration

* forward declaration

* forward declaration

* sipify

* fix missing parenthesis

---------

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-06-06 18:33:50 +02:00
Juergen E. Fischer
2f46999125 spelling fix 2023-06-01 14:40:29 +02:00
Alessandro Pasotti
e3196484e1 Add more context to the legend filter expressions in layouts
Fix #53229
2023-05-31 09:56:25 +02:00
Nyall Dawson
2d105204f6 [feature] Expose choice of distance unit in elevation profile settings
menu

Allows users to change the distance unit for situations where the
map's default distance unit isn't appropriate
2023-05-29 14:18:35 +10:00
Mathieu Pellerin
37ebf9c5e2
[gui][editor widgets] Show value relation description when hovering the combobox (#53237) 2023-05-26 17:12:14 +02:00
Alessandro Pasotti
3db86bc236
Merge pull request #53168 from elpaso/attribute-table-defer-virtual-fields
Attribute table optimization: do not load hidden fields until required
2023-05-22 16:35:12 +02:00
Nyall Dawson
7c7d5dc338 [profile tool] Add option to lock the horizontal/vertical scale to
matching scales

When activated, this option ensures that the horizontal and vertical
scales are always kept equal (so that eg a 45 degree slope will appear
as a 45 degree slope in the profile)
2023-05-20 13:18:54 +10:00
Alessandro Pasotti
d2c317a5d7 Attribute table optimization: do not store hidden fields
- defer hidden fields fetching
- allow caching of mixed full and subset attributes features
2023-05-19 19:15:10 +02:00
Alessandro Pasotti
66a5604e84 Followup floater settings fix settings storage
Cleaning my own mess, followup #53061
2023-05-19 13:10:52 +02:00
Nyall Dawson
28747c9b4d Use proper enum for return value 2023-05-15 16:38:52 +10:00
Nyall Dawson
5efa6c06f8 Improve documentation, function names 2023-05-15 16:38:52 +10:00
Nyall Dawson
83d1e6cf55 Better name 2023-05-15 16:38:52 +10:00
Nyall Dawson
ecff6b9e3b Remove unused deprecated method which wasn't exposed to python 2023-05-15 16:38:52 +10:00
Nyall Dawson
b0be3d4816 Use enum class 2023-05-15 16:38:52 +10:00
Alessandro Pasotti
4fab764af0 Advanced digitizing: floater settings and bearing
- visibility settings for floater
- option for bearing/azimuth
2023-05-12 07:30:23 +02:00
jakimowb
367b8ba332 added SIP_SKIP 2023-05-12 13:09:14 +10:00
Benjamin Jakimow
64c0f4aacd sipifyed qgsvectorlayersaveasdialog.h 2023-05-12 13:09:14 +10:00
jakimowb
d3b91ca721 added QgsVectorLayerSaveAsDialog to public API 2023-05-12 13:09:14 +10:00
Alessandro Pasotti
f63dd2c360 Move CadConstraintType to Qgis, translate degree symbol 2023-05-12 06:32:11 +10:00
Alessandro Pasotti
49d1b61f30 Advanced digitizing: respect units for distance
- respect project settings for distance units
- format angle
- format geographic coordintates
2023-05-12 06:32:11 +10:00
Nyall Dawson
0d90cbcf1b sipify (followup cb1bfa1a) 2023-05-05 06:27:32 +10:00
Alessandro Pasotti
34933d0072 SIP_SKIP and tidy 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
5f86a4011f Advanced Digitizing: more common angle options
- add 0.1, 0.5, 1.0 common angles
- add an option to show current common angle in the floater
- add 'N' 'SHIFT+N' keyboard shortcuts to cycle through the
  common angle options
2023-05-04 13:19:59 +02:00
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