43 Commits

Author SHA1 Message Date
Denis Rouzaud
e48cf98edb run sipify 2017-12-06 07:19:50 -04:00
Nyall Dawson
7cfd284fb1 Remove all previously autoconnected slots from public API
These are implementation details only, and should not be
part of the stable API.

We need the flexibility to change these at any stage without
being bound by any API contract.
2017-10-09 09:04:18 +10:00
Nyall Dawson
fea2726c1c Flip autoconnected slots to explicit connections, pt 1 2017-10-09 07:30:52 +10:00
Denis Rouzaud
2148fa9287 handle protected inheritance, rename ui class to avoid class name collision 2017-05-31 14:37:30 +02:00
Denis Rouzaud
625cfc7c8f sip gui layertree and raster 2017-05-31 14:37:30 +02:00
Etienne Trimaille
6eb3570511 sipify 2017-05-31 10:48:11 +02:00
Nyall Dawson
c9bfb9f2a1 Add a "not set" option to QgsRasterBandComboBox 2017-05-09 19:23:08 +10:00
Nyall Dawson
a32314d8b5 Add a new QgsRasterBandComboBox widget
And use wherever custom widgets were being created. Reduces
duplicate code and allows specialised handling for raster
band display/selection to be centralized.
2017-05-09 19:23:08 +10:00
Denis Rouzaud
85f3b81b55 remove double spaces in sip files
fix indentation
2017-05-03 08:02:14 +02:00
Denis Rouzaud
7b60d89d6c align pointer and reference in sip files batch 2 2017-05-01 20:00:51 +02:00
Denis Rouzaud
7812d4fb17 remove the-prefix from source code
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
nirvn
181f84b86f [raster] move pseudocolor renderer classification out of gui into core 2016-12-27 10:16:51 +07:00
Even Rouault
532eb58d1f [FEATURE] Implement raster auto-stretching when updating canvas
This commit implements the improvements described at:
https://lists.osgeo.org/pipermail/qgis-developer/2016-September/044393.html

The QgsRasterMinMaxWidget now offers a seetting to specify that the statistics
should be computed each time the canvas extent changes.

Other changes:
- the content of the QgsRasterMinMaxWidget is now persistant.
- there is no longer any Load button. The global Apply / OK button of the raster
  properties dialog has this effect.
- the default "limits" for single band raster is now MinMax and not CumulativeCut
- the default "limits" can be configured for single band, multi band single byte and
  multi band multi byte
- "Strech using current extent" honours the "limits" instead of forcing min/max.
2016-12-16 12:36:06 +01:00
Mathieu Pellerin
eb85e3fcfa [raster] migrate singleband pseudo-color renderer color ramp widget (#3817) 2016-12-02 12:48:45 +07:00
Nyall Dawson
39b3e721bb Replace QgsNumericSortTreeWidgetItem with upgraded QgsTreeWidgetItem
QgsNumericSortTreeWidgetItem had a giant TODO saying "make it work".
This makes it work, and adds some other useful features like
being able to specify custom sort value and force items to always
sort on top.
2016-07-19 09:30:23 +10:00
Nathan
e097443771 Fix globe plugin 2016-07-07 10:27:04 +10:00
Nathan
fdf16e3c92 Rename QgsLayerStylingPanelFactory to QgsMapLayerConfigWidgetFactory
- Move QgsMapLayerPropertiesFactory into single factory object for
  dock and properties
2016-07-06 23:03:43 +10:00
Nyall Dawson
19564672c2 Fix raster load min/max from extent in style dock (fix #15171) 2016-06-30 18:25:20 +10:00
Nathan Woodrow
0914b7440f Rename Map Styling Dock to Layer Styling Dock 2016-06-20 20:56:34 +10:00
Nathan Woodrow
7a572c4ff8 [style dock] Refactor API. Move back button outside scrollarea.
Clean up API. Remove QgsPanelWidgetPage - no longer needed
QgsPanelWidgetStack widget manages back button and breadcrumb.
QgsPanelWidget manages state of active widget.
2016-06-20 10:48:53 +10:00
Nathan Woodrow
e926e2d0aa [style dock] Add better API for panels 2016-06-13 18:07:39 +10:00
Nathan
6b52f7ea0e Add resample options to raster style dock 2016-06-03 20:33:04 +10:00
Juergen E. Fischer
840022d772 fix indentation and some typos 2016-06-02 21:29:35 +02:00
Piers Titus van der Torren
c84dc8d715 implement comments from nyalldawson 2016-06-02 16:06:42 +10:00
Piers Titus van der Torren
2556c7ce94 documentation and sip coverage 2016-06-02 15:54:39 +10:00
Nyall Dawson
6428f619da Doc, indentation fixes for hillshade renderer 2016-06-01 22:41:27 +10:00
Asger Skovbo Petersen
d47fe0f7b7 Hillshaderenderer: Add 'multidirectional oblique-weighted' rendering option (#3160) 2016-06-01 21:52:33 +10:00
Nathan Woodrow
17b48563a5 [renderer] Live hillshade renderer for raster layers
Thanks to Asger Skovbo Petersen (@AsgerPetersen) for the idea and fixes
Thanks to Nyall for reviews and bug fixes
2016-05-28 21:01:33 +10:00
Nathan
3ace8e62fd [Style dock] Add support for raster layers 2016-05-22 20:45:24 +10:00
Nyall Dawson
c3a57434d9 Fix clazy 'pass small and trivially-copyable type by value' warnings 2016-02-02 19:47:21 +11:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Nyall Dawson
3c71498c3e Add some missing /TransferThis/ to sip bindings for QObject parents 2015-02-18 17:35:47 +11:00
Juergen E. Fischer
a57066a48d * fix cppcheck warnings
* some sip updates
* [API] fix spelling QgsMultiRenderChecker::drawBackround
* [API] fix spelling QgsSymbolLayerV2Utils::drawStippledBackround
* [API] fix spelling QgsMapSettings::layerTransfrom
2014-11-20 15:02:35 +01:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Juergen E. Fischer
45c0be1059 sip: remove enum constants 2014-06-02 21:52:02 +02:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Radim Blazek
6b55ee4fa0 undersampling if possible in QgsRasterDataProvider, multicolor widget loadMinMax fix 2012-10-16 10:34:34 +02:00
Juergen E. Fischer
9fb31117cb sip updates 2012-10-06 11:22:52 +02:00
Radim Blazek
d9c5a68d80 pseudocolor renderer GUI min/max support 2012-10-05 22:56:26 +02:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00