1846 Commits

Author SHA1 Message Date
Nyall Dawson
cf0e101664 Remove broken see also links 2024-01-20 12:11:30 +10:00
Nyall Dawson
9f877df4d6 Use proper model for recent CRS in QgsProjectionSelectionTreeWidget
This ensures that we correctly apply filters to recent projections
too, eg so that a widget showing only vertical crs will ONLY show
recent VERTICAL crs, not every recent crs.
2024-01-20 12:11:30 +10:00
uclaros
d8996ae33b Add 3D map canvas handling methods to QgisInterface 2024-01-19 06:51:53 -08:00
Alexander Bruy
434ea2f1c8 initial implementation of the labeling gui 2024-01-19 02:23:10 -08:00
Nyall Dawson
585123a883 Add dox 2024-01-18 09:35:09 +10:00
Nyall Dawson
3e05a423d5 Refactor QgsProjectionSelectionWidget
Cleanup QgsProjectionSelectionWidget to use proper models to
drive the combo box. This removes a bunch of very fragile
logic regarding showing and hiding entries on demand, as it
allows us to move all the filtering logic to a single place
in a QSortFilterProxyModel subclass.

This has a few side benefits:
- The combos now dynamically respond to changes like recent
CRS being used in other places in QGIS
- The widget correctly respects horizontal/vertical crs filters
for all entries, including recent crs
2024-01-18 09:35:09 +10:00
Nyall Dawson
e53e078bca Add proxy model for recent crs model 2024-01-17 10:16:32 +10:00
Nyall Dawson
7fcfd2b391 Create a basic model for recent coordinate reference systems 2024-01-17 10:16:32 +10:00
Nyall Dawson
fb1d3cc4bb Move all projection related gui files to src/gui/proj 2024-01-17 10:16:32 +10:00
Nyall Dawson
ddcc42ca85 Add filter options for all crs selection widgets
This is a partial implementation -- we also should be filtering
the lists of recent crs to matching ones
2024-01-17 10:16:32 +10:00
Nyall Dawson
2262aee293 Add a simple widget for setting percentage values via spin and slider 2024-01-16 13:20:47 +10:00
Nyall Dawson
ad60cb3a26 [api] Add iface.blockActiveLayerChanges
Sets whether changes to the active layer should be temporarily
blocked. Exposes a previously private optimisation for use
by plugins.

This is a low-level method, designed to avoid unnecessary work when adding lots
of layers at once. Clients which will be adding many layers may call blockActiveLayerChanges( TRUE ) upfront,
add all the layers, and then follow up with a call to blockActiveLayerChanges( FALSE ). This will defer emitting
the active layer changed signal until they've added all layers, and only emit the signal once for
the final layer added.
2024-01-16 06:00:43 +10:00
Nyall Dawson
3e7d376953 Add method to push formatted text to Processing feedback
Provides a method for algorithms to push HTML contents to the log
(the other feedback methods all escape HTML strings to strip
formatting characters)
2024-01-09 17:02:21 +10:00
Nyall Dawson
4c00af517d Allow source widgets to specify the group name for layer source
properties

Allows overriding the default "Layer Source" group box title
2023-12-22 14:00:13 +10:00
Loïc Bartoletti
bc6fdf73a8 Add \since QGIS 3.34
3.34 here, since it has been backported

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-12-21 07:09:36 +10:00
Loïc Bartoletti
f009536438 QgisInterface: add meshMenu to iface.
Fixes #55604
2023-12-21 07:09:36 +10:00
Nyall Dawson
eecae55ac8 Word wrap long json in results dialog 2023-12-15 04:47:42 +10:00
Nyall Dawson
fe2df1441f Move playback controller buttons to reusable widget
Create QgsPlaybackControllerWidget as reusable
play/pause/rewind/next/... button bar
2023-11-30 13:54:02 +10:00
Mathieu Pellerin
cb8c062b25 [editor widgets] Fix QML editor widget not responsive to attribute changes 2023-11-08 11:40:48 +07:00
Nyall Dawson
65a19c7a78 Fix documentation format of QgsCustomDropHandler 2023-11-06 12:30:30 +10:00
Nyall Dawson
16c8c88247 New "Filled line" symbol layer type
This adds a new line symbol type which renders lines using a
fill symbol. The interior of the line is drawn using any standard
QGIS fill symbol, allowing for lines filled with gradients, line
hatches, etc.

Sponsored by North Road, thanks to SLYR
2023-11-06 11:42:28 +10:00
Valentin Buira
cf0c73f5c1 Update sip file 2023-10-28 09:36:04 +10:00
Yoann Quenach de Quivillic
5381f46a2f Hideable button 2023-10-28 05:07:36 +10:00
Yoann Quenach de Quivillic
f163937f3c Add methods to set and get cursor position 2023-10-28 05:07:36 +10:00
Alessandro Pasotti
4251d3eecf cppcheck fix 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
1a83ddd146 Doxy 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
47bcde2029 GPKG implementation of configureFromUri 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
c66ca0e420 Moved enum 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
fa9fc3ee34 Source select widget: configure from layer URI 2023-10-28 05:07:14 +10:00
Sandro Mani
9b095c5605 Revert "Revert "Allowing storing GPGK raster layer styles to DB""
This reverts commit 9d8a72256893bd31a51d85927e9abd9cdb5eed29.
2023-10-23 13:47:40 +10:00
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