Nyall Dawson
05b737c215
Add doxygen note linking QgsDistanceArea to QgsEllipsoidUtils
2017-04-18 10:23:09 +10:00
Nyall Dawson
5f1656b8e9
Move retrieval of lists of known ellipsoids to QgsEllipsoidUtils
2017-04-18 10:18:48 +10:00
Nyall Dawson
147bb7f1ed
Move ellipsoid parameter retrieval to new QgsEllipsoidUtils class
2017-04-18 09:53:00 +10:00
Nyall Dawson
cc5b9bfe17
More QgsDistanceArea API cleanups and simplification
...
- setEllipsoidalMode() was removed. Ellipsoidal calculations are
now enabled whenever a valid ellipsoid() has been set. Set the
ellipsoid to 'NONE' to disable ellipsoidal calculations.
- ellipsoidalEnabled() was removed. Ellipsoidal calculations
are now enabled whenever a valid ellipsoid() is set. Check
willUseEllipsoid() to determine whether ellipsoidal
calculations will be performed.
- sourceCrs() and setSourceCrs() now always take and return
QgsCoordinateReferenceSystem objects. All string/ID based CRS
methods were removed.
- geographic() was removed. This was only used internally
in one place, so was replaced with sourceCrs().isGeographic() instead.
- some largely overlapping measurement functions were consolidated
2017-04-18 08:14:16 +10:00
Nyall Dawson
ca2b199c76
Fix possible corruption of cache
2017-04-18 08:14:16 +10:00
Nyall Dawson
3ada8a2a28
Use a transparent cache to avoid db lookups when setting QgsDistanceArea ellipsoid
2017-04-18 08:14:16 +10:00
Nyall Dawson
4925fab05c
C++11 = good
2017-04-18 08:14:16 +10:00
Nyall Dawson
cdef0764b5
Use default copy constructors and assignment operators for QgsDistanceArea
...
There's no complex member variables here - the default implementations
should be fine (actually faster, since they won't require
recalculation of the derived parameters)
2017-04-18 08:14:16 +10:00
Nyall Dawson
275158aa30
Cleanup ellipsoidal mode detection in QgsDistanceArea
2017-04-18 08:14:16 +10:00
Nyall Dawson
53e1df45ab
sipify QgsDistanceArea
2017-04-18 08:14:16 +10:00
Nyall Dawson
4fc49c9613
Cleanup QgsDistanceArea API
...
- remove methods which accept a QgsGeometry pointer, leave
duplicate methods which accept QgsGeometry reference (caller
should handle null geometry pointers in an acceptable
way instead of just returning 0 measurements)
- make protected members private. This class isn't designed
to be subclassed
- remove some methods not exposed to bindings and not used
anywhere
2017-04-18 08:14:16 +10:00
Martin Dobias
7b202edf04
Remove QgsVectorLayer::snapPoint() and unused code in QgsSelectedFeature
2017-04-17 17:37:16 +08:00
Alexander Bruy
c749057f02
Merge pull request #4363 from alexbruy/passwordlineedits
...
[needs-docs] use QgsPasswordLineEdit in the master password dialog
2017-04-17 12:28:50 +03:00
Mathieu Pellerin
8c20d993f8
sipify qgscolorbutton and qgscolorrampbutton ( #4365 )
...
* get rid of params to get rid of warnings
2017-04-17 16:10:11 +07:00
Martin Dobias
316d9c3359
R.I.P. QgsSnapper and QgsMapCanvasSnapper
...
These classes have been replaced by more efficient and flexible classes
(see QgsPointLocator, QgsSnappingUtils, QgsMapCanvasSnappingUtils)
2017-04-17 17:08:48 +08:00
Mark Johnson
8b08285e90
added measureLineProjected and computeSpheroidProject to QgsDistanceArea
2017-04-17 19:06:30 +10:00
Martin Dobias
8a46a1d0dc
R.I.P. old node tool
2017-04-17 16:18:30 +08:00
Alexander Bruy
85788151c2
doxymentation
2017-04-17 10:59:17 +03:00
Alexander Bruy
6bcc066d6f
sipify QgsCredentials dialog
2017-04-17 10:59:17 +03:00
Alexander Bruy
ec5a8911a8
use QgsPasswordLineEdit in the master password dialog
2017-04-17 10:59:16 +03:00
Martin Dobias
e73a52bb35
[FEATURE] New node tool implementation
2017-04-17 14:23:36 +08:00
Nyall Dawson
eff5a823c9
[sipify] Convert "\a arg" to "`arg
`" when processing Docstrings
...
Allows argument names to be highlighted in Python docs
2017-04-17 13:49:59 +10:00
Nyall Dawson
e4d6bbfe76
Fix Coverity divide by 0 error
2017-04-17 12:44:54 +10:00
Nyall Dawson
952bc02144
Fix some Coverity null pointer dereference warnings
2017-04-17 12:43:05 +10:00
Nyall Dawson
6a72c945af
[sipify] Don't autocreate Docstrings for overridden members
...
Skip the autocreated Docstrings with rtype annotations if the
member is overridden - better to use the base class
Docstring in this case.
2017-04-17 11:03:02 +10:00
Nyall Dawson
96d5b9dae6
Implement a QGIS 3.0 TODO for QgsMessageLogViewer, cleanup docs
2017-04-17 10:55:53 +10:00
Nyall Dawson
798c318288
[sipify] Fix loss of class docstring if newline present between
...
class doxygen and class definition
2017-04-17 10:49:29 +10:00
Nyall Dawson
d6e3da6b82
Add spelling mistake observed in recent PR
2017-04-17 09:28:58 +10:00
Harrissou Sant-anna
2264661eb3
Add tooltips to Vector layer properties dialog
2017-04-15 08:54:19 +10:00
rldhont
cc55ae1932
Merge pull request #4344 from rldhont/server-wfs-configparser
...
[Server] WFS refactoring and QgsWfsProjectParser removal
2017-04-14 17:32:16 +02:00
Martin Dobias
47a81f0504
Fix map canvas destruction fix (got broken after rebase)
2017-04-13 16:00:14 +08:00
Martin Dobias
92e3e75f3d
Move from "or", "and" to proper C-style ||, &&
2017-04-13 15:58:07 +08:00
Martin Dobias
2e21d46913
Fixes for moving between nodes with keyboard
...
- supports < and > in addition to comma and dot
- wraps around polygon rings (jumps from last node to the first)
- moves view to node when it is outside of canvas view
2017-04-13 14:28:31 +08:00
Nyall Dawson
1eaa486291
Followup 271e6f1, fix sidebar styling in style dock
2017-04-13 11:13:16 +10:00
Nyall Dawson
271e6f14ac
Make search box in options pages blend in better
2017-04-13 10:30:11 +10:00
Nyall Dawson
7f065c786e
Standardise margins on vector layer properties dialog
2017-04-13 10:21:35 +10:00
Nyall Dawson
f23d3814ae
Fix raster context menu "change transparency" actually changes opacity
2017-04-13 09:40:48 +10:00
Matthias Kuhn
48e876bbe4
Add centimeters and millimeters to measure dialog
2017-04-12 23:11:37 +02:00
Mathieu Pellerin
40dac8f00d
[plugin manager] fix QGIS startup crash ( fixes #16439 ) ( #4360 )
2017-04-12 23:10:41 +02:00
Etienne Trimaille
c4ad9505fb
[needs-docs] update metadata viewer and review UI for vector layer dialog ( #4316 )
...
Funded by WorldBank/GFDRR
2017-04-12 23:04:53 +02:00
Matthias Kuhn
0e09fdacde
Use monospace fonts for console on all platforms
2017-04-12 22:21:59 +02:00
matteo
16c8dac2ac
travis fix
2017-04-12 21:07:30 +02:00
matteo
bca0ca25ee
2 new plots added
2017-04-12 21:07:30 +02:00
matteo
0c5b667986
fix category error and remove np dependency
2017-04-12 21:07:30 +02:00
Alessandro Pasotti
9c2f88c911
QgsSettings: add writeArray and more group and array tests
2017-04-12 18:02:17 +02:00
Nathan Woodrow
29d228dd6e
Opps :)
2017-04-12 13:21:28 +01:00
Nathan Woodrow
7694dd2d81
[FEATURE][needs-docs] Add better crash dialog
2017-04-12 22:18:56 +10:00
Juergen E. Fischer
0e1a7d9650
debian packaging: add dependency qt5keychain-dev (followup 090d530)
2017-04-12 14:17:00 +02:00
Alessandro Pasotti
c9f0509841
Merge pull request #4355 from boundlessgeo/password-helper-authmanager3
...
[feature][needs-docs] Master Password integration with OS password manager
2017-04-12 13:04:43 +02:00
Nyall Dawson
da5c0ed2cd
Fix composer legends are not restored from XML
...
Also add unit test to protect this and switch to unique_ptrs
instead of raw pointers
2017-04-12 16:59:54 +10:00