17 Commits

Author SHA1 Message Date
Matthias Kuhn
e2ff8edc79 Make python NULL hashable 2015-05-22 19:53:03 +02:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01: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
Larry Shaffer
8b6d813aee Fix sip API reseting to version 1 (fixes PyQgs* tests currently failing due to reset) 2013-09-25 17:08:41 -06:00
Nathan Woodrow
c55c2ab82f Add __geo_interface__ to QgsFeature and QgsGeometry 2013-09-23 20:55:57 +10:00
Matthias Kuhn
4db6396938 Add != (not equal) support to python NULL value 2013-08-30 12:00:48 +02:00
Matthias Kuhn
dcd17fdf8f QPyNullVariant() equals to QPyNullVariant(), qgis.core.NULL
>>>> from qgis.core import NULL
>>>> lyr.getFeatures().next().attributes()[0] == NULL
True
2013-08-29 13:12:44 +02:00
Matthias Kuhn
cba57fa55a Monkey patch QPyNullVariant to be represented as 'NULL' 2013-08-28 13:15:08 +02:00
Nathan Woodrow
c612ef3fd3 Set sip api in __init__.py 2013-07-17 20:44:47 +10:00
Nathan Woodrow
21aecd532c Fix python indentation 2013-06-12 08:57:34 +10:00
Nathan Woodrow
0fd5fd137f Don't patch QPyNullVariant if it doesn't exist 2013-06-12 08:42:01 +10:00
Nathan Woodrow
8392c93d8e Monkey patch __nonzero__ onto QPyNullVariant for easier null check.
Who doesn't love monkeys :)
2013-06-11 22:15:21 +10:00
Juergen E. Fischer
048a07a572 another copyright update 2012-10-08 00:29:13 +02:00
Juergen E. Fischer
7b4a9b68a3 add copyright notices 2012-10-04 19:36:43 +02:00
jef
1541ff5225 update permissions
git-svn-id: http://svn.osgeo.org/qgis/trunk@13463 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-10 18:52:30 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00