Nyall Dawson
2215d48712
[FEATURE][composer] Add option to hide pages from view/export
...
Sponsored by NIWA
2015-09-25 18:55:35 +10:00
Nyall Dawson
aedf08c8a4
[composer] Enable always disabled labels as outline checkbox in
...
svg export, hook up to labeling setting
2015-09-14 20:35:25 +10:00
Nyall Dawson
4bc606c854
[composer] Remember last used atlas image export folder
2015-09-14 20:15:50 +10:00
Nyall Dawson
c84b2dfe61
[composer] Fix world file filename for multipage compositions
...
also fix #11676
2015-09-14 20:15:41 +10:00
Nyall Dawson
8731065715
Fix creation of default composer names ( fix #13339 )
2015-09-11 22:44:12 +10:00
Nyall Dawson
f628ebd423
Replace foreach with Q_FOREACH
...
For:
- consistency
- to make it immediately clear that this is a Qt macro and that it
works slightly differently to c++ for loops
2015-09-09 19:17:29 +10:00
Nyall Dawson
a45ead116f
Fix setting atlas variables in main map canvas for previewing atlas
...
renders
2015-09-07 20:24:57 +10:00
Nyall Dawson
05c2e4de84
Remove use of special columns for composition/atlas
...
$atlasfeature/$atlasgeometry/$feature/etc have all been ported
to variables
2015-09-07 20:24:57 +10:00
Nyall Dawson
ffd82a3105
Fix selecting last page from atlas combo ( fix #13311 )
2015-09-03 22:46:30 +10:00
Nyall Dawson
95816f589f
Fix leak in QgsComposer
2015-08-28 13:06:35 +10:00
Nyall Dawson
7934a92519
[composer] Add an apply button for atlas settings, prevents
...
numerous refetching/redrawing when tweaking atlas configuration
2015-08-03 16:46:59 +10:00
Nyall Dawson
69ac6771e8
[FEATURE][composer] Add page name option for atlas
...
Page name can be set to either a field or expression derived from
the coverage layer, and is shown in the new atlas page combobox.
2015-08-03 16:46:59 +10:00
Nyall Dawson
5537e23f35
[composer] Keep atlas page combo in sync when atlas feature changes
2015-08-03 16:46:59 +10:00
Salvatore Larosa
e980e760b4
[composer ui] fix tooltip for add shape action in composer
2015-07-29 14:43:51 +02:00
Nyall Dawson
d07dadf333
[FEATURE][composer] Add page number combo box to atlas toolbar
...
(fix #13136 )
2015-07-23 15:02:06 +10:00
Nyall Dawson
1d6086c02e
[composer] Add shape items to layout menu ( fix #12982 )
2015-06-18 08:10:51 +10:00
Denis Rouzaud
9e3183c63f
Revert "sort includes"
...
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73
sort includes
2015-06-10 13:59:08 +02:00
Matthias Kuhn
6952a389ea
Fix compiling without QtWebKit
...
This makes it possible to compile QGIS master for Android.
Hooray!
2015-05-22 11:48:02 +02:00
Nyall Dawson
06732f1373
Possible fix for slow loading projects when the project contains
...
print compositions and there is network issues with connections
to installed printers. (workaround QTBUG-3033)
(refs #12234 )
2015-05-20 06:05:42 +10:00
Nyall Dawson
d4248411f9
Avoid some ugly qgis-dev-bin window titles
2015-05-07 21:13:49 +10:00
Sandro Mani
cc9f2a6270
Call QgsComposer::restoreComposerMapStates in QgsComposer:changeEvent,
...
not in showEvent (latter does not work reliably with some window
managers, such as openbox) (fix #6085 )
2015-04-14 09:41:46 +10:00
Juergen E. Fischer
f9ace43a0f
emit is not a function
2015-02-11 03:19:45 +01:00
Nyall Dawson
77fcf8cebd
[composer] Correctly restore dock visibility and active dock tab
...
After using the show/hide panels action all dock tabs would be
shown (ignoring previously hidden tabs) and the active dock tab
would be randomly chosen. Now, the previous settings are remembered
and correctly restored.
2015-01-29 18:09:31 +11:00
Anatoliy Golubev
d5d4a5adeb
Q_WS_* macros removed from Qt5, to determine platform use Q_OS_* macroses which exists in Qt4 and Qt5
2014-12-23 12:34:21 +03:00
Sandro Santilli
ddb406d944
Make existing ModelTest users use the new ENABLE_MODELTEST define
2014-12-19 15:14:29 +01:00
Juergen E. Fischer
57644354f4
fix source permissions
...
Consider using 'git config core.filemode false' on Windows
find . \( -name "*.cpp" -o -name "*.h" \) -perm /111 -exec chmod a-x {} \;
2014-11-12 23:46:57 +01:00
Nyall Dawson
48e0a59182
[FEATURE][composer] New action for toggling visibility of panels
...
This change adds a new action to the composer which hides or shows
all panels from the window. It's useful for maximising the space
available to interact with a composition. A shortcut (F10) and menu
item can be used to toggle this option, or via pressing 'tab' while
the main composer view is focused.
2014-11-01 06:38:51 +11:00
Nyall Dawson
220bc84481
[FEATURE][composer] Full screen mode for composer
...
This change adds a full screen mode for the composer. Full screen
mode can be enabled via a shortcut key (F11) or via a menu action.
2014-11-01 06:38:51 +11:00
Nyall Dawson
7b537f640f
[FEATURE][composer] Add view menu option to hide bounding boxes
...
This allows users to hide the bounding boxes for selected items
within a composition. It's a handy feature for allowing interaction
with items while previewing exactly how they will look when the
composition is exported, without large boxes blocking the view.
2014-11-01 06:38:51 +11:00
Denis Rouzaud
c180fecbef
support icons in map layer actions
2014-10-31 15:21:46 +01:00
Nyall Dawson
8617143c9e
Hide borders from status bar items under Windows
...
These aren't required and just clutter the interface.
2014-10-28 12:56:21 +11:00
Juergen E. Fischer
82b6e0342a
cosmetic cleanups, typo fixes, formatting
2014-10-21 01:33:20 +02:00
Nyall Dawson
8ab0674f44
[composer] Fix page orientation and size ignored when printing
...
Turns out QPrinter::setPaperSize silently flips the width and height
of a page if the printer orientation is set to landscape. So, make sure
we manually set the orientation to portrait before setting the page size
so that we can be sure the QPrinter is set to the correct page size.
This also restores the 2.4 behaviour where users could override
printed page size in the printer properties dialog (but only if
no data defined page size settings are active).
(fix #11352 )
2014-10-21 06:46:19 +11:00
Nyall Dawson
9bc7eca7b2
Cleanup action text
...
Make sure all actions use standard capitalization and ... suffixes when
required. Add missing menu key shortcuts to composer actions.
2014-10-20 17:26:01 +11:00
Nyall Dawson
7798bd8abb
[composer] Fix crash caused by 7773d4e
...
Don't set the parent object of a composition to a composer view, as
we manage deletion of compositions manually and don't always want
the composition deleted when a view a deleted.
2014-10-19 17:11:36 +11:00
Nyall Dawson
a5fe174804
Fix crashes when using atlas and expressions which rely on specialcolumns. Bring on context based expressions so we can remove this hack!
2014-10-07 22:11:26 +11:00
Nyall Dawson
6d850ad51a
[composer] Remove a bunch of duplicate render calls to map items during atlas previews
2014-10-06 23:03:46 +11:00
Nyall Dawson
bcc3011f6d
[composer] Remove duplicate canvas refreshes
2014-10-06 23:03:46 +11:00
Nyall Dawson
d66e4dc175
[composer] Remove 'new from template' action from composer, following UI list discussions
2014-10-01 20:44:57 +10:00
Nyall Dawson
fb7415c3ff
[composer] Refresh refetches atlas feature from provider, more removal of duplicate map redraws
2014-09-30 20:37:16 +10:00
Nyall Dawson
272b79b6ca
[FEATURE][composer] Add checkbox to frame items for preventing export
...
of page containing frame when frame is empty. This change allows
users to create multiple pages containing extra frames for multiframe
items (currently HTML and Attribute Table items), which are then only
printed/exported if required. Sponsored by the City of Uster, Switzerland.
2014-09-26 01:08:07 +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
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
fefc243b71
[composer] Initial groundwork for multiframe table item (Sponsored
...
by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
307d4bd5a9
Follow up 21c81d6
2014-09-17 20:31:28 +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
6adab880da
[composer] Clean up map grid API, fix bug with grids not rearranging
...
correctly (sponsored by NIWA, New Zealand)
2014-09-03 21:21:21 +10:00
Nyall Dawson
a64e7b134c
More const correctness, fix crash with atlas
2014-09-02 19:31:43 +10:00