15 Commits

Author SHA1 Message Date
Nyall Dawson
f1633a1796 Change all signals to use const refs for non trivial objects 2015-10-26 22:46:25 +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
Denis Rouzaud
c180fecbef support icons in map layer actions 2014-10-31 15:21:46 +01:00
Denis Rouzaud
2188de608a fix QgsMapLayerAction SIP + do not copy features in identify menu (followup 21c81d6f512fa59f4bb4545c087a2bf5154008dd) 2014-09-17 10:09:05 +02:00
Matthias Kuhn
21c81d6f51 Fix sip for QgsMapLayerActionRegistry 2014-09-17 09:18:53 +02:00
Denis Rouzaud
665866f1a6 more const correctness 2014-09-01 16:55:18 +02:00
Denis Rouzaud
5b1a516f2e more flag operators declaration in SIP, better use of flags in data defined button 2014-09-01 10:51:06 +02:00
Denis Rouzaud
252dc377a4 [map layer actions] action for group of features, rename availability to target (flags), only emit signal for defined target"
Conflicts:
	src/gui/qgsmaplayeractionregistry.cpp
	src/gui/qgsmaplayeractionregistry.h
2014-09-01 08:22:23 +02:00
Juergen E. Fischer
07165eae79 indentation update 2014-08-17 13:37:34 +02:00
Nyall Dawson
346b50ead9 Fix typo 2014-08-17 21:27:32 +10:00
Denis Rouzaud
b88723d069 availibilty definition for map layer actions 2014-08-13 14:32:21 +02:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Nyall Dawson
85a17c246a Add QgsMapLayerAction and QgsMapLayerActionRegistry, which can be
used as a generic api for registering actions which can apply to
a specific map layer or layer type.

Create a QgsMapLayerAction for setting features as the current
atlas feature for compositions.

This work was kindly sponsored by SIGE (www.sige.ch).
2014-01-20 21:35:56 +11:00