Nyall Dawson
b61dc7c48a
Sipify
2021-05-18 16:59:22 +10:00
Nyall Dawson
b5dfe8f155
Refactor enum handling
...
- Add enums to qgis.h instead of qgscoreenums, so that they belong to
a Qgis namespace
- Split up the various symbol headers into multiple files so that we
can fine-tune their inclusion and forward declare more readily, speeding
up recompilation
- Move QgsSymbol enums to qgis
2021-05-18 16:59:22 +10:00
Nyall Dawson
239092e0f1
Move QgsVectorDataProvider::FeatureCountState enum to qgscoreenums.h
2021-05-18 16:59:22 +10:00
Alessandro Pasotti
7ae1b31873
Merge pull request #43104 from elpaso/server-landingpage-custom-prefix
...
Server landingpage custom prefix
2021-05-17 18:35:00 +02:00
Damiano
40988a8901
Avoid endless sub-RelationEditorWidget creation fix #42952 ( #43246 )
...
* Avoid endless sub-RelationEditorWidget creation fix 42952
* Added missing docstring
2021-05-17 12:53:04 +02:00
mhugent
558562231a
Merge pull request #43121 from mhugent/vector_label_legend
...
Vector label legend
2021-05-17 10:56:48 +02:00
Nyall Dawson
eaf70803b0
Cleanup auto generated sip files and remove orphaned files ( #43240 )
2021-05-17 08:09:27 +02:00
Nyall Dawson
af6c08bb26
Move QgsMapLayerType to separate generic header for core enums
...
Avoids the need to include the whole qgsmaplayer.h header and
all its dependancies when only the QgsMapLayerType enum is required.
2021-05-17 16:09:13 +10:00
Nyall Dawson
f1b436add8
QIcon linked files are lazily evaluated, so we can't use a temporary
...
file which is immediately deleted right after the QIcon creation
to store SVG icon content -- instead we need to place the svg in a
temporary folder which exists for the lifetime of the QGIS session
2021-05-17 10:54:44 +10:00
Nyall Dawson
be803e935d
[feature] Users can set a custom icon color for different folders
...
in the browser
Effectively allows users to "tag" folders, aiding in rapid
browser navigation of complex folder structures.
2021-05-17 10:54:44 +10:00
Nyall Dawson
2aa70400ce
Allow fill/stroke color to be specified for QgsDataItem::iconDir/openDirIcon
2021-05-17 10:54:44 +10:00
Nyall Dawson
cd6aa7f665
Add parameterized color support to QgsApplication::getThemeIcon
...
Adds framework to allow for icons which can have dynamic coloring
2021-05-17 10:54:44 +10:00
Mathieu Pellerin
8ebef88e27
Merge pull request #43229 from nirvn/close_browser
...
[network access manager] handle abortion of browser login request
2021-05-15 20:23:49 +07:00
nirvn
8513b8051f
[authentication manager] Allow configurations to be overwritten when importing
2021-05-15 17:25:02 +07:00
nirvn
8647ec54d6
Address review
2021-05-15 15:40:19 +07:00
Matthias Kuhn
a701fe68ab
Merge pull request #43219 from domi4484/jsonEditIdentifyResults
...
IdentiyResults dialog show JSON data as a tree view
2021-05-15 09:40:34 +02:00
nirvn
1e47ca1a6c
[network access manager] handle abortion of browser login request
2021-05-15 13:59:06 +07:00
Damiano
a570a10bd9
IdentiyResults dialog show JSON data as a tree view
2021-05-14 15:02:17 +02:00
Denis Rouzaud
d2ccd82cd9
add utility methods to convert map of QgsProperty to/from QVariantMap ( #43178 )
...
* add utility methods to convert map of QgsProperty to/from QVariantMap
* add test
* fix test
* fix test
2021-05-14 11:58:47 +02:00
Matthias Kuhn
32af8100e5
Merge pull request #43164 from domi4484/jsonEdit
...
[FEATURE] Json edit widget
2021-05-14 09:04:42 +02:00
Marco Hugentobler
dce94dc656
mLegend string member with getter and setter
2021-05-13 22:40:13 +02:00
Nyall Dawson
75eba31996
Introduce qgsNanCompatibleEquals for readability
2021-05-13 19:33:15 +10:00
Nyall Dawson
bd26ae1d29
Add basic support for coordinate epoch of dynamic (not plate fixed) crs
...
to QgsCoordinateTransform
QgsCoordinateTransform class can perform time-dependent transformations
between a static and dynamic CRS based on either the source OR destination CRS coordinate epoch,
however dynamic CRS to dynamic CRS transformations are not currently supported.
Using the same approach as the GDAL changeset in https://github.com/OSGeo/gdal/pull/3810
2021-05-13 19:33:15 +10:00
Nyall Dawson
0b5a95ce44
Deprecate constructor which should have been deprecated a long time ago
2021-05-13 19:33:15 +10:00
Nyall Dawson
5e98648913
[feature][layout] Add ""Convert to Static Text" option to dropdown
...
menu next to "Insert/Edit Expression…" in layout label properties
widget
When selected any dynamic parts of the label's contents will be
evaluated and replaced with their current values.
Provides an easy way to convert a dynamic label to a static one,
so that the user can then manually tweak the resulting tweak
when needed.
2021-05-13 17:11:13 +10:00
Mathieu Pellerin
e3cb3e5a01
Merge pull request #43193 from nirvn/auth_imex
...
[authentication] Add a pair of APIs to export and import configurations to/from XML
2021-05-13 12:55:06 +07:00
Denis Rouzaud
da08c8a435
[cmake] generalize Python output directory in UseTest macro ( #43191 )
...
* [cmake] generalize Python output directory in UseTest macro
this is helpful in case we set up another python output directory (eg PySide2)
* define python output directories to the parent scope
* try with target_include_directories
* define vars on top level
* Update UsePythonTest.cmake
* some cleanup
* more cleanup
* fix uic
* fix path for all platforms
* fix var
2021-05-13 07:32:03 +02:00
Denis Rouzaud
ef14092f2a
Merge pull request #43195 from domi4484/relationEditorWidgetLabelTitle
...
Relation editor widget label implementation moved to attribute form
2021-05-13 07:31:30 +02:00
nirvn
ad1c94c227
Address review, export config string map as DOM element (eases editability)
2021-05-13 08:58:22 +07:00
rldhont
5586d4c6e9
[Processing] Fix specific exception type in getParameterFromString
2021-05-13 06:51:29 +10:00
rldhont
943acfd344
[Processing] Fix getParameterFromString to get Vector Layer data types like Feature Source
...
In Processing parameter description QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource.
2021-05-13 06:51:29 +10:00
Nyall Dawson
03e84c775c
Hold the GIL when checking QgsFeedback.isCanceled()
2021-05-13 04:34:54 +10:00
Damiano
7a4f2e83e0
Fix warnings and update sip file
2021-05-12 16:29:51 +02:00
Damiano
d8aa6ddfd6
Moved label implementation of relation editor widget to attribute form
2021-05-12 16:02:45 +02:00
nirvn
3d70259fe4
Fix dox
2021-05-12 17:52:24 +07:00
nirvn
1bbd477d4f
Implement import/export UI
2021-05-12 17:51:46 +07:00
nirvn
f916c06a8e
[authentication] Add a pair of APIs to export and import configurations to/from XML
2021-05-12 16:05:38 +07:00
Even Rouault
a11baa0e5a
Workaround a gcc warning for switch() { case X: return ...; } constructs
...
Fixes warnings like the following one with gcc 9.3
```
/home/even/qgis/qgis/src/gui/qgsfilecontentsourcelineedit.cpp: In member function ‘virtual QString QgsPictureSourceLineEditBase::fileFilter() const’:
/home/even/qgis/qgis/src/gui/qgsfilecontentsourcelineedit.cpp:307:1: warning: control reaches end of non-void function [-Wreturn-type]
307 | }
| ^
```
2021-05-12 08:12:57 +10:00
Damiano Lombardi
5759564f86
Updated sip file
2021-05-11 22:45:34 +02:00
Nyall Dawson
b81ece4514
Don't show crs accuracy warnings when saving a vector/raster layer
...
from an ensemble based crs to another crs with the same ensemble datum
2021-05-12 06:09:48 +10:00
Nyall Dawson
a2e369feb3
Fix typo
2021-05-12 06:09:48 +10:00
Nyall Dawson
7724b37f79
Rename API for flexibility
2021-05-12 06:09:48 +10:00
Nyall Dawson
e66d75a000
[needs-docs] Show a warning in the projection selection widget when
...
a CRS based on a datum ensemble is selected, warning the user that
there's an inherent lack of accuracy in the selected CRS
Requires PROJ 8+
2021-05-12 06:09:48 +10:00
Marco Hugentobler
62d73373c1
Make legend/preview text configurable
2021-05-11 18:32:46 +02:00
Marco Hugentobler
3ecb5e5cc8
Add const, nullptr and improve docstrings
2021-05-11 15:25:48 +02:00
Denis Rouzaud
c8c534df3a
avoid adding unclear API
2021-05-11 11:15:58 +02:00
Denis Rouzaud
58dcd2420f
better wording and dox
2021-05-11 11:15:56 +02:00
Denis Rouzaud
700c16ed36
use public method instead of protected member
2021-05-11 11:15:56 +02:00
Denis Rouzaud
6817d9416a
[FEATURE] supports dynamic SVGs in layouts
...
also fix a UX bug where you couldn't switch between raster and SVG radios if the data defined property was active (unreported in tracker)
2021-05-11 11:15:55 +02:00
Denis Rouzaud
c1b8d4a524
adapt QgsSvgSelectorWidget to support other images:
...
* source line edit can be switched to image
* SVG specific components can be hidden
2021-05-11 11:15:55 +02:00