19453 Commits

Author SHA1 Message Date
Damiano
221d9f7f01 Fix docstrings 2021-04-27 14:15:56 +02:00
Nyall Dawson
bab01b1b75 Dox ++ 2021-04-27 21:13:22 +10:00
Nyall Dawson
9c53fb8635 Add QgsAbstractGeometry::compareTo( QgsAbstractGeometry*)
Allows for comparison of geometry objects, e.g. to allow for stable
sorting of them.

Ported from the GEOS equivalent method, but with addition of support
for M values and curved geometry types
2021-04-27 21:13:22 +10:00
Nyall Dawson
36e52f8514 Add method to split QgsCurve geometries into two parts at a specific
vertex index
2021-04-27 19:15:51 +10:00
Nyall Dawson
a9a6e38665 Add QgsCircularString::append( const QgsCircularString* )
Appends the contents of one circular string to the end of another
2021-04-27 19:15:33 +10:00
Nyall Dawson
1c94f6b941 Dox++ 2021-04-27 14:53:20 +10:00
Nyall Dawson
063f2ee852 Add optimised method to create QgsCircularString direct from coordinate
arrays
2021-04-27 14:53:20 +10:00
Andrea Giudiceandrea
ca22c474c3 [MetaSearch] Allow to delete username and password 2021-04-27 14:11:12 +10:00
Nyall Dawson
746495f8fa
Merge pull request #42924 from agiudiceandrea/fix-42918-42919-dbmanager
[DB Manager] Fix layers with Z/M or with CurvePolygon/MultyCurve/... geometry types and No Geometry tables.
2021-04-27 14:07:02 +10:00
Nyall Dawson
729792d981 Add QgsCurve::indexOf to retrieve index of a specified QgsPoint
within the curve
2021-04-27 11:26:49 +10:00
Damiano Lombardi
952a77afe9 Renamed some methods of QgsSettingsRegistry 2021-04-26 18:19:49 +02:00
rldhont
4afa66af30 [API] Unvirtualize layer setDataSource method
Changes in the layer API:
* The setDatasource() methods become non-virtual public method
* The virtual private setDataSourcePrivate() method is defined and the provider setDataSource implementations have been moved to this new virtual method
2021-04-26 17:14:07 +02:00
Damiano
70ab21f121 Rebase to current master 2021-04-26 15:45:04 +02:00
Damiano
1def5e7b94 Python QgsSettingsEnum and Flag unified in QgsSettingsEnumFlag 2021-04-26 15:10:53 +02:00
Damiano
91f96a2fba Moved remaining digitizing settings (enum/flag) 2021-04-26 15:10:50 +02:00
Damiano
eaf18f6060 Moved all digitizing settings except Enums and Flags 2021-04-26 15:09:24 +02:00
Damiano
4fb0ab2df1 Enum flag sip 2021-04-26 15:09:22 +02:00
Damiano
95dfe0f45c Removed settings struct 2021-04-26 15:07:21 +02:00
Damiano
00a7936389 Moved most core settings to SettingsEntry 2021-04-26 15:04:07 +02:00
Denis Rouzaud
96cee9f496
Merge pull request #42860 from domi4484/settingsRegistryQep124PartTwo
Settings registry (QEP 124) part two settings introspection
2021-04-26 14:13:45 +02:00
Damiano
8a7bfa18e1 Renamed method addChildSettingsRegistry to appendRegistry 2021-04-26 11:44:48 +02:00
nirvn
9989cffb3c [feature][callouts] Add blending mode settings 2021-04-26 19:34:16 +10:00
Nyall Dawson
9c4375b4c7 Add QgsGeometry::isAxisParallelRectangle for checking whether
a geometry is a axis-parallel rectangle

Credit to @stefanuhrig
2021-04-24 06:25:02 +10:00
Andrea Giudiceandrea
828638f661
[DB Manager] Fix No Geometry tables
Avoid to add a nonexistent 'geometry' field to the fields list of No Geometry tables.
2021-04-23 08:25:14 +02:00
Andrea Giudiceandrea
2538612a21
[DB Manager] Fix recognition of project layers with Z/M…
…or CurvePolygon/MultyCurve/... geometry types as spatial layers.
2021-04-23 08:14:57 +02:00
Mathieu Pellerin
c259a408a4
Merge pull request #42781 from nirvn/snap_opti
Big optimization gains to the geometry snapper class
2021-04-22 14:26:14 +07:00
Nyall Dawson
e5c709ccd6 [api] Provide a mechanism to specify a list of fallback font families for
QgsTextFormat

Just like in CSS, these families will be used as an ordered list
of fonts to fallback on if the actual text format font isn't available
on a particular QGIS install.

This is API only, and isn't designed to be shown anywhere in QGIS.
Instead the intended use is for creators of QGIS styles to either use
the raw api to specify the list of fallback fonts OR hand edit the
style xml to add the fallback fonts, e.g by adding a block like:

    <families>
      <family name="Arial"/>
      <family name="Helvetica"/>
      <family name="Sans"/>
    </families>

To the "text-style" parent element.
2021-04-22 16:39:24 +10:00
Nyall Dawson
ed65a6a3a7 Add utility functions to retrieve proj EPSG/ESRI/IGNF database versions 2021-04-22 14:39:47 +10:00
Mathieu Pellerin
0a76d70e9c Address comments 2021-04-22 09:40:17 +07:00
nirvn
584283ddaa [oauth2] Handle the opening and closing of browser through the network authentication
handler
2021-04-22 09:32:01 +07:00
rldhont
88c0d3f07d [API] Remove specific deprecated QgsVectorLayer::setDataSource 2021-04-21 14:29:06 +02:00
Matthias Kuhn
42b461b615
Merge pull request #42869 from m-kuhn/statsbycaterror
Add safety check for field name in StatisticsByCategories
2021-04-21 07:45:09 +02:00
Matthias Kuhn
6a83a2f676
Replace fstring 2021-04-21 07:01:44 +02:00
Nyall Dawson
5fa48420d7 Make widget more qgis-esque 2021-04-21 14:41:09 +10:00
Nyall Dawson
7ad31ca1df Create QgsRichTextEditor widget, as a straightforward port from
https://github.com/Anchakor/MRichTextEditor, with some QGIS
formatting and practices applied
2021-04-21 14:41:09 +10:00
Andrea Giudiceandrea
ea4131a5d7 Fix opening the console
when an error occurs (specifically when 3d library is not built) before the console is displayed.
2021-04-21 08:15:39 +10:00
Matthias Kuhn
0073ab76e8 Add safety check for field name in StatisticsByCategories
So far we would only get a KeyError for -1
2021-04-20 15:13:24 +02:00
Damiano
e99b92a92c Applied suggestions from code review 2021-04-20 14:41:47 +02:00
Damiano
fc55866155 Removed move of settings for a separate pr 2021-04-19 13:05:15 +02:00
Damiano
598f6c73f0 Moved QgsSettings class in subdir settings 2021-04-19 10:22:04 +02:00
nirvn
2436f82bdf [optimization][geometry snapper] Get rid of custom tree, use GEOS 2021-04-19 13:37:21 +07:00
Nyall Dawson
ffa99b7b64 Fix doxygen blocks which don't use the * prefix on all lines, which
prevents the auto format and sipify scripts from doing their full
formatting magic
2021-04-19 12:54:13 +10:00
Nyall Dawson
352856f972 Slightly better worded QgsVectorFileWriter description 2021-04-19 12:54:13 +10:00
Damiano
68ee4442ca Added api to add child settings registries to settings registry 2021-04-18 23:22:40 +02:00
Samweli
d745d55b2d fix missing doc annotation 2021-04-18 09:26:16 +10:00
Samweli
795028c438 expose WCS in GeoNode provider via data source manager 2021-04-18 09:26:16 +10:00
Tom Kralidis
2a5fd3d3b7
[MetaSearch] mask password when opening connection properties dialog (#42760) (#42767) 2021-04-17 09:41:38 -04:00
Damiano
6e1ef0e988 testqgssettingsregistry 2021-04-16 11:14:02 +02:00
Damiano
2087a7f4f8 Removed settings struct 2021-04-15 17:32:59 +02:00
Damiano
65163814ff Added QgsSettingsRegistry base class 2021-04-15 16:08:48 +02:00