119 Commits

Author SHA1 Message Date
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Matthias Kuhn
c21889f945 Add qgis.testing module for generic qgis test helpers 2016-02-04 13:36:13 +01:00
Nyall Dawson
87c58f4541 Mark more includes as system includes 2016-01-08 16:43:27 +11: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
Juergen E. Fischer
1675703ddb qt5 fixes 2015-11-17 01:00:08 +01:00
Matthias Kuhn
313c34ce22 [py3] Updates to sip files 2015-11-16 07:42:48 +01:00
Matthias Kuhn
47543d940e [py3] Add PyQt5/PyQt4 compatibility layer 2015-11-16 07:42:48 +01:00
Matthias Kuhn
0b6dd352c9 [py3] CMake updates to support Python3 and PyQt5 2015-11-16 07:42:47 +01:00
Larry Shaffer
e65aa99ae7 [FEATURE] Authentication configuration system with master password
- Main C++ core and gui classes and desktop app integration
- Support for authentication method plugins
- Does not contain any integration with service connections
2015-09-21 08:51:18 -06:00
elpaso
00fa63618b [SERVER] Server refactoring and Python bindings/tests
This is a refactoring of the server component, the
server is now wrapped into a new QgsServer class with
python bindings and an examples python test.
2015-06-29 12:49:43 +02:00
Marco Hugentobler
68fe5f5791 [FEATURE:] New geometry classes 2015-05-25 08:53:49 +02:00
Nyall Dawson
742f3233ee [FEATURE] Paint effects for layers and symbol layers
This commit adds a new framework for implementing paint effects, which
modify the results of QPainter operations to apply visual effects
such as drop shadows and blurs.

The initial implementation allows for effects to be applied to entire
layers and individual symbol layers.

Included are a drop shadow, inner shadow, blur, inner glow, outer glow,
colorise and transform effect. A "stack" effect is also implemented
which allows other paint effects to be combined in various ways.

Sponsored by hundreds of generous kickstarter contributors!
2015-03-28 20:04:50 +11:00
Nyall Dawson
be2d6d1a70 New QgsImageOperation class for operations that modify QImages
Contains framework for multithreaded operations on QImages, and
numerous operations such as grayscale, hue/saturation, brightness/
contrast modification, flip, blur, distance transform, alpha
modification and color overlays.
2015-01-21 18:58:10 +11:00
Juergen E. Fischer
93e22264c3 header install update 2015-01-16 15:49:24 +01:00
Nathan Woodrow
59162bc178 [FEATURE] Function editor for expression widget.
Allows for adding on the fly functions to the expression engine.
Functions are saved in qgis2\python\expressions.

New qgis.user module in Python.

The qgis.user.expressions package points to the qgis2\python\expressions
package in the users home
2015-01-16 19:43:47 +10:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Larry Shaffer
a4aaff5d53 Fix CMake policy warnings/changes introduced in 3.0.0 and higher 2014-12-22 17:06:13 -07:00
Juergen E. Fischer
6a1e1bb668 * fix server plugin build on windows
* move src/mapserver to src/server (IMHO better name and in sync with
  python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
Juergen E. Fischer
8b65ebdeca don't build server plugins if server isn't built 2014-11-28 12:22:44 +01:00
elpaso
98cab97409 Added python server plugins 2014-11-26 16:02:32 +01:00
Juergen E. Fischer
51e01d6d1c add QScintilla2 include directory to python bindings and oracle provider
(fixes #11528)
2014-11-02 20:51:40 +01:00
Juergen E. Fischer
05c4522a63 fix build on PyQt <4.9.5 2014-09-14 23:31:01 +02:00
Juergen E. Fischer
3988ad0f63 make sip bindings to qscintilla derived classes optional (replaces 7e815cad & 8f0b8987) 2014-07-23 19:03:42 +02:00
Juergen E. Fischer
8f0b89870f fix qscintilla sip include path (followup 7e815cad) 2014-07-22 07:39:31 +02:00
Juergen E. Fischer
7e815cad76 debian packaging update with workaround for debian #755491 2014-07-21 14:31:21 +02:00
Martin Dobias
73358c3a7e [layertree] Add python bindings - part one (core) 2014-06-03 19:27:28 +07:00
Juergen E. Fischer
59a8cb4d28 add library dependencies to python bindings 2014-05-22 15:05:51 +02:00
Martin Dobias
c9f9ea8985 Added layerTreeView() to QgisInterface, moved context menu provider to new file 2014-05-21 14:49:32 +07:00
Larry Shaffer
3213d014f3 Refactor plugin staging to build dir and python script compiling 2014-05-20 21:28:42 -06:00
Nathan Woodrow
938f288b86 Fix copy of extra python files 2014-05-20 16:49:34 +10:00
Nathan Woodrow
0ff49856e6 Create Python package for core, gui, analysis, networkanalysis
Rename sip generated modules to _{name}
2014-05-19 22:26:02 +10:00
Denis Rouzaud
a5b77b9b0e Merge pull request #1325 from 3nids/qtdesignerplugin
QGIS custom widgets plugins for Qt Designer
2014-05-19 08:30:53 +02:00
Juergen E. Fischer
07919309c4 stage python extension only for staged plugins 2014-05-18 15:37:42 +02:00
Juergen E. Fischer
25885b8a0c move internal python extensions to common directory and fix metasearch install 2014-05-17 19:27:23 +02:00
Denis Rouzaud
38c694d9ad use specific PyQt4/uic widget-plugins module for python compilation of widgets 2014-05-12 16:28:43 +02:00
Denis Rouzaud
ee522ec500 redirect custom widget includes to qgis.gui 2014-05-12 16:28:42 +02:00
Bas Couwenberg
3d44c5934a Disable features on ARM.
Building QGIS on ARM produces the error:

sip: qgis/python/core/qgsclipper.sip:44: \
QgsClipper::trimFeature() unsupported function argument type - provide %MethodCode and a C++ signature

For the Android builds this was fixed in commit 2cc684793ceb29d8600d71564fb38f92c998f588.

This patch adapts the Android fix, by disabling the SIP features on all ARM systems.

Bug-Debian: http://bugs.debian.org/737814
2014-03-28 10:41:22 +01:00
Marco Hugentobler
561f01c0c2 [FEATURE]: merge dxf_export branch 2013-12-06 17:46:47 +01:00
Marco Hugentobler
642b0d5ee3 Add copy constructor and assignment operator for QgsDxfExport 2013-12-05 16:47:48 +01:00
Matthias Kuhn
770e52b0e5 Modularize editor widgets 2013-09-26 16:06:29 +02:00
Juergen Fischer
d27ad33cc3 fix gui bindings with SIP 4.15 2013-09-24 21:58:12 +02:00
Marco Bernasocchi
17f565a857 sip generation issue fix #7752 for android 2013-09-09 17:15:37 -06:00
Larry Shaffer
6e197484ed [pyqgis-console] Fix build error. Revert adding of qsci-pap-master target
- Leave only qsci-pap-src target for updating default pyqgis.pap in source tree
- Mark WITH_QSCIAPI as advanced in CMake, since it mostly a dev function
2013-08-31 14:05:08 -06:00
Larry Shaffer
89b2020744 [pyqgis-console] Fix pyqgis.pap building targets/script for auto-completion in console
- Add fixed default pyqgis.pap
2013-08-31 06:00:36 -06:00
Larry Shaffer
dc4628599e [pyqgis-console] Add targets and python script for generating console's QScintilla .pap file, for auto-completion
- Run 'make;make qsci-pap-src; make install' to update the default .pap file in source tree
- Run 'make;make qsci-pap-master[; make install]' for local-only .pap that overrides the default .pap (when testing new bindings)
- Update console to override default .pap if master.pap is available
- Include new qgis.core.NULL attribute defined in <src>/python/__init__.py for QPyNullVariant comparisons
- Update 11-month-old default .pap
2013-08-30 13:12:38 -06:00
Larry Shaffer
bfc92f7802 Revert target hyphen change (update ADD_SIP_PYTHON_MODULE macro first) 2013-06-06 11:27:33 -06:00
Larry Shaffer
e6706f4938 Add ability to run plugin installer from build directory
- Update targets to new coding standard of using hyphens
- Add console and plugin installer to WITH_PY_COMPILE target
2013-06-05 21:32:09 +10:00
Borys Jurgiel
55fd57ee25 New Plugin Manager 2013-06-05 21:32:08 +10:00
Martin Dobias
ba49ef078c [API] Removed QgsSymbol, QgsMarkerCatalgoue and QgsSymbologyUtils 2013-04-07 23:46:57 +02:00
Salvatore Larosa
77d48a05b4 fix output directory for pyqgis console on installing 2012-12-20 01:43:01 +01:00