1055 Commits

Author SHA1 Message Date
Nyall Dawson
01b3d9662c [composer] Fix order of vertices returned by mapPolygon when map rotation is set, fix drawing overview frame when either map is rotated (fix #10644) 2014-06-23 19:14:39 +10:00
Juergen E. Fischer
0d360d450a fix interactive network authentication 2014-06-22 17:56:39 +02:00
Martin Dobias
436b05e0cc Move QgsRendererJob subclasses to new files (no code changes) 2014-06-22 21:58:39 +07:00
Martin Dobias
d2bc8fb40a Small API cleanup in QgsMapSettings 2014-06-22 00:58:54 +07:00
Martin Dobias
37fd5b7ca5 More doxygen docs for QgsMapSettings 2014-06-22 00:58:54 +07:00
Martin Dobias
12628c5fd1 Add doxymentation for QgsMapSettings 2014-06-22 00:58:54 +07:00
Nyall Dawson
20e34e8e1c [composer] Fix attribute table column sort order could not be changed after initially adding columns to sort 2014-06-21 21:33:19 +10:00
Martin Dobias
2a4684a28d Fix #10655 (race condition in QgsCredentials)
Example of race condition during rendering:
Threads 1 and 2 call get(), it checks that there are cached credentials.
Thread 1 takes the cached credentials, thread 2 will get no data -> will request credentials in dialog
2014-06-20 17:20:57 +07:00
Martin Dobias
7aa93c00f7 Hopefully fix #10599 (blank composer map when rendering rasters)
When printing on Windows, the printing does not seem to work
well in the worker thread as QImages get converted to QPixmaps.
Therefore we force the map rendering into main thread to avoid the issues.

I do not have a printer, so I can't confirm the fix really helps
2014-06-20 10:50:51 +07:00
Martin Dobias
ed1d08d435 Fix #10605 (round corners when using simple line with offset) 2014-06-17 16:46:58 +07:00
Martin Dobias
378de25d3d [layertree] QgsLayerTreeGroup doxymentation 2014-06-17 14:57:31 +07:00
Martin Dobias
b134c254f3 [layertree] Update layer tree view when a tree node changes the expanded state 2014-06-17 14:57:31 +07:00
Martin Dobias
9d8a84247d Merge pull request #1451 from ahuarte47/Issue_OffsetCurve_API
Replace GEOS function calls by QgsGeometry class methods
2014-06-15 22:43:12 +07:00
Martin Dobias
9e3f921400 Map rendering: allow waiting for job while handling events 2014-06-15 22:22:53 +07:00
Juergen E. Fischer
03475be523 fix build error and update sips 2014-06-14 11:47:05 +02:00
Larry Shaffer
c1d80ed6a6 Initial fix for #3975, label engine vectorizing texts in SVG and PDF output
- Add labeling engine option to render text-as-text
- Default is still text-as-outlines (vectorized), due to differences between text (as text) and buffer (as outline) methods
- Good output with printing to PDF (searchable, selectable text and embedded fonts)
- OK output with SVG, but differences between text (as text) and buffer (as outline) methods

Does not yet include unit tests or auto-setting of text-as-text for SVG output
2014-06-13 10:20:55 -06:00
Larry Shaffer
72c33799d3 Add ability to define QImage format for render jobs via map settings
- Defaults to QImage::Format_ARGB32_Premultiplied, as before
- Update labeling unit tests to use defined format
2014-06-13 10:20:55 -06:00
Juergen E. Fischer
b6d8331429 fix windows build 2014-06-13 16:41:00 +02:00
Alvaro Huarte
aaf4ca3821 Replace GEOS function calls by QgsGeometry class methods 2014-06-13 10:58:55 +02:00
Martin Dobias
03dfef8a29 Merge pull request #1439 from Oslandia/fix_inverted
Inverted polygons: bug fixes
2014-06-13 14:48:35 +07:00
edigonzales
b3cbefc998 fixes two symbology bugs 2014-06-12 15:48:55 +02:00
Martin Dobias
0f5d7438e3 Avoid second transform of extent (in QgsMapRender) on change of dest CRS 2014-06-11 19:19:43 +07:00
Martin Dobias
3af01b345c Fix #10524 (fix zoom to full) 2014-06-11 00:06:55 +07:00
Hugo Mercier
b2782ee7a1 Inverted polygons: use unary union 2014-06-10 14:39:02 +02:00
Martin Dobias
a19886d2f5 Fix #9951 (perimeter completely wrong with OTF on)
With OTF on and computation on an ellipsoid, the coordinates
were transformed twice(!) when measuring perimeter.
2014-06-10 16:23:02 +07:00
Martin Dobias
3fe12df507 Fix #10355 (crash) and #10338 (overlapping polygons) in inverted polygon renderer
Conflicts:
	python/core/symbology-ng/qgsinvertedpolygonrenderer.sip
	src/core/symbology-ng/qgsinvertedpolygonrenderer.cpp
	src/core/symbology-ng/qgsinvertedpolygonrenderer.h
	src/gui/symbology-ng/qgsinvertedpolygonrendererwidget.cpp
	src/gui/symbology-ng/qgsinvertedpolygonrendererwidget.h
2014-06-10 11:54:45 +07:00
Martin Dobias
25346fe98f Fixed indentation 2014-06-10 11:10:42 +07:00
Martin Dobias
bca35539b6 Fix #651 (zoom to layer with one point does not work) 2014-06-09 13:42:40 +07:00
Sandro Mani
456adad745 Consider also font descent and baseline in QgsComposerLabel::adjustSizeToText. Funded by Sourcepole QGIS Enterprise. 2014-06-07 18:17:37 +10:00
Nyall Dawson
912c950c67 Merge pull request #1423 from manisandro/python_addItemsFromXML
QgsComposition::addItemsFromXML for python (without optional arguments)
2014-06-07 17:38:24 +10:00
Martin Dobias
a04ebf9eb0 Reintroduce datum transforms (were disabled during transition to MTR) 2014-06-05 20:24:51 +07:00
Martin Dobias
da63ba4c41 [layertree] Fix python issues with addLayer() 2014-06-04 22:36:07 +07:00
Sandro Mani
b199dc7be1 QgsComposition::addItemsFromXML for python (without optional arguments). Funded by Sourcepole QGIS Enterprise. 2014-06-04 13:30:05 +02:00
Martin Dobias
fa3f21cdb6 Fix #10412 (option whether to show newly added layers) 2014-06-04 13:34:09 +07:00
Martin Dobias
73358c3a7e [layertree] Add python bindings - part one (core) 2014-06-03 19:27:28 +07:00
Juergen E. Fischer
45c0be1059 sip: remove enum constants 2014-06-02 21:52:02 +02:00
Nyall Dawson
aaa7003d54 [composer] Don't show vector selections in composer map items (fix #7610) 2014-06-02 16:42:30 +10:00
Nyall Dawson
166f8fc534 [composer] Small improvements to api docs 2014-06-01 13:10:32 +10:00
Sandro Mani
b7423cf24b [composer] Composer item controls in GUI show position relative to page origin (also save page number and relative position to xml) (fix #9411) 2014-06-01 13:10:32 +10:00
Martin Dobias
04dc5d8824 Merge remote-tracking branch 'alvaro/Simplification_MTR'
Conflicts:
	python/core/qgsmapsettings.sip
2014-05-30 12:25:17 +07:00
Larry Shaffer
fe42b0048f Merge pull request #1238 from ahuarte47/Issue_9480
Fix bug #9480: Labels for polygon centroids should always originate inside a polygon
2014-05-29 14:45:22 -06:00
Nyall Dawson
c38d3e12af [composer] Remove use of runtime_error for providing feedback from atlas 2014-05-29 22:49:58 +10:00
Juergen E. Fischer
850a1eeebd fix doxygen warning 2014-05-29 02:34:27 +02:00
Juergen E. Fischer
c1f50db1ac fix warnings 2014-05-29 01:43:04 +02:00
Juergen E. Fischer
a3628a6702 fix sip sync merge 2014-05-27 23:51:29 +02:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
ahuarte47
6cb4cbb1cc #9480: Add centroidInside to sip file 2014-05-27 13:39:31 +02:00
ahuarte47
59427e226b #9480: Add /Factory/ to pointOnSurface() method 2014-05-27 13:39:30 +02:00
ahuarte47
cbee3d35ff #9480: New 'pointOnSurface' method for QgsGeometry 2014-05-27 13:39:28 +02:00
Alvaro Huarte
83eec4ac46 Enable disabled simplification code after merge MTR (2-2)
Enable AntialiasingSimplification
2014-05-27 13:26:50 +02:00