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
pcav
3b39dcf401
Changed in in DB Manager
2018-01-29 10:18:52 +01:00
Nyall Dawson
d704163884
Rename QgsRectangle::buffer to buffered and mark as const
2017-09-25 17:20:36 +10:00
Harrissou Sant-anna
6fd3c1090a
Fix wording
...
Fully write the label because there's enough space + alignment
2017-08-22 07:53:44 +02:00
Juergen E. Fischer
3f7f95ee26
db_manager versioning: add RETURNING to INSERT rule ( fixes #16083 )
2017-05-16 10:34:59 +02:00
arnaud.morvan@camptocamp.com
44731f2314
[db_manager] Fix postgis plugins loading
...
Fix infinite recursion on load calls
2017-04-28 18:47:43 +02:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Nyall Dawson
92f03273f5
Correctly use QgsMapCanvas::freeze instead of setRenderFlag
2017-03-01 07:29:35 +10:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Martin Dobias
d716640403
Remove usage of legendInterface() from plugins (followup e5f62e49)
2016-11-22 12:23:37 +08:00
Nyall Dawson
3cc9b5d962
Indentation
2016-10-22 09:03:24 +10:00
Sandro Santilli
0348dd5ce7
Force use of estimated metadata upon loading topologies
2016-10-05 12:17:57 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Sandro Santilli
91052d5496
Use nullSymbol for label-only layers in topology viewer
2016-09-16 13:41:23 +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
Nyall Dawson
1a2231f10c
Rename QGis class to Qgis, for capitalisation consistency
2016-07-21 22:01:38 +10: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
Sandro Santilli
976015a38d
Fix typmod aware query for topology face layers
...
followup d8a768f0a0b1926ead3b42c0fa9e12d35f8905f0 (which was bogus)
2016-02-23 07:38:53 +01:00
Sandro Santilli
d8a768f0a0
Make geometry typmod available for topology face layer queries
...
Greatly improves performances on topology loading.
See http://hub.qgis.org/issues/14356
2016-02-22 23:13:39 +01:00
Sebastian Dietrich
93ab890033
make DbManager aware of the new authentication system
2016-01-13 20:12:03 +01:00
Matthias Kuhn
0b6dd352c9
[py3] CMake updates to support Python3 and PyQt5
2015-11-16 07:42:47 +01: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
Sandro Santilli
b9b6257eb7
DBManager TopoViewer: zoom on topology if first load
...
Fixes #13064
2015-07-02 23:57:54 +02:00
Sandro Santilli
fcc51bcd8c
DBManager topoviewer: don't be fooled by srid=-1 in topology.topology
...
Fixes #12802
2015-07-02 11:02:04 +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
Sandro Santilli
93864ce55c
Remove workaround for layergroup bug #6938 , now fixed
2014-10-21 12:42:42 +02:00
Sandro Santilli
1ff2ad3cc3
[TopoViewer] fix layer visibility after QgsLegendInterface API changes
...
It was broken with 2.4, whereas QgsLegendInterface::moveLayer started
forcing layer visibility on (undocumented behaviour).
Fixes #11382
2014-10-14 23:43:40 +02:00
Salvatore Larosa
a778e265a7
[dbmanager] followp 1646f67: fixes some string and changes more messageboxes
2014-09-26 07:18:19 +10:00
Juergen E. Fischer
5cd53dd28e
dbmanager versioning: use lower case 'sql' language ( fixes #9434 )
2014-02-18 17:45:20 +01:00
Sandro Santilli
0d4968c80a
Fix type of "face_seed" layer in TopoViewer
2014-02-09 21:42:12 +01:00
Juergen E. Fischer
780443e200
indentation update
2014-02-09 11:26:56 +01: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
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
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
Juergen E. Fischer
f0c605e0fa
dbmanager: add i18n
2013-06-09 18:51:47 +02:00
Sandro Santilli
a9ff3cfccd
Quality topology layer names
...
... so you can recognize them in the snapping option dialog
2013-01-08 16:18:41 +01:00
Sandro Santilli
103942391d
Mark topology group visibility off
...
This is really a workaround to http://hub.qgis.org/issues/6938
2013-01-02 14:32:55 +01:00
Sandro Santilli
2b80d638b1
Reorganize topoviewer layers into subgroups
2013-01-01 14:08:25 +01:00
Alexander Bruy
e742d5e63e
fix python plugins after API cleanup
2012-12-24 11:48:08 +02:00
Sandro Santilli
c87f9c574c
Add QgsAppLegendInterface::setLayerExpanded method
...
.. and use it from the db_manager plugin
2012-12-17 21:53:25 +01:00
Sandro Santilli
051fe31e22
TopoViewer: make topology group start as collapsed
2012-12-14 20:15:27 +01:00