57 Commits

Author SHA1 Message Date
Juergen E. Fischer
ef6ce4ec3f db manager: also add newline when adding a unique id field (fixes #19343)
(cherry picked from commit 870d078479352d61edd902ab9d2ca48e98db9148)
2018-07-05 17:45:18 +02:00
nirvn
7e8ec00c9b [dbmanager] vectorize icons to fix toolbar in hidpi context 2018-07-02 12:51:44 +07:00
nirvn
86547eb5fc [dbmanager] add connection icon
this harmonizes display with that of the browser panel
2018-06-30 15:43:31 +07:00
Blottiere Paul
bf7df6d2e3 Add a cancel button for Postgis and Spatialite 2018-03-02 09:43:26 +00:00
Nyall Dawson
ea40f1e82a More capitalization homogenization 2018-02-13 19:49:15 +11:00
Nyall Dawson
6b4e734d95 [dbmanager] Fix inconsistent capitalization, HIG violations,
and unprofessional strings
2018-02-13 19:49:15 +11:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Matthias Kuhn
7aae9454ec Add abstract base method 2017-10-17 00:28:58 +02:00
Matthias Kuhn
b94612dffa Properly raise NotImplementedError 2017-10-17 00:01:48 +02:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
ecc5bb508e pep8/pyflakes3 cleanups 2017-03-04 02:38:15 +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
DelazJ
828e447991 More spelling fixes
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
2016-12-29 01:53:55 +01:00
rldhont
a9795ad8ea [DB Manager] Allow lowercase field names for homogenize PostGIS Import
PostGIS provider has an option to lowercase field names. This options is available for user in QGIS algorithm ImportIntoPostGIS and not in DB Mananger.

This commit fix it.
2016-10-19 13:03:32 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10:00
Salvatore Larosa
87277999a4 [dbmanager] Fix emit signal when refresh fields in table 2016-06-11 16:58:11 +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
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
0ab3653831 [DbManager] Fix the 'MoveToSchema' functionality (fixes #14219) 2016-02-13 01:01:05 +01:00
Sebastian Dietrich
93ab890033 make DbManager aware of the new authentication system 2016-01-13 20:12:03 +01:00
Sebastian Dietrich
f6e3161317 Added a button to set a filter for a query layer. 2015-11-29 13:19:55 +01:00
Juergen E. Fischer
bf64f8d0a0 spelling fixes and indentation update 2015-10-22 21:56:54 +02:00
Giuseppe Sucameli
339fd75655 DBManager: merge PR2342 by medspx (fix #13650) 2015-10-22 21:28:02 +02:00
Giuseppe Sucameli
9419a44537 DBManager: revert commit 87675f8ab
Maybe I was drunk...
2015-10-22 21:17:56 +02:00
Giuseppe Sucameli
87657f8ab4 DBManager: fix #13650 2015-10-22 19:27:33 +02:00
Giuseppe Sucameli
401f43c590 DBManager: fix data conversion to unicode (errors='replace' should be enough) 2015-10-01 00:29:38 +02:00
Giuseppe Sucameli
0c480a93c6 DBManager: fix unicode error display table data (fix #13447) 2015-09-30 00:12:11 +02: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
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
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