37887 Commits

Author SHA1 Message Date
Nyall Dawson
5fb63c066f Make QgsRectangle protected members private
This class is not designed to be subclassed
2017-04-11 14:55:57 +10:00
Nyall Dawson
a45e5700da Use weak pointers for registered QgsOptionsWidgetFactorys
Avoids QGIS crashing if a plugin crashes without deregistering
its QgsOptionsWidgetFactory.
2017-04-11 14:25:50 +10:00
Nyall Dawson
7a6efa2c7f Merge pull request #4346 from nyalldawson/metadata_api
Rename QgsMapLayer::metadata() -> htmlMetadata()
2017-04-11 12:31:47 +10:00
Matthias Kuhn
e7e73bafcf Add test for postgres boolean 2017-04-10 22:47:41 +02:00
Matthias Kuhn
88a8a2c94d CheckBox widget: support native Bool fields 2017-04-10 22:47:41 +02:00
Matthias Kuhn
cfb8552b14 [postgis] Native boolean support 2017-04-10 22:47:41 +02:00
Mark Johnson
5ab8e7176b UTF8 support for QgsRasterDataProvider::cStringList2Q_ (#4345)
UTF8 support for QgsRasterDataProvider::cStringList2Q_.

Fix #15978
2017-04-10 21:36:45 +02:00
Nyall Dawson
f2a7dcbdd7 Rename QgsMapLayer::metadata -> htmlMetadata()
Frees up metadata() for use as a structured metadata getter
2017-04-10 18:45:00 +10:00
Nyall Dawson
9837c9965c Merge pull request #4348 from nyalldawson/sipify_maplayer
Sipify QgsMapLayer and cleanup API
2017-04-10 18:07:55 +10:00
Nyall Dawson
9dabb9dd20 Avoid some "" literals and QString::nulls in layer API
Use QString() instead
2017-04-10 17:17:17 +10:00
Nyall Dawson
de62c4e643 Fix some QgsMapLayer getters which are incorrectly marked as slots 2017-04-10 17:12:14 +10:00
Nyall Dawson
1128373830 Remove QgsMapLayer::invalidTransformInput slot
Calling slot does nothing and is not used anywhere
2017-04-10 17:09:43 +10:00
Nyall Dawson
acd8aa94a3 Sipify QgsMapLayer 2017-04-10 17:07:50 +10:00
Nyall Dawson
18c1e6233b [sipify] Also skip mutable protected members 2017-04-10 17:00:12 +10:00
Alexander Bruy
78d02b7fab Merge pull request #4299 from alexbruy/checkable-combobox
[FEATURE] New custom widget checkable combobox
2017-04-10 09:33:01 +03:00
Nyall Dawson
fc2581c64b Daily connectification 2017-04-10 10:30:31 +10:00
Nyall Dawson
b0c88f1b80 Add missing currentThemeChanged signal to interface 2017-04-10 09:19:42 +10:00
Nyall Dawson
8cf5860d72 Fix missing sip cast for QgsHillshadeRenderer 2017-04-10 08:52:32 +10:00
Nathan Woodrow
bc08a79b6b Remove old comment line
[ci skip]
2017-04-09 11:47:42 +01:00
Nathan Woodrow
db8a14d496 Test cmake (#4343)
* Streamline cmake test file adding
2017-04-09 16:18:28 +10:00
Matthias Kuhn
5805cf99f1 Some docstring improvements 2017-04-08 23:42:55 +02:00
Matthias Kuhn
14e949b96c [sipify] skip non-public template based member declarations 2017-04-08 23:42:55 +02:00
Matthias Kuhn
d8207021d3 Fix sipify test header file 2017-04-08 23:42:55 +02:00
Matthias Kuhn
d902575f58 Sipify 2017-04-08 23:42:55 +02:00
Nathan Woodrow
f450b98b26 sip skip on ColumnConfig == for now
Fails on Windows build for some reason
2017-04-08 21:59:34 +10:00
Alexander Bruy
0803b56861 remove docs for parent parameter 2017-04-08 12:00:20 +03:00
Alexander Bruy
df0c26d9e0 update SIP file 2017-04-08 11:31:54 +03:00
Alexander Bruy
fc4ce3c562 address Nyall's comments:
- add TransferThis to parent argument
 - QSignalSpy always available with Qt5
2017-04-08 08:30:59 +03:00
Alexander Bruy
4a4b3184ef fix warnings` 2017-04-08 08:30:59 +03:00
Alexander Bruy
e9bd373d0c replace "added in QGIS 3.0" with "since QGIS 3.0" 2017-04-08 08:30:59 +03:00
Alexander Bruy
22ea3ac48f homogenize doxygen comments 2017-04-08 08:30:59 +03:00
Alexander Bruy
8b7a6b80a7 sipify 2017-04-08 08:30:59 +03:00
Alexander Bruy
1e3baca361 don't close popup after first click, so user can select all necessary
options at once
2017-04-08 08:30:59 +03:00
Alexander Bruy
9fbb31a31c add context menu with select/deselect all options 2017-04-08 08:30:59 +03:00
Alexander Bruy
c8e4bca5d7 make model and delegate classes private API 2017-04-08 08:30:59 +03:00
Alexander Bruy
a0bd3ec14c remove private member initialization 2017-04-08 08:30:59 +03:00
Alexander Bruy
ec2af9bd89 more doxymentation 2017-04-08 08:30:59 +03:00
Alexander Bruy
792cd6f083 add tests 2017-04-08 08:30:59 +03:00
Alexander Bruy
228cc41a99 custom widget for Qt Designer 2017-04-08 08:30:59 +03:00
Alexander Bruy
6ab2bd0673 add Python bindings 2017-04-08 08:30:59 +03:00
Alexander Bruy
638dbcad1c [FEATURE] new custom widget — combobox with checkable items 2017-04-08 08:30:59 +03:00
Nyall Dawson
61137dc8bf Merge pull request #4339 from nyalldawson/sipify
Sipify
2017-04-08 10:32:20 +10:00
Nyall Dawson
bfd37e1122 [sipify] Add return types for functions in docstrings
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00
Nathan Woodrow
8c5e241be4 Add header to Qt templates 2017-04-07 14:00:27 +01:00
Matthias Kuhn
58d2d6d7f9 sipify_all 2017-04-07 12:26:30 +02:00
Matthias Kuhn
ebc1afe82c [sipify] Fix exposing members and default struct accessors 2017-04-07 12:26:30 +02:00
Matthias Kuhn
c65f76266c QgsAttributeEditorElement is an abstrat class 2017-04-07 12:26:30 +02:00
Matthias Kuhn
cfeab26bd8 [sipify] Add support for abstract classes 2017-04-07 12:26:30 +02:00
Matthias Kuhn
cd3528a109 Sipification 2017-04-07 12:26:30 +02:00
Matthias Kuhn
97e2661eeb [sipify] do not copy struct docstrings 2017-04-07 12:26:30 +02:00