Nyall Dawson
28e75731e1
Move tag handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
52cc002990
Simple c++ base class for processing algorithms
2017-04-03 21:17:45 +10:00
Nyall Dawson
e462bfb106
[processing] Fix MessageBarProgress
2017-04-03 20:59:21 +10:00
Denis Rouzaud
169c60950d
[sipify] fix override removal
2017-04-03 09:38:40 +02:00
Denis Rouzaud
cca83b7599
[sipify] properly get out of private section
2017-04-03 08:40:29 +02:00
Nyall Dawson
26495dbd81
[processing] Move dataobjects.getSupportedOutputVectorLayerExtensions
...
to QgsVectorFileWriter
2017-04-03 15:41:32 +10:00
Nyall Dawson
3e9c527dc7
[sipify] Handle enum values using bitshift operators
2017-04-03 14:09:40 +10:00
Nyall Dawson
7db1913c07
Handle Q_DECLARE_FLAGS and Q_DECLARE_OPERATORS_FOR_FLAGS in sipify
2017-04-03 13:54:12 +10:00
Nyall Dawson
55424446f9
Merge pull request #4323 from nyalldawson/doxygen_standard
...
Standardise a bunch of doxygen tags, cleanup code
2017-04-03 13:46:55 +10:00
Nyall Dawson
dbc8ad76f1
Update some recently merged classes
2017-04-03 13:21:30 +10:00
Nyall Dawson
e1e1f0d514
Strip \a from doxygen comments in sipify
2017-04-03 13:18:36 +10:00
Nyall Dawson
5813eb132b
Modernise CharacterWidget API, move to sipify
2017-04-03 13:18:36 +10:00
Nyall Dawson
9b3539ab07
Update sip files
2017-04-03 13:18:36 +10:00
Nyall Dawson
266f182a26
Use auto doxygen links where possible instead of explicit \link
...
Will make things nicer in Python documentation
2017-04-03 13:18:36 +10:00
Nyall Dawson
f92f14df70
Spell check: vecotr -> vector
2017-04-03 13:18:36 +10:00
Nyall Dawson
06a53e125c
/*! -> /**
...
We already have enough doxygen styles to manage!
2017-04-03 13:18:36 +10:00
Nyall Dawson
676dc1a1d6
Remove redundant doxygen comments from .cpp files, move to .h
...
where appropriate
2017-04-03 13:18:36 +10:00
Nyall Dawson
fa6ec3a993
@(end)link -> \(end)link
2017-04-03 13:18:36 +10:00
Nyall Dawson
20ae0a8c0e
Fix some malformed doxygen
2017-04-03 13:18:36 +10:00
Nyall Dawson
8bc77af736
@throws -> \throws
2017-04-03 13:18:36 +10:00
Nyall Dawson
f3ae103f7e
@ingroup -> \ingroup
2017-04-03 13:18:36 +10:00
Nyall Dawson
9c967a65ea
Remove some unneeded copydocs
...
Since doxygen already copies docs for overridden methods
2017-04-03 13:18:35 +10:00
Nyall Dawson
57eb237d20
Remove @author credits from doxygen
...
Because
- not widely used, seems strange that some authors get credit
while others don't
- already included in copyright header
2017-04-03 13:18:35 +10:00
Nyall Dawson
04d5862bad
@brief -> \brief
2017-04-03 13:18:35 +10:00
Nyall Dawson
0f6452c135
@class -> \class
2017-04-03 13:18:35 +10:00
Nyall Dawson
60ae5a5131
@sa -> \see
2017-04-03 13:18:35 +10:00
Nyall Dawson
dfb5f56f80
@see -> \see
2017-04-03 13:18:35 +10:00
Nyall Dawson
e47073b1e1
\return -> \returns (for consistency)
2017-04-03 13:18:35 +10:00
Nyall Dawson
e4daf8ea62
@return(s) -> \return(s)
2017-04-03 13:18:13 +10:00
Nyall Dawson
11dcfd935c
@param -> \param
2017-04-03 13:17:27 +10:00
Nyall Dawson
9a4f2e412b
"Introduced in..." -> "\since"
2017-04-03 13:16:03 +10:00
Nyall Dawson
0326f7142d
Change doxygen @note to \note
2017-04-03 13:16:03 +10:00
Nyall Dawson
97611fed36
Merge pull request #4308 from nyalldawson/raster_unique
...
[FEATURE] Allow easy styling of discrete rasters
2017-04-03 13:01:46 +10:00
Nyall Dawson
3d5a039062
Update raster histogram widget to use feedback object
2017-04-03 12:08:08 +10:00
Nyall Dawson
e8ef91ce98
Cleanup QgsRasterDataProvider/QgsRasterLayer progress reporting
...
Instead of progress changed signals on the provider/layer level,
instead use QgsFeedback arguments for methods which previously
emitted progress changed signals
2017-04-03 12:08:08 +10:00
Nyall Dawson
144e5d0391
Add label for color ramp widget
2017-04-03 12:08:08 +10:00
Nyall Dawson
0b4262e607
Fix classification test
2017-04-03 12:08:08 +10:00
Nyall Dawson
3405298206
Don't set both a default ramp and show the random option
2017-04-03 12:08:08 +10:00
Nyall Dawson
e2a82a073d
Improve random color generation for unique raster values
2017-04-03 12:08:08 +10:00
Nyall Dawson
19403f6986
Default to random color ramps for unique value rasters
2017-04-03 12:08:08 +10:00
Nyall Dawson
fcbda57797
[needs-docs] Rename Paletted raster renderer to "Paletted/Unique values"
2017-04-03 12:08:08 +10:00
Nyall Dawson
12aa48a712
Auto load raster color table from band when band is changed in
...
paletted raster renderer
(Only if raster has an embedded color table)
2017-04-03 12:08:08 +10:00
Nyall Dawson
17a3d1fd70
Add unit test to ensure that #13263 is fixed
...
Fix #13263
2017-04-03 12:08:08 +10:00
Nyall Dawson
603365c386
Fix some crashes in paletted raster renderer
...
- handle negative color values
- don't crash when calculating unique values in bad rasters
2017-04-03 12:08:08 +10:00
Nyall Dawson
1cbe971372
Calculate unique raster values in background thread
...
To keep UI nice and responsive
2017-04-03 12:08:08 +10:00
Nyall Dawson
e400ab6249
Allow cancelation of raster stats/histogram operations
2017-04-03 12:08:08 +10:00
Nyall Dawson
b9f1f0e427
[FEATURE] Add button to paletted renderer widget to allow loading
...
embedded color table
Only enabled for rasters which contain a color table
2017-04-03 12:08:08 +10:00
Nyall Dawson
d03844d24e
[FEATURE] Allow classifying paletted renderer using unique values
...
from a raster layer
Adds an easy way to style discrete rasters such as landuse classes
using the Paletted renderer. Just select the Paletted renderer,
pick a band, then hit the "Add Unique Values" button. The unique
pixel values will be fetched from the layer and a color assigned
to each using the currently selected color ramp.
Fix #14845
Sponsored by
- Stéphane Henriod
- Satelligence (http://satelligence.com/ )
- Bird's Eye View (https://www.birdseyeviewgis.com/ )
- + other anonymous backers
2017-04-03 12:08:08 +10:00
Nyall Dawson
c8b728a361
No lies!
2017-04-03 12:08:07 +10:00
Nyall Dawson
7eb63d99dc
[FEATURE] Implement saving paletted raster renderer color tables
...
Use the .clr/gdal file format, but add the labels on the ends of
the lines. Seems other importers like ArcMap just ignore these.
2017-04-03 12:07:50 +10:00