37697 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
6f9f087c3d Fix Travis warnings 2017-04-03 09:03:30 +10:00
Matthias Kuhn
9c1861a1f3 some docstrings in cpp files 2017-04-03 01:00:55 +02:00
Matthias Kuhn
59e288c38e Update doc test for \since 2017-04-03 01:00:47 +02:00
Nyall Dawson
b55e4b9abd Add qgsi->qgis to spell check 2017-04-03 08:55:07 +10:00
Nyall Dawson
6f09a161e4 QGSI -> QGIS 2017-04-03 08:43:08 +10:00
Nyall Dawson
32326ab5df Replace "python" with "Python" in docs 2017-04-03 08:33:56 +10:00
Nyall Dawson
1521033cb0 Remove SIP_TRANSFERTHIS from .cpp files 2017-04-03 08:27:40 +10:00
Matthias Kuhn
5da0318d21 Fix build warnings 2017-04-02 23:37:17 +02:00
Matthias Kuhn
a9b5599377 Sipify QgsPropertyTransformer 2017-04-02 23:37:17 +02:00
Matthias Kuhn
4cfb60796e Sipify QgsConditionalStyle 2017-04-02 23:37:17 +02:00
Matthias Kuhn
d76bca0ade Sipify QgsClipper 2017-04-02 23:37:17 +02:00
Matthias Kuhn
f4f45bf6c6 Autogenerate more sip files 2017-04-02 23:37:17 +02:00
Matthias Kuhn
16594da94c Fix sipify override and inline definition combination 2017-04-02 23:37:17 +02:00
Matthias Kuhn
a609883cc0 Add %Feature support to sipify 2017-04-02 23:37:17 +02:00
Matthias Kuhn
68d8108ab3 Fix sipify constructor detection 2017-04-02 23:37:17 +02:00
Matthias Kuhn
6681766cbb Mac compatibility for prepare-commit.sh 2017-04-02 23:37:17 +02:00
Matthias Kuhn
cd559eab5c Fix sipdiff 2017-04-02 23:37:17 +02:00
Nyall Dawson
f044eeb597 Remove \brief from doxygen in sipify 2017-04-02 21:28:20 +10:00
Nyall Dawson
0c08fb3b35 More sipify blacklist removal 2017-04-02 21:24:19 +10:00
Nyall Dawson
f1162f7884 Fix sipify annotations and inline definition combination 2017-04-02 21:19:52 +10:00
Nyall Dawson
d3daf60020 Convert doxygen notes and version added to sphinx style in sipify 2017-04-02 20:52:50 +10:00
Nyall Dawson
28a57c8f95 Remove ingroup and class from doxygen when creating sip docstrings 2017-04-02 20:30:22 +10:00
Nyall Dawson
d40de5dbd0 Fix(?) build warning 2017-04-02 19:56:31 +10:00
Nyall Dawson
f831a3c1a2 Remove processing sip bindings from sip blacklist 2017-04-02 17:13:07 +10:00
Nyall Dawson
bed74fc24a Handle c++11 '= default' in sipify 2017-04-02 16:21:23 +10:00
Nyall Dawson
aec3e15042 Fix build when QWebKit not available 2017-04-02 08:30:12 +10:00
Matthias Kuhn
60e2b1b837 mac compatibility fix 2017-04-01 19:10:59 +02:00
Matthias Kuhn
25f137053d Add whitespace check to prepare-commit.sh 2017-04-01 19:10:59 +02:00
Matthias Kuhn
5148b7accb [sipify] Add name of source file to generated headers 2017-04-01 19:10:59 +02:00
Matthias Kuhn
22272c65a5 Improve sip bindings 2017-03-31 11:22:32 +02:00
Matthias Kuhn
6208986852 Autogenerate some sip files 2017-03-31 11:22:32 +02:00
Matthias Kuhn
8a44161b46 Fix typos 2017-03-30 16:27:41 +02:00
Matthias Kuhn
649e3c2b88 More information when [LIB]_EXPORT is missing 2017-03-30 16:25:25 +02:00
Denis Rouzaud
b8159a9544 fix export macro matching 2017-03-30 16:17:05 +02:00