3577 Commits

Author SHA1 Message Date
Denis Rouzaud
c76b86e26b
move enum QgsMapLayerProxyModel::Filter to Qgis (#54891) 2023-10-11 13:57:01 +02:00
Alessandro Pasotti
9c1201266f
Merge pull request #54687 from elpaso/bugfix-gh54501-cad-floater-regression
CAD fix regression with units
2023-10-09 08:55:38 +02:00
Alessandro Pasotti
9695f1f808 Revert "BROWSER add optional button box to dock widget"
This reverts commit 5a2cf2968ded40e53246553ae122d96d37f77a26.
2023-10-06 16:08:23 +10:00
Alessandro Pasotti
3ecf3d5f61 BROWSER add optional button box to dock widget
The button box holds Close and Help buttons
and it is hidden by default. Signals are
forwarded.

Fix #54171
2023-10-06 16:08:23 +10:00
Nyall Dawson
9d8a722568 Revert "Allowing storing GPGK raster layer styles to DB" 2023-10-06 12:15:46 +10:00
Sandro Mani
4bc4f48f50
Merge pull request #54558 from manisandro/rasterstyles
Allowing storing GPGK raster layer styles to DB
2023-10-05 16:16:44 +02:00
Nyall Dawson
784c844e30 Fix crash when certain symbol pages are open in style dock, eg
categorized class symbol editors, and QGIS is closed or a new project
opened

The symbol ownership of QgsSymbolSelectorWidget is very messy, and
we can't fix till 4.0. Workaround this by introducing a temporary
API to transfer symbol ownership to the widget.
2023-09-29 10:40:07 +10:00
Alessandro Pasotti
0c9f15ee93 CAD fix regression with units
Fix #54501
2023-09-21 14:03:30 +02:00
Sandro Mani
eba65ddd09 Move load/save style methods to QgsLayerPropertiesDialog 2023-09-18 14:16:02 +02:00
Nyall Dawson
b168b20516 Add setting to control background color for elevation profile charts
This option (available from the new Settings - Options - Elevation tab)
allows users to set a specific color to use as the background color
for elevation profiles. This can make the chart more readable for
certain datasets, eg point clouds with RGB coloring, where the default
background color is too close to the point colors to be discernable.

This is an opt-in setting -- by default the profiles will continue
to display using the standard system background color.
2023-09-13 10:17:01 +02:00
Nyall Dawson
0a752b7d13 Add opt in setting for map renders to enable render time profiling,
and enable for main canvas renders only

And explicitly disable for main canvas preview jobs too
2023-09-12 19:30:24 +10:00
Nyall Dawson
b227fa96cf Fix incorrect dates shown in Processing history
Fixes #54454
2023-09-04 14:07:27 +10:00
Nyall Dawson
440cac298f Promote QgsProcessingModelChildParameterSource source to enum class and move to Qgis
This wasn't marked as stable API, so we don't need any of the usual monkey patching code
2023-08-25 15:44:05 +10:00
Mathieu Pellerin
5f9bdad31f [ui] Fix QgsDateTimeEdit showing clear button in read-only mode and address inconsistency between text edit and date time edit widgets 2023-08-14 07:20:10 +10:00
Denis Rouzaud
5d55ee48d2
[settings] support enum and flags in tree editor (#54011) 2023-08-08 17:30:15 +00:00
Nyall Dawson
c6a4a71bd9 Implement GUI infrastructure for 2d tiled scene renderers 2023-08-07 18:43:10 +10:00
Nyall Dawson
9f57fb2ef0 Rename "tiled mesh" to "tiled scene"
Better reflects that these types can contain lines and point
data, not just meshes
2023-08-05 21:31:49 +10:00
Nyall Dawson
8c91e8fa97 By default, QgsProjectionSelectionTreeWidget should only
show horizontal (and compound) CRS in order to match behavior
of older releases

But allow opt in filters for display of vertical crs
2023-07-19 10:47:47 +10:00
Nyall Dawson
ef6057aadd Documentation, string cleanups 2023-07-19 10:47:47 +10:00
Nyall Dawson
dd933c9565 Use actual model in projection selection widget 2023-07-19 10:47:47 +10:00
Nyall Dawson
731123a425 Create a QAbstractItemModel and proxy model for displaying tree
view of coordinate reference systems
2023-07-19 10:47:47 +10:00
Nyall Dawson
95dc22f6b5 Fix handling of ' in enum docstrings in sipify 2023-07-09 22:48:59 +10:00
Yoann Quenach de Quivillic
8f3676dd80 Add search tolerance to QgsLayoutViewToolSelect 2023-07-08 04:53:44 +10:00
Nyall Dawson
4595f65cde Implement tiled mesh source select widget 2023-07-06 18:10:46 +10:00
Nyall Dawson
8f4ec245c6 Standardise layer properties dialog title creation 2023-07-06 15:03:32 +10:00
Nyall Dawson
11817f0ebd Fix build 2023-07-05 12:37:46 +10:00
Nyall Dawson
9e12fd66aa De-duplicate config page widget handling 2023-07-05 12:37:46 +10:00
Nyall Dawson
db405bd640 Consolidate rollback code 2023-07-05 12:37:46 +10:00
Nyall Dawson
6a822cb710 Deprecate old methods 2023-07-05 12:37:46 +10:00
Nyall Dawson
32174125c0 Move more code to base class 2023-07-05 12:37:46 +10:00
Nyall Dawson
84f842d85b Move more common code to base class 2023-07-05 12:37:46 +10:00
Nyall Dawson
2f7cf5dcdc Move to inheritance instead, using QgsLayerPropertiesDialog base class 2023-07-05 12:37:46 +10:00
Nyall Dawson
b55b1790ac Start a new class for common functionality across layer properties
dialogs, and consolidate all duplicate metadata load from file
code in there
2023-07-05 12:37:46 +10:00
Nyall Dawson
6c4409d71f Expand documentation 2023-07-05 09:43:32 +10:00
Nyall Dawson
151ab7e886 Support tiled mesh layers in app layer creation functions 2023-07-05 09:43:32 +10:00
Nyall Dawson
6e02d953fd Fix interaction of locked scale ranges with zoom distance range tool
in elevation profile canvas

Fixes #53303
2023-06-28 17:16:39 +10:00
Nyall Dawson
a3e06229ec Deprecate layer type specific signals from QgsAbstractDataSourceWidget
and move toward generic signal for all layer types
2023-06-28 12:08:23 +10:00
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