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
Nyall Dawson
d0566f7792
[FEATURE] Allow loading paletted color table from file
...
Supports standard GDAL/ESRI clr file format
2017-04-03 12:07:50 +10:00
Nyall Dawson
d542a1a442
Add method to load paletted renderer classes from file
2017-04-03 12:07:50 +10:00
Nyall Dawson
a6d3af7c26
Add method to read paletted color data from string
2017-04-03 12:07:50 +10:00
Nyall Dawson
93cfde0c09
Enable reordering of paletted raster entries
2017-04-03 12:07:50 +10:00
Nyall Dawson
bfe96214b2
[FEATURE] Add a color ramp combo to paletted raster renderer
...
Allows rapid recoloring of palette to match a color ramp
2017-04-03 12:07:50 +10:00
Nyall Dawson
40027abcd2
Allow changing label for multiple values at once in paletted renderer widget
2017-04-03 12:07:50 +10:00
Nyall Dawson
64084ae4c4
Allow changing pixel value in paletted renderer widget
2017-04-03 12:07:50 +10:00
Nyall Dawson
b7cd9dcb56
Rework paletted raster renderer widget
...
- Switch to a real model
- Allow adding new rows and deleting multiple selected rows
- Allow changing colors inline in style dock (no modal color picker)
2017-04-03 12:07:50 +10:00
Nyall Dawson
a157db7627
Refactor QgsPalettedRasterRenderer to allow "gaps" in pixel values
...
Previously the renderer required that pixel values followed
sequential numerical order. This refactor allows values to
be skipped, so that only certain color index will be rendered.
2017-04-03 12:07:50 +10:00
Nathan Woodrow
541ecc55ae
Some more Qt5 signal converts
2017-04-03 10:29:02 +10:00
Nyall Dawson
620a8394c9
No more old style connects in providers
2017-04-03 10:19:53 +10:00
Nyall Dawson
c8e4e68254
Merge pull request #4321 from m-kuhn/sinceNow
...
Use \since instead of \note added in
2017-04-03 10:09:31 +10:00
Matthias Kuhn
beb185a72e
Update sipify to use the "\since" tag
2017-04-03 01:31:44 +02:00
Matthias Kuhn
50ca79ef43
Add some remaining \since tags
2017-04-03 01:28:50 +02:00
Nyall Dawson
106d95b95b
More new style Qt5 connects
2017-04-03 09:28:45 +10:00
Matthias Kuhn
fb91ed7395
Use "\since" instead of "@note added in"
2017-04-03 01:06:33 +02:00