Matthias Kuhn
3ce6fcd31d
Even more endless hourglass avoidance
2017-07-30 22:36:51 +02: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
Even Rouault
984ec65fcd
[DBManager GPKG] Set appropriate icon for line layers
2016-10-27 15:59:57 +02:00
Even Rouault
3f2866c47a
[FEATURE] [DBManager] Add a GeoPackage dedicated plugin
2016-10-18 20:08:27 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Matthias Kuhn
bb79d13e82
Remove deprecated Qgis::WKBType and API cleanup ( #3325 )
...
* Remove deprecated Qgis::WKBType and API cleanup
Renames QgsWKBTypes to QgsWkbTypes
Replaces usage of the enums:
* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType
Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)
Renames some SSLxxx to SslXxx and URIxxx to UriXxx
* Fix build warnings and simplify type handling
* Add a fixer to rewrite imports
* The forgotten rebase conflictThe forgotten rebase conflicts
* QgsDataSourcURI > QgsDataSourceUri
* QgsWKBTypes > QgsWkbTypes
* Qgis.WKBGeom > QgsWkbTypes.Geom
* Further python fixes
* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions
* Fix tests
* Python 3 updates
* [travis] pull request caching cannot be disabled
so at least use it in r/w mode
* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Juergen E. Fischer
1f0fce7852
db manager: fix drag and drop import ( fixes #13712 )
2016-06-22 12:35:17 +02:00
Salvatore Larosa
3b998d21ed
[dbmanager] fix some import statement
2016-06-10 22:18:52 +02:00
Salvatore Larosa
c578f3a635
[dbmanager] Fix some pyqtslot
2016-06-10 18:01:02 +02:00
Salvatore Larosa
b9d1544c64
[dbmanager] Fixes #14740 - Previews do not work and python error for PG layers
2016-06-10 17:22:19 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
elpaso
1e6dceb7d2
[dbmanager] Fixes various signal bugs after 8bda5c
...
Fixes some unreported glitches after new signals migration.
Also fixes #14649
2016-04-14 09:02:04 +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
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Sebastian Dietrich
990261331d
[DbManager] give materialized views their own icon
2016-01-27 00:28:22 +01:00
Juergen E. Fischer
53c84915e9
indentation update
2015-09-06 01:24:09 +02:00
Giuseppe Sucameli
03916d549a
[DBManager] add SL/Geopackage connection by drag&drop (follow b11f67b4f5), improve GPKG support:
...
- recognize tables with geometry,
- load GPGK layers to canvas from context menu,
- disable table editing
2015-09-03 01:22:54 +02:00
Giuseppe Sucameli
71afc9adc7
[DBManager] do not add new connection per drag&drop (partially revert 8b2bbcd)
2015-09-03 01:20:19 +02:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00
Cedric Christen
4420b3bf99
Drag&Drop support for GeoPackage layers
2015-06-26 16:35:31 +02:00
Juergen E. Fischer
102f6d3100
db manager: fix BaseError handing ( fixes #12645 )
2015-04-26 13:37:15 +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
0a875d3e81
db manager: show error message in bar when adding a layer fails ( fixes #8148 )
2014-10-29 01:13:11 +01:00
Salvatore Larosa
cb414f5d2c
[dbmanager] again replacement box->bar stuff....hopefully the last :-)
2014-09-26 07:18:19 +10:00
Juergen E. Fischer
40fff7caa1
followup b9b8a039: wthh?
2013-08-20 18:56:03 +02:00
Juergen E. Fischer
b9b8a03905
fix #8488 : use QgsMimeDataUtils to decode uris when dropping into db_manager
2013-08-20 17:33:23 +02:00
Juergen E. Fischer
8284300090
db manager: fix #8146
2013-07-11 01:04:54 +02:00
Juergen E. Fischer
50b96d731e
QGis => QGIS updates
2013-06-09 20:37:53 +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
Juergen E. Fischer
9721736fd8
remove trailing blanks
2012-12-10 00:12:07 +01:00
Giuseppe Sucameli
3c5b3bbea1
[FEATURE] add DB Manager plugin
2012-04-16 13:31:13 +02:00