Matthias Kuhn
598e2bd31f
physical dpi is only available after showEvent
2021-07-13 21:15:33 +02:00
Nyall Dawson
61c842165d
Commit missed file
2021-07-13 06:39:11 +10:00
Nyall Dawson
5cb167b013
Fix warning
2021-07-13 06:39:11 +10:00
Nyall Dawson
d44412ddb8
Can't monkey patch from core into gui classes
2021-07-13 06:39:11 +10:00
Nyall Dawson
d0beaae3a4
Move QgsSublayersDialog::PromptMode enum to Qgis and rename
2021-07-13 06:39:11 +10:00
Nyall Dawson
d44f31000d
Start depreating
2021-07-13 06:39:11 +10:00
Matthias Kuhn
49a9fec864
missing sip file
2021-07-12 22:26:15 +02:00
Matthias Kuhn
a4a100e376
sip_include
2021-07-12 18:32:00 +02:00
Damiano Lombardi
18bd5833bb
Moved settingsRespectScreenDPI to new settings registry gui
2021-07-12 15:51:30 +02:00
Alessandro Pasotti
7460e4f777
Doxy
2021-07-06 21:00:55 +02:00
Alessandro Pasotti
f1a5014121
Catch SQL filter dialog connection errors (never seen in the wild)
2021-07-06 21:00:54 +02:00
Alessandro Pasotti
357fa9c4d8
Add progress bar and minor UX changes
2021-07-06 21:00:54 +02:00
Alessandro Pasotti
927669df2b
Move target to 3.22
2021-07-06 20:59:58 +02:00
Alessandro Pasotti
dfc5648204
Remove method and fix widget hiding
2021-07-06 20:58:36 +02:00
Alessandro Pasotti
27eb5743ad
Provider QSCI APIs for sqlite and PG
2021-07-06 20:58:36 +02:00
Alessandro Pasotti
cf260226a3
Create SQL layer and widget config based on enum
2021-07-06 20:56:07 +02:00
Alessandro Pasotti
af44d35d74
Doxy
2021-07-06 20:53:59 +02:00
Alessandro Pasotti
9adbdfa8bf
Fix crash QsciAPIs is destroyed while worker running
2021-07-06 20:53:59 +02:00
Alessandro Pasotti
4201942bdd
Rebase
2021-07-06 20:53:59 +02:00
Alessandro Pasotti
1a94b07454
Better error handling/reporting
2021-07-06 20:53:59 +02:00
Alessandro Pasotti
9fc81ffb0f
Move to thread the first phase of the query (before the iterator)
2021-07-06 20:53:59 +02:00
Alessandro Pasotti
b988ca87e2
SQL results widget: add query layers support (initial)
2021-07-06 20:53:59 +02:00
Alessandro Pasotti
cc709a0d02
Query result widget files and tests
2021-07-06 20:52:19 +02:00
Alessandro Pasotti
079264ebc4
Message bar and other improvements: working!
2021-07-06 20:52:19 +02:00
Alessandro Pasotti
d914a50b63
QgsQueryResultWidget
2021-07-06 20:52:19 +02:00
Alessandro Pasotti
b69c9da650
revert decimals
2021-07-01 10:02:54 +02:00
Alessandro Pasotti
8835b2d05e
Merge pull request #43617 from troopa81/fix_htmlwidget_geom
...
Set up cache geometry if HTML widget needs it
2021-06-30 10:49:37 +02:00
Nyall Dawson
2a9c32bb9c
[feature] Expose data defined control over raster layer opacity
...
Allows the opacity of a raster to be varied e.g. on different
pages of an atlas, depending on the visibility of another layer,
by temporal variables, etc...
2021-06-25 13:53:52 +10:00
Nyall Dawson
711a615be3
Fix raises sphinx format
2021-06-25 10:50:04 +10:00
Even Rouault
8a6ed7d8f9
Address -Woverloaded-virtual clang virtual and enable the warning
2021-06-25 06:37:49 +10:00
Alessandro Pasotti
357177d2c7
GUI localization tweaks
...
Part of QEP https://github.com/qgis/QGIS-Enhancement-Proposals/issues/210
Locale support for numeric input and display: revision and enhancements
Grant proposal 2021
Affected widgets/classes:
- QgisApp
- QgsDecorationGridDialog
- QgsHandleBadLayers
- QgsPointRotationItem
- QgsSnappingLayerTreeModel
- QgsStatisticalSummaryDockWidget
- QgsDirectoryParamWidget
- QgsClassificationStandardDeviation
- QgsLayoutRuler
- QgsMeshRendererScalarSettingsWidget
- QgsMeshRendererVectorSettingsWidget
- QgsMeshVariableStrokeWidthWidget
- QgsVectorLayerSaveAsDialog
- QgsProcessingNumberParameterDefinitionWidget
- QgsProcessingRangeParameterDefinitionWidget
- QgsProcessingDistanceParameterDefinitionWidget
- QgsAbstractRelationEditorWidget
- QgsCoordinateOperationWidget
- QgsDoubleValidator (added ::setMaxDecimals( int decimals ) )
- QgsExtentWidget
- QgsMapToolIdentify
- QgsPropertyAssistantWidget
- QgsRasterHistogramWidget
- QgsRendererRasterPropertiesWidget
- QgsDashSpaceWidget
- QgsDataDefinedSizeLegendWidget
- QgsGraduatedSymbolRendererWidget
- QgsGraduatedSymbolRendererWidget
2021-06-22 10:34:42 +02:00
Julien Cabieces
ac031372e1
Fixes #34791 : set up cache geometry if HTML widget needs it
2021-06-21 14:05:06 +02:00
Sandro Mani
9553f06700
Add QgsMapTool::canvasToolTipEvent
2021-06-19 06:23:07 +10:00
Nyall Dawson
870945c476
Don't restrict adding crs selections to list of recent CRSes to only
...
a few select dialogs
If the user has gone to the trouble of picking a CRS from the dialog,
it should ALWAYS be pushed to the list of recently used CRS, regardless
of whether they've done it from project properties, layer properties,
some processing algorithm, etc...
2021-06-16 12:03:32 +10:00
Nyall Dawson
57700196cd
[api] Add method for PyQGIS QgsMapTool subclasses to set the tool name
...
Since PyQGIS can't access protected member variables, we need an
explicit setter for this variable.
2021-06-15 16:28:17 +10:00
Nyall Dawson
4ff3f447dc
Don't try to insert links in raises blocks in PyQGIS docs
...
These aren't formatted correctly if we do
2021-06-10 11:03:43 +10:00
Nyall Dawson
ccb4146206
[api] Add signal to QgsLayoutDesignerInterface which is emitted
...
whenever a map item's preview image has been refreshed inside
the designer
2021-06-09 20:45:20 +10:00
Nyall Dawson
6bd24e5d17
[api] Add QgsLayoutDesignerInterface.layoutExported signal
...
Emitted whenever the layout is exported from the designer
2021-06-09 20:45:20 +10:00
Nyall Dawson
e62714484f
[api] Add method for plugins to retrieve results of last layout export
...
operation from a layout designer window
2021-06-09 20:45:20 +10:00
Nyall Dawson
84669887b6
Partially revert https://github.com/qgis/QGIS/pull/42365 , and make
...
the new panel sizing behavior opt-in
2021-06-09 18:28:23 +10:00
Ivan Ivanov
cd6e0cebe0
Load the default relation editor if the relation editor type setting is not set ( #43591 )
...
* Load the default relation editor if the relation editor type setting is missing
* Add setDefaultWidgetType and defaultWidgetType to the relation editor registry
* Use the new defaultWidgetType() when relation editor type setting is missing
2021-06-07 21:46:25 +02:00
Denis Rouzaud
092527398d
remove read-only line edit in QgsRelationReferenceWidget ( #43509 )
...
keep the read-only config and make the drop-down read-only instead
fixes #42813
2021-06-02 17:06:52 +02:00
Denis Rouzaud
bb1693b314
add extra enum NoButton to avoid saving an empty string when using qgsFlagsValueToKeys
...
fixes #43123
2021-06-01 07:33:13 +02:00
Denis Rouzaud
e7ccf1fcc6
also do non scoped enums
2021-05-31 09:36:21 +02:00
Nyall Dawson
02266ef8e6
Rename Qgis::MessageLevel::None to NoLevel. None is a reserved
...
keyword in Python, so this value was previously inaccessible to PyQGIS
scripts
Also change all references to Qgis::MessageLevel values to their
fully qualified names, to ease a future transition to an enum
class (when sip bugs are fixed)
Fixes #42996
2021-05-30 10:36:01 +10:00
Nyall Dawson
68e7cd6609
Don't show symbol levels actions in renderer widgets for renderers
...
which are subrenderers for other renderers
Symbol layers have no effect in this situation (e.g. when a categorized
renderer is used as a subrenderer for point displacement renderer), so
don't show the option in the GUI
2021-05-26 11:50:44 +10:00
Nyall Dawson
f7f43e08c6
Fix memory leaks in renderer widgets
2021-05-26 11:50:44 +10:00
Nyall Dawson
f3f4c17c5f
Use a safer approach to update renderers after symbol levels are changed
...
Instead of directly changing the renderer in place in the symbol levels
widget, we delegate responsibility for handling the changes to symbol
levels to the parent QgsRendererWidget subclass. This allows us to
implement different logic in the various subclasses which correctly
handle how that particular widget subclass should update any internal
symbol references and ultimately update the renderer.
Fixes instability and crashes after editing symbol levels.
Fixes #42671
2021-05-26 11:50:44 +10:00
Nyall Dawson
c3e01e5725
Add destructors to permit forward declaration
2021-05-26 08:14:13 +10:00
Harrissou Sant-anna
b8fe026de3
Merge pull request #43368 from DelazJ/temporalTypos
...
Fix typos in temporal docs
2021-05-25 10:50:07 +02:00