165 Commits

Author SHA1 Message Date
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
d85f6251f2 Merge pull request #1540 from manisandro/composer_html_fixes
Recompute webpage viewport dimensions when resizing html frames
2014-09-22 20:20:52 +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
7904c100cf [composer] Add some missing Transfer/TransferThis methods to sip bindings 2014-09-21 21:05:29 +10:00
Nyall Dawson
ccad38bf33 [composer] Clean up QgsComposerMap api, add docs and missing sip bindings for composer overviews 2014-09-21 00:47:57 +10:00
Nyall Dawson
05524d7017 [composer] Remove gui controls for adding deprecated table item (sponsored
by City of Uster, Switzerland)
2014-09-17 22:59:01 +10:00
Nyall Dawson
9fd73901a6 [composer] API docs and python bindings for QgsComposerTableV2 (sponsored
by City of Uster, Switzerland)
2014-09-17 22:58:49 +10:00
Nyall Dawson
37dbbd55a8 [composer] Begin work on calculating rows for QgsComposerTableV2
(sponsored by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
d1e26f24e5 [composer] Option for fixed frame sizes set by multi frame (sponsored
by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Ross Gammon
79b3a8f889 Description: Fix qreal VS double issues.
This patch tries to fix qreal VS double issues for ARM

 There are two seperate issues, the first is trivial just a typecast on
 a const.

 The second is however less-trivial and needs to be checked
 before merging. sip doesn't seem to like the type
 QVector<double> on platforms where qreal is float but changing
 the type to qreal may have knock-on impacts on the native code.

 QGIS Issue: http://hub.qgis.org/issues/11148
 Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760535

Author: Peter Michael Green <plugwash@debian.org>
2014-09-05 20:51:13 +02:00
Nyall Dawson
1b773165f2 [composer] Update sip bindings, add missing sip bindings for
QgsComposerMapGrid (sponsored by NIWA, New Zealand)
2014-09-03 21:22:29 +10:00
Nyall Dawson
a64e7b134c More const correctness, fix crash with atlas 2014-09-02 19:31:43 +10:00
Nyall Dawson
b5835972bb [composer] Add zoomToExtent for QgsComposerMap, allows easily fitting a set extent into the map item without altering the item's shape 2014-09-01 16:05:27 +10:00
Martin Dobias
216ecab1fc More Python wrapper updates + fixes 2014-09-01 10:10:37 +07:00
Sandro Mani
788575e5cd Update sip bindings, add method documentation 2014-08-25 22:31:23 +02:00
Nyall Dawson
7b84ccc9b1 [composer] Don't draw handles around locked items (fix #11059) 2014-08-25 22:58:42 +10:00
Nyall Dawson
d70235ffbe [composer] Show selected items in bold in items tree panel (fix #11057) 2014-08-25 21:46:11 +10:00
Nyall Dawson
4d1595ce79 [composer] Remove destructive 'Load from template' action, replace with
non-destructive 'Add items from template' action
2014-08-25 20:46:58 +10:00
Juergen E. Fischer
a05c4c8030 make custom widget tooltips translatable 2014-08-20 10:02:35 +02:00
Nyall Dawson
9d18220138 [FEATURE][composer] Allow remote urls to be entered as picture path
for picture items, and automatically fetch them. Sponsored by the
City of Uster, Switzerland.
2014-08-19 21:35:14 +10:00
Juergen E. Fischer
07165eae79 indentation update 2014-08-17 13:37:34 +02:00
Nyall Dawson
11686c7ad3 Fix typo in docs 2014-08-14 17:57:22 +10:00
Nyall Dawson
43c545c2f6 [composer] Fix docs for composer arrow 2014-08-14 17:57:22 +10:00
Juergen E. Fischer
a2a66eabfd doxygen fixes 2014-08-13 19:15:24 +02:00
Nyall Dawson
fec27111ee [FEATURE][composer] Allow more control over appearance of composer arrows:
- Line can be styled using line symbol style dialog
- Arrow head fill and outline colors can be specified
- Arrow head outline width can be specified
2014-08-06 20:24:41 +10:00
Nyall Dawson
0aeb357798 [composer] Locked items can't be selected by clicking them in the canvas. 2014-07-30 21:04:42 +10:00
Nyall Dawson
4506b81537 [FEATURE][composer] Implement an item tree panel for composer windows
(fix #4358). Allows for selection of items, hiding/showing items,
toggling lock status of items and double-clicking to edit item id.
2014-07-30 20:01:05 +10:00
Nyall Dawson
87e775a1e7 [composer] More improvements to item dispayName methods 2014-07-29 21:37:25 +10:00
Nyall Dawson
950c9b89f1 Follow up 3f0d0944 2014-07-29 20:48:40 +10:00
Nyall Dawson
200a3431e9 [composer] Add api method for toggling visibility of composer items 2014-07-28 20:22:23 +10:00
Nyall Dawson
3f076f0d30 [composer] Add function for getting a friendly display name for items 2014-07-28 19:46:12 +10:00
Nyall Dawson
d0e9d8d126 [FEATURE][composer] Allow specifying user stylesheets to apply to a HTML item's content 2014-07-27 22:18:45 +10:00
Nyall Dawson
17d6da9adb [FEATURE][composer] Holding shift while drawing new lines constrains lines to horizontal/vertical/diagonals, while drawing rectangles constrains items to squares. Holding control switches to a draw-from-center mode. Sponsored by City of Uster, Switzerland. 2014-07-23 21:36:58 +10:00
Nyall Dawson
3bcff891b5 Fix build errors 2014-07-22 09:21:30 +10:00
Nyall Dawson
68e03cbc87 [FEATURE][composer] Data defined url for composer html items. Sponsored by City of Uster, Switzerland. 2014-07-21 23:19:01 +10:00
Nyall Dawson
460cee1bde [composer] Switch to using data defined button for picture source expression 2014-07-21 20:52:11 +10:00
Nyall Dawson
66031f67c0 [composer] documentation improvements 2014-07-19 22:14:22 +10:00
Nyall Dawson
f76c257f89 [composer] More cleanups - move font utils from QgsComposerItem to QgsComposerUtils, add tests 2014-07-19 22:01:58 +10:00
Nyall Dawson
e696158257 [FEATURE][composer] Allow setting attribute table header and content font colors. Fix saving alpha channel for grid colors. 2014-07-17 21:22:56 +10:00
Nyall Dawson
19708be155 [FEATURE][composer] Allow evaluation of QGIS expressions inside html item source. Expressions are evaluated before HTML is rendered, allowing the expression results to modify how the HTML content is rendered. Sponsored by City of Uster, Switzerland. 2014-07-16 22:50:40 +10:00
Nyall Dawson
256999d56f [FEATURE][composer] Option for manual entry of HTML item source. Sponsored by City of Uster, Switzerland. 2014-07-16 22:50:40 +10:00
Nyall Dawson
e2d57d9b65 [composer] Clean up code, move some methods to QgsComposerUtils, const correctness, tests, doc improvements 2014-07-16 22:47:18 +10:00
Nyall Dawson
6f3cea12f0 Follow up 2041fc24 2014-07-15 00:25:33 +10:00
Nyall Dawson
2041fc2480 [composer] Refactor QgsComposerItem:
- New class QgsComposerObject, which both QgsComposerItem and QgsComposerMultiFrame
derive from. This class contains the framework for data defined composition properties.
- New class QgsComposerUtils, containing helpful static functions previously in QgsComposerItem
- Test suites for data defined settings in QgsComposerObject and functions in QgsComposerUtils
2014-07-14 23:51:10 +10:00
Nyall Dawson
5b545d1eff Remove unused writeSettings, readSettings, removeSettings methods from QgsComposerItem 2014-07-12 00:10:21 +10:00
Nyall Dawson
1e4ad28858 [FEATURE][composer] Data defined page size, orientation and number of pages for compositions. Funded by Canton of Neuchâtel, Switzerland 2014-07-06 01:55:38 +10:00
Nyall Dawson
a914d433b9 [composer] Composer items which set their own size must consider data defined width and height 2014-07-06 00:50:33 +10:00
Nyall Dawson
6d7c5f885d [FEATURE][composer] Data defined map scale, rotation and extents. Funded by Canton of Neuchâtel, Switzerland 2014-07-05 22:00:30 +10:00