885 Commits

Author SHA1 Message Date
nyalldawson
adbeab29c4 [composer] Add tests for item rotation 2013-12-30 20:00:56 +11:00
nyalldawson
ddcfd06f97 [composer] Fix picture rotation, optimise scaling of rotated pictures to fit in item bounding box 2013-12-30 20:00:56 +11:00
Nyall Dawson
86b972c154 [composer] Begin tests for composer item rotation 2013-12-30 20:00:55 +11:00
Nyall Dawson
719c78c2c7 [composer] Clean up item rotation api, seperate item rotation (for shapes, labels) from map rotation and picture rotation.
Maintain compatibility with 2.0 api, deprecate ambiguous rotation/setRotation methods
2013-12-30 20:00:55 +11:00
Nyall Dawson
ed3e04d894 [tests] Add some more anomaly images 2013-12-29 13:13:00 +11:00
Nyall Dawson
bf407db3be [tests] Fix failing composerhtml tests, by forcing test html to use a set font size in pixels. 2013-12-29 09:52:16 +11:00
nyalldawson
6aed6fee08 [tests] Fix python compositionchecker to derive from render checker, fix most python composer tests (fix #9117) 2013-12-29 09:52:16 +11:00
nyalldawson
2e107f23b9 [tests] Fix failing gradient tests 2013-12-29 09:52:16 +11:00
nyalldawson
089fbe95b6 [tests] Update atlas tests, add exceptions 2013-12-29 09:52:15 +11:00
nyalldawson
ac63769937 [tests] Fix failing diagram and blend modes tests 2013-12-29 09:52:15 +11:00
nyalldawson
cfd9a669c8 [tests] Update composer scalebar tests, fix exception causing test to fail 2013-12-29 09:52:15 +11:00
nyalldawson
a1a92cdbf8 [tests] Update composer html tests 2013-12-29 09:52:15 +11:00
nyalldawson
f3d5e0b270 [tests] Update composer effect tests 2013-12-29 09:52:15 +11:00
nyalldawson
aa3e40a0eb [FEATURE][composer] Add controls for changing zebra frame colors and line thickness, fix output of zebra style grids (fix #8767) 2013-12-29 09:52:15 +11:00
nyalldawson
afbd2ac2ce [tests] Update composer map tests, add anomoly images 2013-12-29 09:52:14 +11:00
nyalldawson
ab42edce49 [tests] Update composer shape tests 2013-12-29 09:52:14 +11:00
Nyall Dawson
3b1f789fc5 Rework composition checker to derive from render checker, so that composition tests can have anomoly images 2013-12-29 09:52:14 +11:00
Juergen E. Fischer
5192e8dc7a different fix for 5a1bcf3 2013-12-07 13:24:49 +01:00
Juergen E. Fischer
7a0b36ce25 also fix building of tests (followup 5a1bcf38) 2013-12-06 23:00:35 +01:00
Juergen E. Fischer
bc825b4b46 fix lpad/rpad (fixes #9158) 2013-12-03 22:37:30 +01:00
Nathan Woodrow
e890e14938 Return expression string from QgsExpression::expression(). Don't use ::dump() 2013-11-13 20:35:09 +10:00
nyalldawson
dfba26d9b0 [FEATURE] allow starting/ending a gradient at a features centroid 2013-11-03 20:55:33 +11:00
Nyall Dawson
fcbff6a65d Merge pull request #923 from nyalldawson/gradient_fill2
[FEATURE] Add support for gradient fills for polygons
2013-10-31 15:30:43 -07:00
Juergen E. Fischer
ec0f0bea28 indentation update and a few fixed typos 2013-10-24 15:26:39 +02:00
Alexander Bruy
8d947e2c86 fix scalecombobox test 2013-10-19 15:13:48 +03:00
Larry Shaffer
0218f078f2 [tests] Fix OSM unit test on Mac 2013-10-16 14:42:00 -06:00
Matthias Kuhn
44b7767134 Create hash method for QgsPoint (Fix #8775) 2013-10-12 12:26:10 +02:00
Matthias Kuhn
b3b54d1fe2 Fix header 2013-10-07 17:50:58 +02:00
Matthias Kuhn
a91864ec8b Add relation unit test 2013-10-07 16:17:43 +02:00
Matthias Kuhn
331f71acba [attrtable] Selection model and request filter
* With a selection model, the way the attribute table handles selections
  can be customized. E.g. synchronized to layer selection or used to pick
  features.
* With request filters, the visible features on an attribute table can be
  limited. This will effectively reduce the subset of features the attribute
  table works on. Additional filters by means of a proxy model can of course
  further reduce the visible subset subsequently.
2013-10-07 16:17:42 +02:00
nyalldawson
864df0fe37 [FEATURE] Add support for gradient fills for polygons 2013-10-07 19:54:33 +11:00
Chris Crook
4072e39227 Merge pull request #917 from matthias-kuhn/csv_test_fix
Fix CSV test to support python NULL value
2013-10-04 11:45:35 -07:00
Hugo Mercier
bf076a0c1f Emit a signal when layer symbology changes 2013-10-04 09:59:18 +02:00
Matthias Kuhn
934e4855ec Fix CSV test to support python NULL value 2013-10-02 14:52:20 +02:00
Larry Shaffer
cfa34641b0 Merge pull request #905 from yellow-sky/show_partial_labels
Show partials labels
2013-09-28 20:35:06 -07:00
yellow-sky
3e382dac77 Unit tests for ShowingPartialsLabels reorganized 2013-09-26 19:43:08 +04:00
Juergen E. Fischer
a17787b36a fix PyQgsAtlasComposition and PyQgsComposerLabel test 2013-09-25 22:59:02 +02:00
Larry Shaffer
87163c6098 Add unit test for PYQGIS_STARTUP environment variable
- Make PyQgsAppStartup test more general and PEP8 compliant
2013-09-24 15:42:05 -06:00
yellow-sky
83c8478f8f Added unit-tests for ShowingPartialsLabels 2013-09-20 14:53:18 +04:00
Matthias Kuhn
df7f39c7e5 Add featureiterator tests 2013-09-18 18:57:52 +01:00
Juergen E. Fischer
51297d5990 indentation update (note to self: always run scripts/prepare-commit.sh before committing) 2013-09-17 12:41:43 +02:00
nyalldawson
58d0483c46 [FEATURE] Setting for corner radius for composer rectangle shapes, allows creation of rounded rectangles in composers
Add tests for composer shapes
2013-09-17 08:17:51 +02:00
Larry Shaffer
8fb9816c67 [tests] Make app startup test work on Mac
- Handle bundled app path on Mac
- Move test writes to temporary, instead of source, directory
- Add Mac code for options.ini parent directory
- Add Mac options.ini file for plugin path test
- Clean up imports
2013-09-15 16:18:52 -06:00
Tim Sutton
64c947b2f0 Merge pull request #749 from Oslandia/issue8045b
Unit tests for command line arguments
2013-09-15 02:47:07 -07:00
Juergen E. Fischer
93cdd0ca40 indentation update 2013-09-08 20:26:43 +02:00
Hugo Mercier
b18f2736e1 Change computeWorldFileParameters signature and fix Python unit test 2013-09-08 13:17:39 +02:00
Hugo Mercier
50f86c89de Add unit test for world file generation 2013-09-08 13:09:42 +02:00
Juergen E. Fischer
da36ac7dbe fix more warnings (followup 1c9d6ebce) 2013-09-06 21:24:58 +02:00
Radim Blazek
9ebf1feea1 add OS X specific lib to app tests, hopefully fixes #8577 2013-09-05 20:34:50 +02:00
Juergen E. Fischer
2c2d6757dd temporary fix for #8575 (building app as DLL is more involved and requires a CORE/GUI/APP_EXPORT macro dance...) 2013-09-05 14:36:35 +02:00