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
Nyall Dawson
3afee3c629
[composer] Add tests for expression based picture source (sponsored by City of Uster, Switzerland)
2014-04-28 20:19:01 +10:00
Nyall Dawson
963ae707f4
[composer] Add tests for picture resize modes (sponsored by City of Uster, Switzerland)
2014-04-28 20:19:00 +10:00
Nyall Dawson
53cda0a9c7
[composer] Move composer picture related tests into their own seperate test suite (sponsored by City of Uster, Switzerland)
2014-04-28 20:19:00 +10:00
Nyall Dawson
e48225ca35
[composer] Add more tests to attribute table test suite
2014-04-28 19:29:05 +10:00
Nyall Dawson
9f84e9fd98
[composer] Add test for text table cell values
2014-04-28 19:29:04 +10:00
Nyall Dawson
d070558bb2
[composer] Start test suite for composer tables.
2014-04-28 19:29:04 +10:00
Juergen E. Fischer
bc7a5517dd
cleanup: replace boolean comparison (x==true => x / x==false => x) (followup b40868c8)
2014-04-22 10:35:01 +02:00
Etienne Tourigny
2d737510d4
Merge pull request #1213 from etiennesky/histogram_bars
...
Histogram bars
2014-04-16 21:46:42 -03:00
Juergen E. Fischer
a7b5a8a574
indentation update
2014-04-06 12:41:09 +02:00
Denis Rouzaud
8b06a16a75
model/view for layer/field selectors
2014-04-03 14:51:26 +02:00
Nyall Dawson
0b32f2ac38
[tests] Fix composer tests. Rebuild images following MTR rendering changes. Switch tests to use standard test font.
2014-04-03 22:56:34 +11:00
Juergen E. Fischer
4619246f54
fix regression992 test
2014-03-31 23:07:12 +02:00
Juergen E. Fischer
0693fe93ee
fix some tests crashes, fix some tests and some mtr updates
2014-03-29 17:55:29 +01:00
Carl Simonson
8dff030787
Be explicit with Qt link libraries
...
For the analysis tests, instead of linking with all the found
QT_LIBRARIES, pick only the ones that are needed.
2014-03-27 18:43:49 -05:00
Martin Dobias
d0c93b94b2
Merge pull request #1244 from simonsonc/qt-no-deprecated
...
Fix uses of deprecated Qt methods
2014-03-26 15:37:59 +01:00
Larry Shaffer
20933dedd9
Add README.rst for labeling unit tests
2014-03-25 17:09:42 -06:00
Martin Dobias
af9da1deb4
Invalid CRS instances should be equal
2014-03-25 15:15:36 +01:00
Larry Shaffer
f29d44e759
Add PDF composer output labeling tests setup
...
- Only support for Poppler with Cairo (pdftocairo), since without Cairo a PDF's vectors are not always rendered properly
2014-03-24 20:40:19 -06:00
Larry Shaffer
db4401fe00
Rebuild labeling tests control images with smaller size (420 x 280)
2014-03-24 20:40:19 -06:00
Larry Shaffer
d4c257f2a9
Fix labeling local server test class setup error
2014-03-24 11:47:04 -06:00
Larry Shaffer
a6f25c5386
Add render checker color tolerance to labeling tests
2014-03-24 11:47:04 -06:00
Nyall Dawson
942d5da59b
Add option to ignore interior polygon rings when calculating buffered shading for shapeburst fill mode (can be useful for eg ignoring islands when shading water bodies)
2014-03-22 07:39:14 +11:00
Nyall Dawson
dd4975f285
Merge pull request #1255 from Oslandia/atlas_signals
...
Atlas signals
2014-03-21 13:23:59 +11:00
Nyall Dawson
13cbfd138c
[FEATURE] Add 'shapeburst' fill style. Shapeburst fills implement a buffered gradient fill, where a gradient is drawn from the boundary of a polygon towards the polygon's centre. Configurable parameters include distance from the boundary to shade, use of color ramps or simple two color gradients, optional blurring of the fill and offsets.
2014-03-21 12:50:50 +11:00
Hugo Mercier
7805bc0555
Add unit test for atlas signals
2014-03-18 17:08:18 +01:00
Carl Simonson
3e0e0edec7
Fix uses of deprecated Qt methods
...
There are still a few leftovers from the Qt 3 to Qt 4 migration that can
be found by defining QT_NO_DEPRECATED. Here is a summary of the changes:
* QDir::convertSeparators was changed to QDir::toNativeSeparators with Qt 4
* QRexExp::numCaptures was changed to captureCount with Qt 4
* QTextIStream/QTextOStream was merged into QTextStream with Qt 4
* QFileDialog::selectFilter/filters was changed to
selectNameFilter/nameFilters with Qt 4.4
* qVariantCanConvert/qVariantValue was changed to canConvert/value with Qt
4
Note that if a conversion to Qt 5 will happen someday, this will have to
be done since Qt 5 removes these deprecations.
2014-03-16 11:16:25 -05:00
Larry Shaffer
fa157b0deb
Add composer svg export label unit tests
...
- Fix composer composition setup to near identical output of canvas->image (finally, expect for symbology, which still seems to be double-antialiased)
- Rebuild control images for composer->image output
2014-03-14 12:25:36 -06:00
Juergen E. Fischer
b6b78ca7a4
expression: dump binary operations with brackets to break precedence ( fixes #9783 )
2014-03-14 18:50:53 +01:00
Larry Shaffer
cb998399cf
Add allowable mismatch per group/test for labeling tests
2014-03-06 12:36:54 -07:00
Larry Shaffer
803bc296da
Condense labeling test class inheritance and set up local server params from map settings
2014-03-06 12:36:54 -07:00
Larry Shaffer
53cfa9e203
Convert label unit tests to using only QgsMapSettings
...
- Rebuild all control images
2014-03-06 12:36:53 -07:00
Larry Shaffer
bad189813c
Refactor composer label test to work with svg, pdf and multi-resolution classes
...
- Initial (untested) svg and pdf render-to-image setup
2014-03-06 12:36:53 -07:00
Larry Shaffer
6a1b706b48
Update label tests to ensure setup happens only once and load/delete only layer to test
2014-03-06 12:36:53 -07:00
Larry Shaffer
a49b9a7a45
Add some functions to Python unit test utilities
2014-03-06 12:36:53 -07:00