28185 Commits

Author SHA1 Message Date
Nyall Dawson
b87e5f7573 [FEATURE][composer] Data defined style preset for composer maps
Sponsored by City of Uster
2015-08-19 20:43:19 +10:00
Radim Blazek
bcaee65ed8 fixed OSGeo4W .bat.tmpl for GRASS, followup e6556a2 2015-08-19 12:06:55 +02:00
Nyall Dawson
0e567cd83b Fix doxygen warning 2015-08-19 20:00:37 +10:00
Nyall Dawson
d16e57ffc1 Cull unneeded dependencies from Travis OSX build 2015-08-19 19:57:17 +10:00
Nyall Dawson
73522dce7e Refactor visibility presets, so that all non-app specific
methods are now in core

A new QgsVisibilityPresetCollection object has been created
which stores a set of visibility presets. QgsProject now
contains a preset collection object.

This allows plugins and other core objects to retrieve and
modify visibility presets.
2015-08-19 19:07:23 +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
9bf0295c55 Fix doxygen warning 2015-08-19 05:16:12 +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
29cc0642a4 [composer] Add method for calculating height of text
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
dba794c5fb [composer] Draw text in tables by row, not column
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
9b9dbff13d Fix rasters cannot be styled on OSX (fix #13162)
Add missing Q_OBJECT macro
2015-08-19 05:14:16 +10:00
Juergen E. Fischer
697d2af533 processing: fix warning when loading otb algorithms 2015-08-18 11:06:32 +02:00
Juergen E. Fischer
0ccd7bd5bf postgres provider: avoid column lookups with tableoids 2015-08-18 11:04:16 +02:00
Nyall Dawson
46da64a88e [console] Better handling of default paths for open/save dialogs 2015-08-18 15:12:22 +10:00
Nyall Dawson
15e452e918 [console] Allow running unsaved script files
Previously a (non-default) option existed for auto-saving scripts
on run, which would overwrite the existing script file if set, or
save the script to a temporary file before running.

Now, the auto-save option only applies to scripts which have
already been saved an have a filename.

By default the console now can run scripts without filenames,
or scripts with changes by transparently saving them out to a
temporary file.
2015-08-18 15:12:14 +10:00
Martin Dobias
7d1a8d3019 Merge pull request #2245 from vmora/issue13078
Fix legend symbol size when using map units (fix #13078)
2015-08-18 09:05:34 +08:00
Nyall Dawson
7527638d43 [FEATURE][composer] Data defined control over map layers
Adds new data defined control for the map layers to show in a
composer map. Expression result should be a | delimited list of
layer names which will be shown in the map.

Sponsored by City of Uster
2015-08-17 23:46:13 +10:00
Nathan Woodrow
a05a970dff Add open in external editor to console 2015-08-17 23:25:26 +10:00
Nathan Woodrow
5fb52fa1ed Remove query dialog. Replace with tabs 2015-08-17 18:10:59 +10:00
Matthias Kuhn
bbce092e5b Doxymentation for QgsExpression::Node 2015-08-16 23:32:25 +02:00
Matthias Kuhn
f8dd490861 Support dos2unix as flip alternative 2015-08-16 21:12:05 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
Juergen E. Fischer
624f16cc2c indentation update 2015-08-16 11:56:27 +02:00
Juergen E. Fischer
831983f45d prepare-commit.sh: pass sip and py files to astyle.sh 2015-08-16 11:49:16 +02:00
Nyall Dawson
371e124f4d Followup 19a833c, fix data defined composition evaluation
Thanks to Coverity!
2015-08-16 16:29:10 +10:00
Nyall Dawson
6703fd32a5 Cosmetic coverity fixes 2015-08-16 16:15:36 +10:00
Nyall Dawson
42d5b9b2aa Python exceptions for invalid keys in QgsFields methods (fix #13221) 2015-08-16 16:08:04 +10:00
Nyall Dawson
e800419c9d Fix edit button always edits first virtual field (fix #13214) 2015-08-16 16:08:04 +10:00
Matthias Kuhn
abf2398880 Rule based renderer: empty rule matches all
Fix #13218
2015-08-15 09:26:50 +02:00
Nyall Dawson
67a7d1397f Fix doxygen warning 2015-08-15 08:25:43 +10:00
Nyall Dawson
7f7c1a0084 [pal] Make only draw labels which fit in polygon work for perimeter
labeling position
2015-08-14 20:33:04 +10:00
Nyall Dawson
9f10dbebb4 Revert 3fdef5e
Was causing too many issues for the small perfomance gain it may
have gained
2015-08-14 20:33:04 +10:00
Nyall Dawson
fec5d5ef7d [pal] Catch GEOS exceptions 2015-08-14 20:33:04 +10:00
Denis Rouzaud
480a0f17c3 Don't send expressions with special fields to provider 2015-08-14 11:39:27 +02:00
Juergen E. Fischer
fee5da9071 fix typos 2015-08-13 22:52:01 +02:00
vmora
0a93f94bbe fixups (to be rebased)
- removed the setParent since the parent is already set here
- moved the legendNode->invalidateMapBasedData() after size setting
  (removed dupplicate call)
- moved max icon size computation in the loop over layers
2015-08-13 22:30:38 +02:00
Juergen E. Fischer
4cf3fcc3c1 move qgis.server import to QgsPythonUtilsImpl::initServerPython 2015-08-13 17:57:18 +02:00
Juergen E. Fischer
ac89dc0e73 * update QgsSymbolV2 sip bindings
* fix a crash when setRotationField (now deprecated) is used on a fresh
  QgsCategorizedSymbolRendererV2
2015-08-13 17:48:56 +02:00
Nathan Woodrow
40500d6080 Merge pull request #2243 from michaelkirk/feature/crs_help
Fix #13213 - Feature/crs help
2015-08-13 10:46:37 +10:00
Michael Kirk
446410ee78 update CRS docs: find button replaced by filter 2015-08-12 17:33:26 -07:00
Michael Kirk
424efcce8a context help for projection selector 2015-08-12 17:33:26 -07:00
Michael Kirk
ce8cef8b80 tab is called "identify layers" 2015-08-12 17:33:25 -07:00
Michael Kirk
7aa5622548 reformatting project properties help, no copy changes 2015-08-12 16:47:26 -07:00
Nyall Dawson
e9ff061f05 Cleanup composer label atlas handling 2015-08-13 08:35:47 +10:00
Nyall Dawson
19a833c23d Clean atlas interface - avoid storage of pointer to atlas feature 2015-08-13 08:35:43 +10:00
Matthias Kuhn
d32f3340ae Fix typo 2015-08-12 21:38:14 +02:00
Nyall Dawson
6415a75b51 Cleanup travis scripts 2015-08-12 23:39:02 +10:00
Nyall Dawson
6da3492692 Disable PyQgsServer test on OSX Travis
Test fails with
Fatal Python error: PyThreadState_Get: no current thread
CMake Error at PyQgsServer.cmake:22 (MESSAGE):
  Test failed: Child aborted
2015-08-12 23:38:52 +10:00