74 Commits

Author SHA1 Message Date
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
Juergen E. Fischer
5b86e38676 db_manager: only try isgpkg on spatialite plugin and sqlite version parsing 2015-07-11 23:24:13 +02:00
Cedric Christen
4420b3bf99 Drag&Drop support for GeoPackage layers 2015-06-26 16:35:31 +02:00
Hugo Mercier
4876e7a2be [DBManager] Integrate QSpatialite's query builder 2015-05-04 17:19:09 +02:00
Hugo Mercier
d684c8c749 [DBManager] Allow to load a layer without primary key 2015-05-04 17:19:03 +02:00
Juergen E. Fischer
12d7cfca03 indentation update 2015-04-07 14:27:39 +02:00
Nathan Woodrow
297a94fc58 Fix formatting of db manager python code 2015-03-21 20:35:29 +10: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
Salvatore Larosa
a778e265a7 [dbmanager] followp 1646f67: fixes some string and changes more messageboxes 2014-09-26 07:18:19 +10:00
Salvatore Larosa
5fc78bfe59 [dbmanager] messagebox => messagebar 2014-09-26 07:18:19 +10:00
Juergen E. Fischer
1949fd7585 dbmanager: fix adding views to canvas (fixes #10688) 2014-06-24 18:26:44 +02:00
Juergen E. Fischer
85ce67624c db_mananger: fix loading geometryless tables (fixes #10566) 2014-06-12 17:32:56 +02:00
Sandro Santilli
02409e9901 Pass extent of loaded views to the provider via URI
Completes the speed up loading of view layers in TopoViewer.
Finally and definitely fixes #9510.

NOTE: the commit also adds a layer for face's MBR, which serves
the purpose (among others) to allow for easy computing extent.
2014-02-08 19:25:04 +01:00
Sandro Santilli
56bebb193b Pass wkbType and SRID of loaded views to the provider via URI
Slighly speeds up loading of view layers in TopoViewer (#9510).
Unfortunately there's no way to also pass in the Extent, so loading
is still slow.
2014-02-08 17:05:47 +01:00
C. Daniel Sanchez R
7050265f38 Patch for issue 8920. 2013-12-27 15:00:20 -05:00
Juergen E. Fischer
f0c605e0fa dbmanager: add i18n 2013-06-09 18:51:47 +02:00
Giuseppe Sucameli
80b5a07e55 DBManager: updated to new SIP API 2013-06-04 07:20:54 +02:00
Giuseppe Sucameli
5d8964a475 DBManager: replace the deprecated Exception.message attribute 2013-05-27 02:01:30 +02:00
Giuseppe Sucameli
f5aef0f549 DBManager: better handle for not supported constraint types (fix #7544) 2013-05-27 02:01:30 +02:00
Giuseppe Sucameli
0e1b71c82c fix #6847 2012-12-10 01:32:31 +01:00
Juergen E. Fischer
9721736fd8 remove trailing blanks 2012-12-10 00:12:07 +01:00
Juergen E. Fischer
dc8ac451da [FEATURE] allow adding of sql queries with SelectAtId=false
- sync sip bindings of QGis, QgsApplication, QgsDataSourceURI and QgsPoint with
  C++
2012-08-03 00:02:19 +02:00
Giuseppe Sucameli
53b57d1441 DBManager: use the first suitable field loading a view (fix #5676) 2012-06-09 23:53:38 +01:00
Giuseppe Sucameli
3c5b3bbea1 [FEATURE] add DB Manager plugin 2012-04-16 13:31:13 +02:00