Sandro Mani
6452390080
Move QgsVectorTileLayerProperties to gui
2022-09-15 09:27:55 +10:00
Alessandro Pasotti
e8f44dabd7
Fix search text not updates when reopening the DSM dialog
...
Also, handle clear from QgsFilterLineEdit correctly.
2022-09-15 09:26:08 +10:00
Alessandro Pasotti
f649d498d8
Merge pull request #50095 from elpaso/layer-metadata-provider-gui2
...
Layer metadata provider gui
2022-09-08 14:40:41 +02:00
Loïc Bartoletti
9845115a0f
Merge pull request #48853 from Koyaani/fix_topological_editing_different_crs_v3
...
Fix topological editing different crs v2.1
2022-09-08 14:38:48 +02:00
Alessandro Pasotti
c87be21c07
SIP
2022-09-07 08:25:45 +02:00
Alessandro Pasotti
7cab873eac
Address PR review comments and add model tests
2022-09-06 15:50:34 +02:00
Alessandro Pasotti
afcea83bd3
GUI doxy
2022-09-05 11:31:33 +02:00
Hannes
e9b90b565b
[ui] Ask user before closing expression dialog if expression was edited
2022-08-31 08:14:55 +10:00
Loïc Bartoletti
370ce31c1f
qgsmaptoolcapture.h: Update description
...
Topological points are projected to the current layer CRS
2022-08-30 09:41:57 +02:00
Mathieu Pellerin
b7e31d4508
[feature][ui] Add a Show in Attribute Table action to the right click menu of legend class symbols ( #49984 )
2022-08-29 10:18:06 +00:00
Nyall Dawson
deff4a1faf
Use QMultiMap for qt 6 compatibility
2022-08-16 08:01:55 +02:00
Nyall Dawson
7fedb1af77
Remove logical dpi handling from QgsScreenHelper
...
Unless we REALLLLLLLY need this, it's better to keep the API
simple and avoid the confusion between two different dpi values
2022-08-16 12:25:52 +10:00
Nyall Dawson
e88867de91
Port QgsMeshRenderer3dAveragingWidget away from QDesktopWidget
2022-08-16 12:25:52 +10:00
Nyall Dawson
c306fa0a21
Port elevation canvas away from QDesktopWidget
2022-08-16 12:25:52 +10:00
Nyall Dawson
e7a9961ea8
Add availableGeometry handling to QgsScreenHelper
2022-08-16 12:25:52 +10:00
Nyall Dawson
44ba8aca2a
Use QgsScreenHandler instead of duplicate screen dpi handling code
2022-08-16 12:25:52 +10:00
Nyall Dawson
22edb68eac
Introduce QgsScreenHelper
...
A utility class for dyanmic handling of changes to screen properties
2022-08-16 12:25:52 +10:00
Nyall Dawson
932cab02a7
Fix build
2022-08-01 13:17:43 +10:00
Nyall Dawson
0a0c25eb31
Expand out the current layer path in the change data source/fix data
...
source dialog
Makes it much quicker to fix paths!!
2022-08-01 13:17:43 +10:00
Nyall Dawson
bce59924df
Add method to expand out a directory path in the browser tree view
...
Gives us an easy way to automatically open a bunch of folders
to show a particular path as desired, instead of making users
always manually expand out the folder items themselves.
2022-08-01 13:17:43 +10:00
Nyall Dawson
8c5dd2dc02
Add sip cast code for QgsBrowserTreeView
2022-08-01 13:17:43 +10:00
Alessandro Pasotti
5c7bf29afe
Fix relation editor ESC and referenced save
...
Fixes #47387 and another bug (unreported or #40549 ?)
where digitizing the referencing feature of a newly added
referenced feature (in transaction mode) failed due to the
form being closed and the reference feature not saved.
The new behavior is that the form is brought back after the
digitizing of the referencing feature has been completed or
user-interrupted, this way the referenced layer form can be
saved or dismissed as expected.
Funded by: ARPA Piemonte
2022-07-25 12:25:14 +02:00
Nyall Dawson
f821fefdf2
Add method to select a QgsDataItem directly in QgsBrowserTreeView
2022-07-18 12:50:18 +10:00
Nyall Dawson
f57f9485d1
Add browser tree view to QgsDataItemGuiContext
...
This allows the item gui providers to access the view associated
with an action, e.g. to automatically select something in that
view
2022-07-18 12:50:18 +10:00
Julien Cabieces
d5505e329d
Add missing Q_OBJECT macros and enable clazy check missing-qobject-macro
2022-07-13 08:24:23 +10:00
Nyall Dawson
12321df49a
Allow actions which work on selection to also work with vector tile selections
2022-07-08 09:12:46 +10:00
uclaros
6e0eb8d4ca
fix qgsgeometryrubberband on rotated canvas
2022-06-17 10:41:04 +10:00
Nyall Dawson
9d0cb90705
Make virtual layer source layer creation much more user friendly
...
Instead of just forcing the user to type a free-form source string,
add a "..." button which allows them to browse for the layer source
using the browser dialog. Makes it MUCH easier for users to add
gpkg/postgis/wfs/... layers as sources for virtual layers.
2022-06-16 13:55:09 +10:00
Mathieu Pellerin
ac7b711dea
Fix setting min/max through histogram doesn't activate contrast
...
enhancement algorithm
The commit also makes the histogram work for the single band pseudo color
raster renderer.
2022-06-06 17:12:54 +10:00
Loïc Bartoletti
6462cc1cc5
sipify
2022-06-03 10:05:43 +02:00
Nyall Dawson
994257b538
If the elevation profile mouse cursor is snapped, then use the snapped
...
position when drawing the marker on the map canvas to indicate the
cursor position
Otherwise things are misleading -- the elevation profile will show
snapped results yet the corresponding canvas point may be slightly
displaced from what the elevation plot is showing
2022-05-27 11:56:10 +10:00
Nyall Dawson
5a09da294d
Fix potential crash if canvas is deleted before QgsMapToolCapture
2022-05-22 13:20:33 +10:00
Nyall Dawson
aa7bc651f3
Create QObjectParentUniquePtr smart pointer for non-qobject children
...
owned by a parent QObject
E.g. QGraphicsItem subclasses are not QObjects themselves, but
are owned by a QObject QGraphicsScene. Depending on whether the
graphics item is deleted first or the scene, we can end up with
a double-free situation.
Fix this by creating a QObjectParentUniquePtr smart pointer which
is automatically nulled if the parent QObject (e.g. the QGraphicsScene)
is deleted first.
(Adapted from existing QObjectUniquePtr logic and logic in
QgsSnapIndicator)
2022-05-22 13:20:33 +10:00
Nyall Dawson
b2b5ee278c
Fix potential crash if canvas is deleted before cad dock
2022-05-19 15:16:50 +10:00
Nyall Dawson
2ba6b4ffe5
Allow choice of style database when saving styles
2022-05-17 16:36:00 +10:00
Nyall Dawson
42a758ec6a
Allow lazy setting of style manager QgsStyle
2022-05-17 16:36:00 +10:00
Nyall Dawson
66aaf36059
[feature] Show entities from all project style databases in symbol and label
...
selectors
2022-05-17 16:36:00 +10:00
Even Rouault
4462aed63a
Python: fix crashes when casting mapCanvas().scene().items() objects to QgsHighlight/QgsMapCanvasAnnotationItem/QgsRubberBand ( fixes #48471 , fixes #48436 )
2022-05-16 08:53:08 +10:00
Mathieu Pellerin
5138864650
[ui] Implement scroll wheel action for color buttons
2022-05-11 10:43:07 +10:00
Mathieu Pellerin
ec9ab29dee
[ui] Implement scroll wheel action for symbol buttons
2022-05-11 10:43:07 +10:00
Mathieu Pellerin
761fb89583
Fix dox strings
2022-05-09 15:48:57 +07:00
Mathieu Pellerin
0a53f86206
[ui] Add a set to null / clear current symbol action to the symbol button
2022-05-09 12:31:36 +07:00
uclaros
5e142c8933
offset maptips and clear them after a delay
2022-05-08 07:05:09 +10:00
Nyall Dawson
612164305b
Ensure measure line stays in the correct location when plot is
...
panned/zoomed
2022-05-07 21:42:54 +10:00
Nyall Dawson
b9e10e754b
Make private method public
2022-05-07 21:42:54 +10:00
Nyall Dawson
3009999748
Remove duplicate code
2022-05-07 21:42:54 +10:00
Nyall Dawson
7f7edd2be3
Add signal when plot area is changed
2022-05-07 21:42:54 +10:00
Nyall Dawson
bf046be5ad
[feature] Add a measure tool to elevation profile widget
...
Allows measuring distances on the plot
2022-05-07 21:42:54 +10:00
Alessandro Pasotti
0d871029be
Merge pull request #48353 from elpaso/form-font-label2
...
Allow drag and drop forms label font and color customization
2022-05-06 09:44:27 +02:00
Nyall Dawson
4140faa178
Implement (ugly) means of converting elevation identifaction results to QgsMapToolIdentify results
2022-05-06 08:58:41 +10:00