Nyall Dawson
17d6da9adb
[FEATURE][composer] Holding shift while drawing new lines constrains lines to horizontal/vertical/diagonals, while drawing rectangles constrains items to squares. Holding control switches to a draw-from-center mode. Sponsored by City of Uster, Switzerland.
2014-07-23 21:36:58 +10:00
Nyall Dawson
f76c257f89
[composer] More cleanups - move font utils from QgsComposerItem to QgsComposerUtils, add tests
2014-07-19 22:01:58 +10:00
Nyall Dawson
19708be155
[FEATURE][composer] Allow evaluation of QGIS expressions inside html item source. Expressions are evaluated before HTML is rendered, allowing the expression results to modify how the HTML content is rendered. Sponsored by City of Uster, Switzerland.
2014-07-16 22:50:40 +10:00
Nyall Dawson
256999d56f
[FEATURE][composer] Option for manual entry of HTML item source. Sponsored by City of Uster, Switzerland.
2014-07-16 22:50:40 +10:00
Nyall Dawson
e2d57d9b65
[composer] Clean up code, move some methods to QgsComposerUtils, const correctness, tests, doc improvements
2014-07-16 22:47:18 +10:00
Nyall Dawson
0837945247
[composer] Fix calculation of rotated image size inside picture items when rotation is 90 or 270 degrees.
2014-07-15 23:21:49 +10:00
Nyall Dawson
6f3cea12f0
Follow up 2041fc24
2014-07-15 00:25:33 +10:00
Nyall Dawson
2041fc2480
[composer] Refactor QgsComposerItem:
...
- New class QgsComposerObject, which both QgsComposerItem and QgsComposerMultiFrame
derive from. This class contains the framework for data defined composition properties.
- New class QgsComposerUtils, containing helpful static functions previously in QgsComposerItem
- Test suites for data defined settings in QgsComposerObject and functions in QgsComposerUtils
2014-07-14 23:51:10 +10:00
Juergen E. Fischer
647504306c
indentation update
2014-07-13 17:16:24 +02:00
Nyall Dawson
8650597b7f
[FEATURE][composer] Add marker style for map grids ( fix #9381 )
2014-07-13 21:54:37 +10:00
Nyall Dawson
1e39db6a0f
[FEATURE] New expression functions for $currentfeature (returns current feature) and 'attribute' (returns value stored in specified field within a feature)
2014-07-10 14:10:44 +10:00
Nyall Dawson
0df2b011fc
Begin test suite for data defined composer settings
2014-07-08 23:17:58 +10:00
Nyall Dawson
03efcac527
[composer] Default to no backgrounds for new labels, pictures, scalebars, and arrows. Fix some items not drawing using antialiasing if background disabled.
2014-06-30 21:52:40 +10:00
Nyall Dawson
09645e4ecc
[FEATURE][composer] Allow setting secondary color for scalebars, allow alpha channels in scalebar colors
2014-06-28 08:46:44 +10:00
Juergen E. Fischer
e358a87beb
add some more geometry tests (followup c686c4fed)
2014-06-25 14:31:38 +02:00
Juergen E. Fischer
c686c4fed8
geometry: allow removing parts and rings or geometries by removing all vertices
...
(fixes #10684 )
2014-06-25 12:39:50 +02:00
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
Martin Dobias
436b05e0cc
Move QgsRendererJob subclasses to new files (no code changes)
2014-06-22 21:58:39 +07:00
Matthias Kuhn
73a5dd5a34
Followup edbfb57, respect ownership of vl cacheindex in test
2014-06-19 22:52:07 +02:00
Nyall Dawson
6d6eede498
Follow up 7af7b88c99
2014-06-19 07:18:38 +10:00
Nyall Dawson
7af7b88c99
[composer] Correct placement of cross grids ( fix #10626 )
2014-06-19 05:44:05 +10:00
Nyall Dawson
7cb2315e29
Fix some failing tests (diagrams control images needed rebuilding following MTR composer changes, added tolerance to renderers test)
2014-06-18 21:48:20 +10:00
Nyall Dawson
5dc75d424e
Fix some failing tests
2014-06-18 16:18:25 +10:00
Larry Shaffer
e257227050
Fix local test server response parsing and add debug output for url
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
Larry Shaffer
34aeed7450
Add convenience functions to Python test utilities for rendering with map settings
...
- Update labeling unit tests to use new functions
- All labeling test classes render separately from QgsRenderChecker
- Update labeling server test class to sync map settings to temp project
2014-06-13 10:20:55 -06:00
Juergen E. Fischer
3682384675
indentation update
2014-06-13 09:03:15 +02:00
Martin Dobias
ec310a0e94
Allow some mismatched pixels in inverted renderer test
...
On my machine, there were ~200-800 mismatched pixels in each test image,
but visually they look the same.
2014-06-10 12:06:22 +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
882912f748
Fix #10365 (incorrectly escaped strings from QgsExpression)
2014-06-09 14:31:42 +07:00
Martin Dobias
48b099c8b6
Fix #10212 (fail to handle relative paths to gzipped files)
2014-06-09 12:46:50 +07:00
Hugo Mercier
9d49422878
Inverted polygon renderer: add test for projected and merged
2014-05-27 09:03:18 +02:00
Hugo Mercier
315b28c21c
Inverted polygon renderer: fix rendering when projection is enabled
2014-05-26 18:43:34 +02:00
Hugo Mercier
80ae9ef28b
Inverted polygon renderer: add an option to preprocess polygons using an union
2014-05-26 17:15:22 +02:00
Nyall Dawson
9329980085
[composer] Fix multiple refresh of items
2014-05-25 13:09:04 +10:00
Martin Dobias
0775a89ed5
Merge pull request #1380 from Oslandia/mask_renderer
...
[FEATURE] Inverted polygons renderer
2014-05-24 11:26:41 +07:00
Juergen E. Fischer
43dfb9c484
indentation update
2014-05-24 03:55:54 +02:00
Hugo Mercier
79061547d4
Add unit tests for the inverted polygon renderer
2014-05-23 19:57:21 +02:00
Hugo Mercier
084fa8992b
[FEATURE][composer] Add a 'predefined scales' mode to atlas maps, which sets an atlas maps' extent to the largest predefined scale which fits the atlas feature. Scales are taken from the project's predefined scales, or the global predefined scales.
2014-05-23 11:17:05 +10:00
Nyall Dawson
f31e637ed1
[FEATURE] Add right click menu to color buttons, allowing copying and pasting colors. Pasting colors accepts clipboard text in a variety of common formats, including hex and css style rgb and rgba strings.
2014-05-20 21:35:21 +10:00
Nyall Dawson
2ce741678f
Add expression functions for bounding box (bounds), bounding box width & height (bounds_width/bounds_height), and min/max x/y coordinates (xmin/xmax/ymin/ymax)
2014-05-18 21:53:00 +10:00
Juergen E. Fischer
7c75ffa3b0
spelling fixes
2014-05-17 22:02:03 +02:00
Juergen E. Fischer
6a6cc194d9
fix warnings
2014-05-15 22:26:01 +02:00
Juergen E. Fischer
57c7b8ac50
indentation update
2014-05-15 22:26:01 +02:00
D'Hont René-Luc
07c57585c1
[RASTER][Feature] Applying scale and offset to raster data - funded
...
Ifremer
An issue has been opened 5 mounth ago
[BUG] #8417 incorrect value loaded from netcdf file
The data has not be loaded incorrectly, but QGIS doesn't apply scale
and offset defined for each band.
This commit will apply scale and offset to GDAL Provider BandStatistics
and to RASTER block of data.
It also adds bandScale and bandOffset method to QgsRasterDataProvider Python API.
2014-05-15 16:55:30 +02:00
Nyall Dawson
dc905accac
[FEATURE][composer] Rework attribute tables to make tables more flexible.
...
- Add support for reordering columns in a table (fix #5942 )
- Add support for expression based columns
- Add support for setting column alignment (fix #2957 )
- Add support for setting column header alignment
- Make sorting in tables correctly handle nulls, dates, times, locale aware string sorting
This work also paves the way for future expansion of attribute tables to allow for setting column widths, column colors, etc.
2014-05-15 12:06:32 +10:00
Nyall Dawson
fa0f0bd176
[FEATURE][composer] Add option for controlling placement of rendered images inside a picture item (eg, top left, bottom right, etc)
2014-05-15 11:58:54 +10:00
Nyall Dawson
1af7581bf0
Add tests for composer html multi frames using smart breaks
2014-05-06 21:12:09 +10:00
Nyall Dawson
68de42724d
Fix failing composer html tests
2014-05-06 20:53:15 +10:00
Nyall Dawson
6cf3003e67
Fix some failing tests
2014-05-06 20:44:42 +10:00