13 Commits

Author SHA1 Message Date
Nyall Dawson
fc49f8dfa9 Add test for coverage of SIP bindings
Not perfect, but good for a quick warning if a new class or member
has been added to the public API without Python bindings. The test
only considers the name of members, since it seems to be impossible
to test for the signature of a Python member. (So adding a new
overloaded method without bindings will still unfortunately pass).

You can avoid the test where bindings are not applicable:
- for a whole class by placing "@note not available in Python bindings"
in the class' Doxygen comments
- or by placing the @note inside a member's Doxygen comments for a
specific member

Additionally, classes which aren't included in the API docs
will not be tested.
2015-10-28 09:54:27 +11:00
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
Denis Rouzaud
665866f1a6 more const correctness 2014-09-01 16:55:18 +02:00
Denis Rouzaud
09a9a6171a field proxy model to filter fields on their type (also fix #10181) 2014-05-12 14:20:45 +02:00
Matthias Kuhn
753eb28a39 Fix sip compile problems 2014-05-06 14:30:47 +02:00
Denis Rouzaud
b9f5477b7f [fix #10168] expression widget: grey out when disabled
use const when possible
2014-05-06 11:10:44 +02:00
Juergen E. Fischer
df4360b0c8 identation update 2014-05-02 10:36:30 +02:00
Denis Rouzaud
71727ac381 update sip 2014-05-02 07:56:34 +02:00
Denis Rouzaud
fe20f7bbfa remove protected slots in sip
fix signal emitted twice
handle null expression (fix empty row)
coherent color (colored text, not background)
fix wrong slot
2014-05-02 07:56:34 +02:00
Denis Rouzaud
86700d2426 QgsFieldCombobBox do not allow expression
editExpression protected, setLayer uses QgsVectorLayer
    make epxression widget editable
2014-05-02 07:56:34 +02:00
Denis Rouzaud
760f835129 expression button and expression capability added to the field model 2014-05-02 07:56:33 +02:00
Denis Rouzaud
8b06a16a75 model/view for layer/field selectors 2014-04-03 14:51:26 +02:00