15 Commits

Author SHA1 Message Date
Nyall Dawson
5c3aea33b8 Allow filtering QgsMapLayerComboBox by data provider 2016-11-17 09:04:19 +10:00
Nyall Dawson
9ee7873572 Allow showing additional items in QgsMapLayerComboBox
These may represent additional layers such as layers which
are not included in the map layer registry, or paths to
layers which have not yet been loaded into QGIS.
2016-11-17 09:04:19 +10:00
Nyall Dawson
ec49341f85 Allow showing CRS in QgsMapLayerComboBox 2016-11-17 09:04:19 +10:00
Nyall Dawson
959f97f682 Allow not set choice in QgsMapLayerComboBox 2016-11-17 09:04:19 +10: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
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
Nyall Dawson
7fb4bea279 Fix map layer combo box sometimes showing a selected layer which
is not applied

This could also have been fixed by changing from the activated
signal to currentIndexChanged for the indexChanged connection,
but it looks like activated was intentionally used here.
2015-06-10 16:03:38 +10:00
Juergen E. Fischer
f17755cec4 indentation update 2015-03-19 22:58:11 +01:00
Denis Rouzaud
4bfbcb2629 [joins] allow edition of joins in layer properties 2015-03-10 14:21:08 +01:00
Denis Rouzaud
368755a51a fix sorting of map layer combo box and more const correctness 2014-09-02 08:10:32 +02:00
Denis Rouzaud
665866f1a6 more const correctness 2014-09-01 16:55:18 +02:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Denis Rouzaud
39650d518e rename QgsMapLayerComboBox::getFilters to filters 2014-05-12 16:28:42 +02:00
Denis Rouzaud
105155bd9b QgsMapLayerComboBox: allow setting filters within QtDesigner 2014-05-12 16:28:42 +02:00
Denis Rouzaud
8b06a16a75 model/view for layer/field selectors 2014-04-03 14:51:26 +02:00