Juergen E. Fischer
b9162dccdf
scripts/astyle-all.sh run
2017-03-03 15:37:12 +01:00
Matthias Kuhn
7e6695b0a0
Expose QgsRelation to QML
...
API changes for consistency:
- setRelationName has been renamed to QgsRelation::setName
- setRelationId has been renamed to QgsRelation::setId
2017-02-20 08:45:54 +01:00
Nyall Dawson
d19e70700f
Ensure all pointer variables are initialized to nullptr
2017-02-18 20:23:18 +10:00
Nyall Dawson
a188d14f48
Remove map settings parameter from QgsComposition
...
Breaks the hard link between canvas and compositions!
Fix #11077
2017-01-24 14:32:08 +10:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
Martin Dobias
8c340f7144
Make composition associated with QgsProject ( #3957 )
...
... rather than using project singleton within compositions
2017-01-06 17:22:34 +08:00
Matthias Kuhn
dfd9833467
Let all tests work with a proper QgsApplication instance
2016-12-20 01:20:08 +01:00
Martin Dobias
c143be7a73
QgsMapSettings and QgsComposerMap store layers for rendering as weak pointers
...
... instead of using layer IDs which need to be resolved using QgsProject
2016-12-10 18:50:52 +08: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
Nyall Dawson
4166a3ea62
Fix most clazy qstring-unneeded-heap-allocations warnings
...
By flipping string literals to QStringLiteral/QLatin1String
see
https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
nirvn
ec2d7fea0c
[FEATURE] control over drawing of composer table grid horizontal & vertical lines
2016-10-14 13:20:59 +07:00
Nyall Dawson
4cfacf14e3
Make API more consistent
...
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10:00
Nyall Dawson
eb3a34cc92
Fix QgsComposerAttributeTableV2 setting displayed fields under qt5
...
Also don't run QgsComposerAttributeTable test when disable
deprecated flag is set.
2016-05-23 14:52:46 +10:00
Nyall Dawson
eb31e01a2f
Move QgsCompositionChecker to core, speeds up compilation with
...
tests enabled
2016-03-07 09:38:36 +11:00
Nyall Dawson
9133538a74
[FEATURE][composer] Advanced customisation of cell background color
...
for attribute tables
This allows users to set differing colors for alternating rows and
columns, first/last row/column and header row. Fixes #5131 .
Sponsored by Ville de Morges
2015-09-05 22:06:31 +10:00
Nyall Dawson
0c5475545f
Cleanup control_images folder by grouping some tests in subfolders
2015-08-30 20:15:25 +10:00
Nyall Dawson
ebf3baccc2
Fix leaks in tests
2015-08-28 13:06:35 +10:00
Nyall Dawson
385a608a0b
Fix a bunch of leaks in unit tests
2015-08-25 21:40:41 +10:00
Nyall Dawson
612df6ae14
[FEATURE][composer] Auto wrapping for text in fixed width columns
...
in attribute tables
Sponsored by City of Uster
2015-08-19 06:08:22 +10:00
Nyall Dawson
b78564899a
[FEATURE][composer] Option for 'wrap text on' for attribute tables
...
Fix #8006
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
759f842bc3
[FEATURE][composer] Vertical alignment control for attribute tables
...
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
372534eb89
[composer] Add proper handling of multiline text in attribute tables
...
Previously multi-line text would overflow onto neighbouring cells.
Now rows will be expanded to fit required height of text.
Fix #10273 .
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
19a833c23d
Clean atlas interface - avoid storage of pointer to atlas feature
2015-08-13 08:35:43 +10:00
Juergen E. Fischer
83bb33cad5
cleanup composer test map settings
2015-07-05 11:20:13 +02:00
Juergen E. Fischer
3856ccf2f8
another round of coverity and cppcheck fixes
2015-07-05 04:26:40 +02:00
Juergen E. Fischer
9b976cfe26
test cleanups and some fixes
2015-07-02 04:22:52 +02:00
Juergen E. Fischer
d429f195b6
Some fixes to the tests on windows:
...
* defer initialization of map settings until after QgsApplication is initialized
* disable local server test
* set ogr encoding in qgsserver testproject.qgs
2015-07-01 18:09:30 +02:00
Matthias Kuhn
3dbe7f5e0c
Decouple composer table tests
2015-06-17 09:29:30 +02:00
Denis Rouzaud
9e3183c63f
Revert "sort includes"
...
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Juergen E. Fischer
4e86109398
indentation update
2015-06-10 14:51:53 +02:00
Denis Rouzaud
2b7d3d3c73
sort includes
2015-06-10 13:59:08 +02:00
Juergen E. Fischer
0f9397028e
fix more cppcheck issues
2015-02-07 18:40:42 +01:00
Juergen E. Fischer
bff64fdef9
indentation update
2014-12-30 22:47:09 +01:00
Nyall Dawson
fd0e98d5f4
Ensure all items are deleted from TestQgsComposerTableV2
2014-12-09 19:20:16 +11:00
Nyall Dawson
d815ac0061
Try to fix some more intermittent composer tests
2014-12-01 20:30:39 +11:00
Nyall Dawson
118a9f63dc
Add some missing exitQgis() calls to unit tests
...
Also ensure that compositions are deleted before exiting
Qgis during tests.
2014-12-01 19:52:04 +11:00
Matthias Kuhn
cae6baea90
Formatting of tests
2014-11-21 11:45:33 +01:00
Matthias Kuhn
78c519546a
Add Qt5 support
2014-11-21 11:45:32 +01:00
Matthias Kuhn
1c2bdf1ea3
Switch tests to automoc
...
Required for Qt5 compatibility
Raises minimum CMake version to 2.8.6
2014-11-04 09:18:26 +01:00
Nyall Dawson
1cb22c084d
[composer] Seperate draw empty rows option from empty table behaviour
...
Now "draw empty rows" is a seperate checkbox (fix #11392 )
2014-10-14 21:25:12 +11:00
Nyall Dawson
456e971372
[composer] Fix table background extending beyond table rows ( fix #11272 ).
...
It was necessary to add a new 'table background' color option to prevent
regressions when loading old compositions, since users may desire
the old behaviour where the entire frame is filled.
2014-10-03 09:08:23 +10:00
Nyall Dawson
34f00d106f
[FEATURE][composer] Add checkbox for showing unique records only in composer
...
attribute tables. (Sponsored by my OCD)
2014-09-23 19:28:40 +10:00
Nyall Dawson
14690d0716
[FEATURE][composer] Add choice of display style for empty tables. Options
...
include hiding the entire table, showing empty cells, or displaying a
set message in the table body. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:30 +10:00
Nyall Dawson
c3ec4b9eb0
[FEATURE][composer] Add option for showing child features from a relation
...
for attribute tables in the composer. If selected, the attribute table
will show all related features to the current atlas feature within
the table body. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:20 +10:00
Nyall Dawson
f58768c550
[FEATURE][composer] Option for current atlas feature as source for
...
attribute tables. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:07 +10:00
Nyall Dawson
b893cb241c
[FEATURE][composer] Allow manual control of column widths for attribute table items.
2014-09-22 19:13:47 +10:00
Nyall Dawson
eea0451b79
Some fixes to TestQgsComposerTableV2
2014-09-21 21:31:24 +10:00
Nyall Dawson
993aa83306
[composer] Tweak calculation of total height of table (Sponsored by
...
City of Uster, Switzerland)
2014-09-17 22:57:50 +10:00
Nyall Dawson
a0db6634f5
[composer] Fix crash on extend mode for multiframes (Sponsored by
...
City of Uster, Switzerland)
2014-09-17 22:57:50 +10:00
Nyall Dawson
3ca416a620
[composer] Initial test suite for QgsComposerTableV2 (Sponsored by
...
City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00