515 Commits

Author SHA1 Message Date
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
Sandro Santilli
188b373bad Fix loading of face layers after breaking it with 73b49867
Fix #9510 again
2014-02-08 14:31:29 +01:00
Sandro Santilli
6dd0cbe542 Update TopoViewer style templates to 2.2.0 version
Fix #9512
2014-02-08 14:11:24 +01:00
Sandro Santilli
73b4986747 Speed up topology loading
When loading topology viewer on a PostGIS-2.0+ database, it includes
type and srid typmod in the view layers, avoiding a full scan of
the datasets.

Fix #9510
2014-02-08 12:26:19 +01:00
Juergen E. Fischer
5397dfe538 update qgis.org links 2014-02-07 21:02:11 +01:00
Denis Rouzaud
0ca7316371 DB Manager: remove text under icons 2014-01-15 13:54:35 +01:00
C. Daniel Sanchez R
7050265f38 Patch for issue 8920. 2013-12-27 15:00:20 -05:00
Juergen E. Fischer
a4c365c7cf dbmanager: include materialized views (implements #9127) 2013-12-03 22:21:59 +01:00
Giuseppe Sucameli
5f5cd4cca9 dbmanager: be sure to close db cursors (fix #7679) 2013-10-24 23:26:02 +02:00
Sandro Santilli
24e53f4bfb Replace AlArabiya font family with Sans, more likely to be found 2013-10-07 18:44:48 +02:00
Salvatore Larosa
770feee4f5 fix qml file for directed edge layer in topoviewer plugin 2013-09-22 22:43:54 +02:00
Salvatore Larosa
3ac0759b04 [dbmanager] Replace DropRasterTable func (deprecated) with DROP TABLE: fixes #8521 2013-09-01 12:55:10 +02:00
Salvatore Larosa
86d5ab24ef [dbmanager] small fix for import/export layer UI 2013-09-01 01:02:50 +02:00
Juergen E. Fischer
e8b954537e indentation update 2013-08-25 10:48:41 +02:00
Salvatore Larosa
fc2a4a14fa [dbmanager] skip RuntimeError: fixes #6892 2013-08-22 18:30:33 +02: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
Salvatore Larosa
1a18fba2f8 [dbmanager] set columns tab as default in edit table widget (before was indexes tab) 2013-08-08 09:38:11 +02:00
Larry Shaffer
3df3463e77 [dbmanager] Add missing InvalidDataException import 2013-08-03 16:17:32 -06:00
Larry Shaffer
e1927522a4 [dbmanager] Fix settings default and Python type for connection with postgis plugin
- Saved connections with empty password raised a QPyNullVariant parameter error due to lack of str default
2013-08-03 16:17:32 -06:00
Larry Shaffer
a773be2837 [dbmanager] Fix non-clickable checkbox in Null column when creating table (on Mac)
- Switch from checkbox delegate to Qt::CheckStateRole for column
- Enable all triggers for table view
2013-08-03 16:17:32 -06:00
Salvatore Larosa
65f9ec7201 [dbmanager] avoid double extension when exports to file a table 2013-08-02 17:37:36 +02:00
Salvatore Larosa
efd84bd022 [dbmanager] set focus to SQL query TextEdit and change to ScrollToPixel the result query area 2013-07-31 23:11:33 +02:00
Salvatore Larosa
9cabd33c0c Fix #8366 2013-07-28 22:44:49 +02:00
Juergen E. Fischer
aa7c428775 QgsCredentials: fix sip bindings
dbmanager: QgsCredentials is in core (fixes #8345)
2013-07-22 18:06:29 +02:00
Juergen E. Fischer
b9ada4c2d4 dbmanager: fix spatialite connection error message 2013-07-16 12:18:30 +02:00
Juergen E. Fischer
558fe92eb1 dbmanager: adapt to sl4 metadata tables (fixes #8290) 2013-07-13 22:53:51 +02:00
Juergen E. Fischer
9e5e9484df dbmanager: fix setting html attributes (fixes #8271) 2013-07-11 20:32:40 +02:00
Juergen E. Fischer
8284300090 db manager: fix #8146 2013-07-11 01:04:54 +02:00
Juergen E. Fischer
3b6146fc9c dbmanager: fix column renaming 2013-07-10 15:21:20 +02:00
Juergen E. Fischer
49e5c8f89b use QFileDialog.getOpenFileNameAndFilter variant when setting last filter (fixes #8138) 2013-06-29 11:47:43 +02:00
Matthias Kuhn
8dc28f2be4 PostgreSQL not working in DB Manager (Fix #8191) 2013-06-28 17:34:12 +02:00
Giuseppe Sucameli
49970b0413 DBManager: more SIP API update (fix #8132) 2013-06-23 00:03:26 +02:00
Matthias Kuhn
0710de3e64 [dbmanager] Fix python error 2013-06-20 16:25:27 +02:00
Juergen E. Fischer
192e13013b replace foo.replace( QRegExp(regexp), bar) with re.sub(regexp,bar,foo) (fixes #8066) 2013-06-15 22:44:31 +02:00
Salvatore Larosa
abcc8b16ed Fixes #8065 2013-06-15 00:17:03 +02:00
Salvatore Larosa
8cd8969a14 [DB Manager] fix for PostGIS Raster Layer 2013-06-11 14:21:59 +02:00
Borys Jurgiel
112ad3c11a Update core plugins qgisMinimumVersion to 2.0 2013-06-10 02:46:38 +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
ae3abccfe3 DBManager: remove empty line from sql editor 2013-06-04 07:33:43 +02:00
Giuseppe Sucameli
80b5a07e55 DBManager: updated to new SIP API 2013-06-04 07:20:54 +02:00
Juergen E. Fischer
ebc8e6c508 indentation update 2013-05-27 08:50:11 +02:00
Giuseppe Sucameli
61285a9d96 do not destroy layers created outside the dialog (fix #7903) 2013-05-27 02:27:58 +02:00
Giuseppe Sucameli
cb1e47be2d DBManager: fix 'Update Option' button behaviour (fix #7606) 2013-05-27 02:01:30 +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
olivierdalang
6bd1b78b18 [FEATURE] allows to store SQL queries in the DB manager 2013-04-24 16:25:10 +00:00
Martin Dobias
32de07dc4d Remove the support for reading python plugin metadata from __init__.py
From now on, plugins must have metadata.txt file (with INI format)
that is used for storing of metadata. This has two advantages:
- plugins do not need to be loaded in order to read metadata
- repository can parse the metadata more easily
2013-03-19 00:10:51 +01:00