18 Commits

Author SHA1 Message Date
Nyall Dawson
4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00
Denis Rouzaud
f2b3ed0a9b run sipify 2017-12-15 11:12:19 -04:00
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00
Denis Rouzaud
e48cf98edb run sipify 2017-12-06 07:19:50 -04:00
Denis Rouzaud
6e14854f90 [sipify] remove redundant private sections 2017-10-09 09:51:40 +02:00
Nyall Dawson
49b426d951 Make doxygen_space script convert multiline //! comments
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Nyall Dawson
603168e8fa Update sip 2017-07-07 08:54:00 +10:00
Denis Rouzaud
58674146af sipify gui effects + layertree 2017-06-09 10:16:08 +02:00
Denis Rouzaud
7b60d89d6c align pointer and reference in sip files batch 2 2017-05-01 20:00:51 +02:00
Martin Dobias
a3186f80bc Fix layer tree expanded state when used expand/collapse all (fixes #15691)
(cherry picked from commit de85fdd6e8fa3d4f38196376aabccce317cbf341)
2016-10-31 12:53:30 +08:00
Nyall Dawson
881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00
Nyall Dawson
c7c5c007be [FEATURE] Double clicking a legend node opens symbol editor directly 2015-12-09 16:07:39 +11:00
Juergen E. Fischer
abd4a04399 sip update 2015-02-03 02:21:52 +01:00
Martin Dobias
cc306099d9 Fix #11474 (cannot move layers in layer tree anymore)
I have managed to break that with implementation of #11369.
Obviously it is a bad idea to change selection in a slot connected to model's rowsInserted signals
because the drag'n'drop does not work properly anymore. Now registry bridge will emit a signal after
new layers have been added, so the selection change at that point should be safe.
2014-10-23 19:08:54 +07:00
Martin Dobias
ea910d887d Fix #11369 (New layers are not active with new legend) 2014-10-22 19:57:05 +07:00
Martin Dobias
559b810ef4 [layertree] Add sip/PyQt subclassing code for model and view 2014-06-13 18:19:15 +07:00
Martin Dobias
cf4393e0e7 [layertree] Add Python bindings - part two (gui) 2014-06-03 19:27:28 +07:00
Martin Dobias
4988bc503a Add the missing SIP stub file 2014-05-22 01:09:14 +07:00