8763 Commits

Author SHA1 Message Date
matteo
16c8dac2ac travis fix 2017-04-12 21:07:30 +02:00
matteo
bca0ca25ee 2 new plots added 2017-04-12 21:07:30 +02:00
matteo
0c5b667986 fix category error and remove np dependency 2017-04-12 21:07:30 +02:00
Alessandro Pasotti
9c2f88c911 QgsSettings: add writeArray and more group and array tests 2017-04-12 18:02:17 +02:00
Alessandro Pasotti
c9f0509841 Merge pull request #4355 from boundlessgeo/password-helper-authmanager3
[feature][needs-docs] Master Password integration with OS password manager
2017-04-12 13:04:43 +02:00
Nyall Dawson
226bd9bb60 Move QgsRectangle and QgsBox3d to geometry folder
Since these are both geometry related classes, it's nicer to
keep these all together
2017-04-12 15:27:34 +10:00
Nyall Dawson
36ca6d2380 Add methods to convert between QgsRectangle and QgsBox3d
Also add volume calculation to QgsBox3d
2017-04-12 14:45:47 +10:00
Nyall Dawson
6632fd6849 Cleanup QgsRectangle header and sipify
Also add methods for returning area and perimeter of rectangle
2017-04-12 14:39:02 +10:00
Nyall Dawson
e3dfe17861 Add unit tests for QgsBox3d 2017-04-12 14:08:47 +10:00
Nyall Dawson
0d843ff4e6 Initial framework for 3D box class 2017-04-12 14:08:47 +10:00
Alessandro Pasotti
090d5305e5 [feature][needs-docs] Master Password integration with OS password manager
This PR adds (optional) synchronization of the master password
with the OS password manager (AKA wallet/keychain).

A set of new menu items has been added in the options ->
authentication -> utilities to manage the new behavior.

Notifications are handled by the message bar unless the
password r/w operation is triggered from a modal dialog,
in this case the notifications will be routed through
the recently exposed QgisApp::showSystemNotification
that uses the OS tray notifications.

This new feature requires libqt5keychain, and was tested
with v. 0.5+
2017-04-11 15:00:29 +02: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
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
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
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
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
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
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
9fbb31a31c add context menu with select/deselect all options 2017-04-08 08:30:59 +03:00
Alexander Bruy
ec2af9bd89 more doxymentation 2017-04-08 08:30:59 +03:00
Alexander Bruy
6ab2bd0673 add Python bindings 2017-04-08 08:30:59 +03: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
Matthias Kuhn
58d2d6d7f9 sipify_all 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
cd3528a109 Sipification 2017-04-07 12:26:30 +02:00
Matthias Kuhn
f82997c4aa [sipify] Force newlines after sip commands 2017-04-07 12:26:30 +02:00
Alexander Bruy
a82aba9cd6 Merge pull request #4338 from timlinux/processing-fixes
[processing] Added more error handling for cases when processing help causes an error
2017-04-07 08:46:20 +03:00
Alexander Bruy
2308b07671 fix indentation 2017-04-07 08:25:02 +03:00
Nyall Dawson
837ee29488 Indentation 2017-04-07 13:38:24 +10:00
Nyall Dawson
11d71d98bc Attempt to fix failing GDAL test 2017-04-07 13:34:06 +10:00
Nyall Dawson
69c31a2d71 Always return const algorithms, since algorithms should not be modified 2017-04-07 13:28:42 +10:00
Nyall Dawson
5a6f11d52e Some cleanups 2017-04-07 13:21:28 +10:00
Nyall Dawson
1bc3b28f94 Fix processing error when grass7 not available 2017-04-07 13:21:28 +10:00
Nyall Dawson
1aa7ca3452 Update sip 2017-04-07 13:21:28 +10:00
Nyall Dawson
ebd851993a Remove processing specific methods for adding/removing providers
QgsProcessingRegistry methods should always be used instead
2017-04-07 13:21:28 +10:00
Nyall Dawson
fdcf04f9f3 Remove AlgorithmProvider
Totally ported to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
42a614154c Also refactor provider context menu actions and remove from AlgorithmProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
651355d569 Refactor provider actions and remove from AlgorithmProvider 2017-04-07 13:21:28 +10:00