98 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
dcef083826 apply revised #6613 2012-11-03 21:51:21 +01:00
Salvatore Larosa
6abe8611f4 Moved all the console files into own directory 2012-11-01 11:26:52 +01:00
Larry Shaffer
fd7c3a24bd Fix output/python/qgis dir for Win32 builds that add dir/CMAKE_CFG_INTDIR 2012-10-31 06:27:59 -06:00
Salvatore Larosa
f15b4e12c7 [FEATURE] - Split-pane entry and output for PyQGIS console 2012-10-26 14:07:47 +02:00
Larry Shaffer
1fdaa04557 Add cmake option WITH_PY_COMPILE (OFF by default)
- Byte-compiles staged and intalled plugins/modules
2012-10-26 04:04:12 -06:00
Larry Shaffer
1a092f92ca Additional fix for # 5879, handle .ui files for python utilities
- Built off of pull request 299 by Salvatore Larosa
2012-10-25 00:59:31 -06:00
Salvatore Larosa
3fecd44ae5 Merge branch master of https://github.com/qgis/Quantum-GIS 2012-10-20 01:44:52 +02:00
Sandro Santilli
8ca2236134 Add a PLUGIN_INSTALL cmake macro and use it from db_manager plugin
One step forward toward closing http://hub.qgis.org/issues/5879
Next all pugins should be converted to use of the macro...
2012-10-20 01:17:37 +02:00
Salvatore Larosa
ca20be178a [FEATURE] - Choose Fontfamily and API files for Python Console
- update Italian translation
- added Settings icon for toolbar
- update Italian translation fro console_help
2012-10-19 23:23:26 +02:00
Salvatore Larosa
a28157ce15 minor fixes and changes
- rename helpConsole to console_help
- add key event (del) to prevent removing of the prompt when selected
2012-10-07 10:59:50 +02:00
Salvatore Larosa
4513ada562 Fix 6459
- update Italian translate
- renamed help console to console_help.py
- renamed Deutsch properties file (help translation)
- added MouseEvent (midbutton) to Python Console
2012-10-05 22:21:56 +02:00
Juergen E. Fischer
1aa4c1eb63 debian packaging update - also moved python console files and icons 2012-10-05 18:30:19 +02:00
Juergen E. Fischer
eae523d33b partly revert 14cad93b 2012-10-05 15:01:51 +02:00
Larry Shaffer
064c0c054b PyQScintilla api files setup for local compiling of pap file
- Update and concatenate sip-built api files into PyQGIS.api
- Move python/qgis/api to python/qsci_apis for future api selection and compiling module
- Add base version api files for python components
2012-10-04 15:06:25 -06:00
Juergen E. Fischer
14cad93bae setup sip dependencies 2012-10-04 13:15:42 +02:00
Juergen E. Fischer
4b263d6b06 and more sip fixes 2012-09-30 18:18:40 +02:00
Juergen E. Fischer
45ebedf430 sip fixes: networkanalysis is a separate module 2012-09-27 11:18:52 +02:00
Juergen E. Fischer
74fd0e48ae more sip fixes:
- also move enum StyleEntity in QgsStyleV2
- fix some warnings
2012-09-24 18:43:20 +02:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Juergen E. Fischer
3941112e60 also copy console_sci to build directory 2012-09-11 18:49:58 +02:00
Tim Sutton
b817c6161d Fix python console api installation 2012-09-11 14:35:29 +02:00