992 Commits

Author SHA1 Message Date
Nathan Woodrow
19e727e8bb Add new qgisapp Python context manager for creating QGIS apps 2014-05-20 17:02:35 +10:00
Nathan Woodrow
0ff49856e6 Create Python package for core, gui, analysis, networkanalysis
Rename sip generated modules to _{name}
2014-05-19 22:26:02 +10:00
Juergen E. Fischer
bbdf7cd220 sync some sip bindings 2014-05-18 15:22:32 +02:00
Nathan Woodrow
317a5094c4 Support multi layers in QLR files 2014-05-18 22:22:06 +10:00
Juergen E. Fischer
7c75ffa3b0 spelling fixes 2014-05-17 22:02:03 +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
Nathan Woodrow
a1aa980928 Fix windows build 2014-05-15 22:28:11 +10: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
ecf2600a4e [composer] Allow for finer control over text rendered with QgsComposerItem::drawText, fixes clipped text when using italic fonts in legend titles 2014-05-15 10:04:23 +10:00
Juergen E. Fischer
e138c2e94d fix windows build 2014-05-09 04:38:20 +02:00
Nyall Dawson
0d3838759e [composer] Allow user to set maximum distance for page breaking in html items. 2014-05-08 20:23:16 +10:00
Jürgen Fischer
f628b7727b Merge pull request #1249 from Oslandia/expose_simplifier
Expose QgsMapToPixelSimplifier to Python
2014-05-07 20:23:49 +02:00
Juergen E. Fischer
0a82f37e92 sync symbology-ng sips with headers (scripts/sipdiff) 2014-05-07 19:02:11 +02:00
Sandro Mani
53ac67517a min-max map unit scale support 2014-05-07 15:54:56 +02:00
Nyall Dawson
93fa94f913 [FEATURE][composer] Add button to create new frame when using composer items in Use Existing Frames mode 2014-05-07 19:40:34 +10:00
Nathan Woodrow
f816bce9f1 Tweak UI for symbol builder and selector.
- Move blend options to below symbol builder
- Move Save symbol to under symbol stack
- Move open Symbol manager to next to group dropdown
2014-05-06 22:02:45 +10:00
Nyall Dawson
26c6435a85 [FEATURE] Add option for shifting markers in marker line style a set distance along the line. Supports delaying the start of markers placed at intervals, or placing markers a set distance before/after the first/last vertex (fix #9000) 2014-05-04 21:57:03 +10:00
Nyall Dawson
2d7cd38b45 [composer] Refresh view action now also reloads html items and refreshes attribute table features. 2014-05-01 23:00:43 +10:00
Nyall Dawson
8eb929aeda [composer] Add refresh button to html items, to reload the html source from the url. 2014-05-01 23:00:43 +10:00
Nyall Dawson
ad0b4daf8d [composer] Add checkbox for controlling whether html items should use smart page breaking (sponsored by City of Uster, Switzerland) 2014-04-28 22:14:53 +10:00
Nyall Dawson
de301e9ada [composer] Add frameOutlineWidth property for composer items (sponsored by City of Uster, Switzerland) 2014-04-28 20:59:41 +10:00
Nyall Dawson
8b9c9c49a1 [composer] Update picture item header documentation and sip bindings (sponsored by City of Uster, Switzerland) 2014-04-28 20:19:01 +10:00
Nyall Dawson
ecc2ebf59a [composer] Add signal for when composition print resolution changes (sponsored by City of Uster, Switzerland) 2014-04-28 20:19:01 +10:00
Nyall Dawson
ca186c78ee [composer] Add a featureChanged signal for when the current atlas feature changes (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
7e977bcfd3 [composer] Some api documentation improvements and fix ups 2014-04-28 19:29:04 +10:00
Nyall Dawson
e0c64028b5 [composer] Rename getHeaderLabels to headerLabels and make it public for composer text/attribute tables. 2014-04-28 19:29:04 +10:00
Nyall Dawson
a386e898f0 [composer] Cache features for attribute table, to reduce excessive cpu use and multiple queries to layer provider 2014-04-23 06:28:56 +10:00
Nyall Dawson
122034a07a [composer] Some small fixes to svg layers export, naming improvements, additional comments 2014-04-16 19:47:40 +10:00
vmora
0c19945c04 [composer] add svg export with layers 2014-04-16 19:11:20 +10:00
Sandro Mani
b9bd4d247e [composer] Correctly update extent when restoring composermap state, except when composer map is not yet visible after loading 2014-04-15 20:08:19 +10:00
Nyall Dawson
114d46c018 [FEATURE][composer] Allow filtering rows in attribute tables 2014-04-14 20:50:14 +10:00
Nyall Dawson
103b3b4e9a [FEATURE][composer] Allow setting line join and cap style for scalebars 2014-04-14 20:43:10 +10:00
Nyall Dawson
5bd87c81e8 [composer] Add undo/redo support for item transparency and blend modes, symbol change for shapes, overviews and grid styles 2014-04-13 22:19:47 +10:00
Sandro Mani
a714a18e82 [FEATURE][composer] Add support for specifying legend title horizontal alignment in composer 2014-04-13 15:02:20 +10:00
Nyall Dawson
12b025ea12 Update composer shape sip 2014-04-11 13:04:49 +10:00
Nyall Dawson
cfc83031ef [composer] Allow setting the join style for composer item frames 2014-04-08 20:20:25 +10:00
Juergen E. Fischer
8bd80f43c5 fix windows build 2014-04-05 01:19:50 +02:00
Denis Rouzaud
8b06a16a75 model/view for layer/field selectors 2014-04-03 14:51:26 +02:00
Nyall Dawson
6836a7ded7 Expose outline join style as a parameter for simple fill symbol type 2014-04-03 19:52:53 +11:00
Juergen E. Fischer
0693fe93ee fix some tests crashes, fix some tests and some mtr updates 2014-03-29 17:55:29 +01:00
Martin Dobias
fe39578eae Added python bindings for QgsMapRendererJob + subclasses and QgsMapRendererCache 2014-03-28 15:35:43 +01:00
Bas Couwenberg
3d44c5934a Disable features on ARM.
Building QGIS on ARM produces the error:

sip: qgis/python/core/qgsclipper.sip:44: \
QgsClipper::trimFeature() unsupported function argument type - provide %MethodCode and a C++ signature

For the Android builds this was fixed in commit 2cc684793ceb29d8600d71564fb38f92c998f588.

This patch adapts the Android fix, by disabling the SIP features on all ARM systems.

Bug-Debian: http://bugs.debian.org/737814
2014-03-28 10:41:22 +01:00
Radim Blazek
3dfacc77bc identify/highlight default constants 2014-03-27 14:25:38 +01:00
Radim Blazek
0bdca1f9b4 missing identify/highlight sip methods 2014-03-27 13:45:25 +01:00
Martin Dobias
7a70041680 Change also SIP files to use WindowFlags instead of WFlags 2014-03-27 10:43:11 +01:00
Martin Dobias
9e42c5bc7f Fix support for setCacheImage() to enforce refresh of a layer 2014-03-25 18:58:00 +01:00
Larry Shaffer
81ba9eddc4 Add render checker color tolerance to sip 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