27 Commits

Author SHA1 Message Date
Nyall Dawson
75a5d5dda1 Remove unused skipAttributeCreation option in QgsVectorLayerExporter::exportLayer 2017-05-12 08:03:23 +10:00
Nyall Dawson
384369c3c4 Rename QgsVectorLayerImport to QgsVectorLayerExporter
Since the majority of users of this class will be exporting
an existing map layer to a data provider, the QgsVectorLayerImport
name is misleading and suggests that this class is designed
just to bring layers "into" QGIS.

Explicitly naming the class "Exporter" should help API users
discover this class.

Also cleanup API and improve docs
2017-05-12 08:02:51 +10:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Juergen E. Fischer
a61b9222de Qt 5.2 has QComboBox::currentData 2017-01-25 03:28:53 +01:00
nirvn
20d006e101 [db manager] fix spatialite error reporting 2016-10-07 12:07:55 +07:00
nirvn
dab18e7675 [db manager] fix non-spatial import 2016-10-07 11:53:30 +07:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Nyall Dawson
eba6101357 Fix broken python save/open dialogs under PyQt5
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Salvatore Larosa
3b998d21ed [dbmanager] fix some import statement 2016-06-10 22:18:52 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
c55f8b73f0 db_manager: cleanups 2016-03-21 17:00:24 +01:00
Juergen E. Fischer
8bda5c00a5 db_manager: migrate to new style signals 2016-03-15 23:46:54 +01:00
Alexander Bruy
e20cfc043c [DBmanager] add extension to file when exporting (fix #13733) 2016-01-15 17:41:48 +02:00
Juergen E. Fischer
56b5d4e723 indentation update 2015-09-26 19:53:10 +02:00
Giuseppe Sucameli
99211262f3 [DBManager] allow to export table data to supported ogr file formats other than shapefile (fix #12111) 2015-09-21 22:18:39 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +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
Juergen E. Fischer
748e7cf42f Remove unsupported append import/export option from db_manager (refs #10569) 2014-10-26 15:48:35 +01:00
Salvatore Larosa
65f9ec7201 [dbmanager] avoid double extension when exports to file a table 2013-08-02 17:37:36 +02: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
b6c999e776 fix #6848 2012-12-10 01:32:31 +01:00
Giuseppe Sucameli
3da32c00d5 do not translate geometry types, change dbmanager translation context names (fix #6837) 2012-12-10 01:32:31 +01:00
Juergen E. Fischer
56bba0609e remove trailing whitespace 2012-12-05 22:14:16 +01:00
Giuseppe Sucameli
de3ea74ab6 dbmanager: allow to import layer from canvas (fix #6824),
add dialog to choose vector file to be imported (fix #6825),
allow to export table to vector file (fix #6826)

Thanks to Silvio Grosso for the sponsorship!
2012-12-05 03:51:02 +01:00