Alessandro Pasotti
9ff73c0b77
[bugfix] Sync the bowser connections when changed from the select dialogs
...
For now, the sync works only in one direction: from the dialogs
to the browser instances
2017-07-18 11:38:53 +02:00
David
7ec8c4ae3b
Codestyle
2017-07-18 09:59:21 +02:00
David
11bb2488ea
Fix in attributetable - unable to update column
...
Fix #16746
2017-07-18 09:59:21 +02:00
David
fd9213ce72
Fix crash in attributetable when removing more than one column
...
References #16746
2017-07-18 09:59:21 +02:00
Nyall Dawson
1f9512e6db
Make locator bar a bit wider
2017-07-18 13:49:03 +10:00
Nyall Dawson
b83415688a
Save/restore window geometry for plugin installer repo fetching dialog
2017-07-18 13:49:03 +10:00
Mathieu Pellerin
3037f22482
Non-blocking save as image/PDF dialogs ( #4874 )
2017-07-18 10:47:06 +07:00
Nyall Dawson
54bf013004
Update tests
2017-07-18 13:42:04 +10:00
Nyall Dawson
4e0e038aab
Dox updates
2017-07-18 13:04:03 +10:00
Nyall Dawson
7f066672b3
Add method to specify item groups for item classes in QgsLayoutItemGuiRegistry
...
This allows the designer dialog to group the corresponding item
actions together (i.e. grouping all basic shape creation actions
together), but without any hardcoded special handling so that
plugin based items can also be grouped.
2017-07-18 12:42:06 +10:00
Nyall Dawson
de2626d65c
Add unit types to new item properties dialog, handle different reference
...
point settings
2017-07-18 12:42:06 +10:00
Nyall Dawson
19a7863ea4
Add methods to construct layout size/point from QSizeF/QPointF
2017-07-18 12:42:06 +10:00
Nyall Dawson
d14f3b9c13
Add QComboBox subclass widget for selecting layout units
2017-07-18 12:42:06 +10:00
Nyall Dawson
cdec70babe
[needs-docs] Add a new item properties dialog
...
When adding a new item to a layout, if the user just does a single
click of the mouse (vs a click and drag to set the new item
position/size), then a dialog is shown asking to user for
the new item size/position/reference point.
This allows easy creation of items with an exact position/size
and is common behavior in most proper DTP/illustration apps.
2017-07-18 12:42:06 +10:00
Nyall Dawson
b4f5025d4f
Port shape items to layouts
2017-07-18 12:42:06 +10:00
Nyall Dawson
38cbbe23aa
Implement a cache for item content renders
...
Speeds up redraw of items, making use of layout designer much
faster with slow to redraw items.
This will also make it possible to use live effects on layout
items without killing performance of the designer.
2017-07-18 12:42:06 +10:00
Nyall Dawson
436710a177
Ensure that item painter is correctly scaled so that painter units are pixels
2017-07-18 12:42:06 +10:00
Nyall Dawson
56bb65709d
Change QgsLayoutItem::draw to use a renderContext instead of
...
direct QPainter argument
This will make use of other rendering code within layout items
much easier - since symbology/text renderer/diagrams/etc all
require QgsRenderContexts for use, it makes sense for
layout item rendering to also use this approach.
This also avoids lots of duplicate code which was scattered
throughout different composer item types to manually handle
creation of QgsRenderContexts when required.
2017-07-18 12:42:06 +10:00
Nyall Dawson
c282024748
Partially port some layout utils for render context creation
2017-07-18 12:42:06 +10:00
Nyall Dawson
7a0851c2ce
Shell class for QgsLayoutItemMap
2017-07-18 12:42:06 +10:00
Nyall Dawson
00405fd6b5
Start porting item rotation
2017-07-18 12:42:06 +10:00
Nyall Dawson
c3456133dc
Add QgsLayoutUtils
2017-07-18 12:42:06 +10:00
Nyall Dawson
6fd06983a6
Port data defined item position and size
2017-07-18 12:42:06 +10:00
Nyall Dawson
3f0a0cb063
Ensure that moving/resizing items respects reference point
2017-07-18 12:42:06 +10:00
Nyall Dawson
d0c844ed67
Implement item size and positioning using layout units
2017-07-18 12:42:06 +10:00
Nyall Dawson
498c4cda16
Add some rendering checks for layout items
2017-07-18 12:42:06 +10:00
Nyall Dawson
dd370373be
Port a bunch of low-level methods to layouts
...
Relating to expression contexts and variables
2017-07-18 12:42:06 +10:00
Nyall Dawson
15b65fa6d4
Port some basic functionality from QgsComposerObject
2017-07-18 12:42:06 +10:00
Nyall Dawson
a6156d9221
Layouts have a name
2017-07-18 12:42:05 +10:00
Nyall Dawson
ab79b1560c
[layout] Add measurement unit handling to QgsLayout
...
Allows layouts to convert from various units to their
own native units
Also added a QgsLayoutContext to QgsLayout.
2017-07-18 12:42:05 +10:00
Nyall Dawson
cd380f616c
Add measurement converter and dpi to layout context
2017-07-18 12:42:05 +10:00
Nyall Dawson
b2b35dd084
Add a context class for layouts
...
Stores information relating to the current context (such as
associated feature and layer) and rendering settings for a layout.
2017-07-18 12:42:05 +10:00
Nyall Dawson
d70f53c405
Merge pull request #4876 from nyalldawson/upstream_ftw
...
Upstream some sourcepole fork commits
2017-07-18 11:02:52 +10:00
Sandro Mani
514e43057a
Re-use timer in QgsMapCanvas::refresh to ensure multiple refresh requests get compressed
...
Forward port from Sourcepole's fork
2017-07-18 09:51:45 +10:00
Sandro Mani
f405b96ddd
Demote translation loading warning to debug msg
...
(forward port from Sourcepole's fork)
2017-07-18 09:37:28 +10:00
Juergen E. Fischer
9bae832753
add (unemitted) signals to provider source selectors to silence data
...
source manager connection warnings
2017-07-18 00:09:32 +02:00
Juergen E. Fischer
205b7051dc
don't close database selection dialogs
2017-07-17 22:24:18 +02:00
Juergen E. Fischer
bae6d56388
consider datum transformation when pasting features ( fixes #16846 )
2017-07-17 22:22:49 +02:00
rldhont
349c996ad2
[Server] WMS GetFeatureInfo refactoring cleanup
2017-07-17 15:47:55 +02:00
Juergen E. Fischer
bcc8e90640
Fix qgsversion.h creation
2017-07-17 15:26:43 +02:00
David
06cb6342fc
run target t2tdoc (followup 478dd209)
2017-07-17 13:17:57 +02:00
David
44cb806047
Additional libraries for Fedora
2017-07-17 13:17:57 +02:00
rldhont
f926033699
[Server] WMS GetFeatureInfo refactoring
2017-07-17 12:39:34 +02:00
Alexander Bruy
e61daed979
Merge pull request #4869 from alexbruy/network-analysis
...
[processing] restore network analysis algorithms
2017-07-17 12:45:16 +03:00
Alexander Bruy
f3f74a9ddf
[processing] adapt network analysis algorithms to latest API changes
2017-07-17 11:32:12 +03:00
Alexander Bruy
4a6ceffc54
[processing] make service area outputs optional
2017-07-17 11:09:28 +03:00
Alexander Bruy
bee5683643
[processing] allow diferent CRS for point layers and network layer
2017-07-17 11:09:28 +03:00
Alexander Bruy
95de3a414a
[processing] add cancellation support where possible
2017-07-17 11:09:28 +03:00
Alexander Bruy
5af177e963
[processing] restore Service area from layer
2017-07-17 11:09:28 +03:00
Alexander Bruy
abd14e8b94
[processing] restore Service area from point
2017-07-17 11:09:28 +03:00