Nyall Dawson
625eef80eb
Fix resizing with mouse handles acts strangely when items have frames
2017-11-07 11:32:38 +10:00
Nyall Dawson
8629225a41
Work on functional rotation for items
2017-11-07 11:32:38 +10:00
Nyall Dawson
ce79ff30c8
Add refresh action for layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
c0b63a6778
After creating an item with the add item tool, switch immediately to select tool
2017-11-07 11:32:38 +10:00
Nyall Dawson
3678f01e54
Port item opacity handling from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
75898d8e09
Port 'exclude from exports' functionality from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
4e8878dcb3
Port item blend mode support to layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
0143d0be68
Add a signal to QgsLayoutContext when flags change
2017-11-07 11:32:38 +10:00
Nyall Dawson
91c3b5d255
Add a shortcut menu to items panel, with option to show
...
item properties
Refs #11581
2017-11-07 11:32:38 +10:00
Nyall Dawson
e836fc49b1
When selecting a different item, but the item is the same
...
type of item, just update the existing panel to show the new
item's properties
This means that flicking between selecting items of the same
type will not create a new properties widget, so scroll
bar positions, focused widgets, etc are all maintained.
Makes using layouts less annoying.
2017-11-07 11:32:37 +10:00
Nyall Dawson
ab4e6c11ed
Fix resizing items with non-top-left reference point using mouse handles
2017-11-07 11:32:37 +10:00
Nyall Dawson
1c735d59ee
Handle position and size with units and ratio lock in item properties
2017-11-07 11:32:37 +10:00
Nyall Dawson
aebe5a42e6
Allow reseting ratio manually for linked ratio lock buttons
2017-11-07 11:32:37 +10:00
Nyall Dawson
ea453beb73
If the same item is reselected in a layout, don't create a new
...
properties widget for it
Because if we do annoying things happen, like loss of focused
widget and scroll bar position
2017-11-07 11:32:37 +10:00
Nyall Dawson
b2414d8d8d
Start porting item properties widget
2017-11-07 11:32:37 +10:00
Nyall Dawson
d3836e502a
Move population of layout gui registry from GUI->app
...
Since we don't want all the item type subclass config widgets
to have to reside in gui, we need to populate the registry
from app instead.
2017-11-07 11:32:37 +10:00
Borys Jurgiel
6b76c2b377
Missing docstrings
2017-11-06 17:45:46 +01:00
Alessandro Pasotti
b57ec46aa0
getter return not-const list of errors
2017-11-06 16:49:33 +01:00
Borys Jurgiel
64ab28bf59
Rename indx to index in some slots
2017-11-06 16:37:27 +01:00
Alessandro Pasotti
af5760044a
const range loop iterators
2017-11-06 15:09:15 +01:00
Borys Jurgiel
966e2d6639
Make QgsOptionsDialogBase's slots virtual for overriding in derived clases with non-standard tabs (fixes broken tab behaviour in Plugin manager)
2017-11-06 14:27:32 +01:00
Alessandro Pasotti
cd23779e6f
[auth][bugfix] Add a getter for error list on qgsmigrate
2017-11-06 12:42:20 +01:00
Nyall Dawson
4e3b082594
Restrict available formats when running algorithms to those supported
...
by the provider
2017-11-06 12:58:30 +10:00
Nyall Dawson
4ae9241e71
[processing] Allow providers to determine default vector/raster file
...
to use for their algorithm's parameters
Because some providers do not have support for all output types,
we need to give providers a way to restrict the default format
choices to those which are supported by the provider.
2017-11-06 12:44:38 +10:00
Nyall Dawson
2a280d69aa
Allow access to parent algorithm for processing parameters
2017-11-06 12:00:16 +10:00
Nyall Dawson
31f98dac03
Merge pull request #5534 from nyalldawson/format
...
Add flags to QgsVectorFileWriter methods which return lists of drivers
2017-11-06 08:56:17 +10:00
Matthias Kuhn
394c53154f
Update for nose2 0.7.0
2017-11-05 23:03:16 +01:00
Nyall Dawson
8499d7fcef
Add option to hide non-spatial formats from driver lists
...
And hide non-spatial formats from geometry checker available formats
2017-11-06 07:49:31 +10:00
Nyall Dawson
fe0566000e
More QPair API removal
2017-11-06 07:34:01 +10:00
Nyall Dawson
a4ef7e42c7
Avoid use of QPair and instead use a struct
2017-11-06 07:22:04 +10:00
Nyall Dawson
dc341d2047
Add flags to QgsVectorFileWriter methods which return lists of drivers
...
Initially only flag available is whether to sort drivers by
recommended order. The recommended order puts GPKG first and
SHP second, then leaves the rest alphabetical.
This fixes a few instances in the QGIS gui where these recommended formats
are not listed first.
2017-11-06 07:22:04 +10:00
Juergen E. Fischer
24e6366815
mod_spatialite added to osgeo4w
2017-11-05 21:03:08 +01:00
Médéric RIBREUX
da90477121
Improve input detection and add new algorithms
2017-11-05 13:52:26 +01:00
Médéric RIBREUX
d10aaf4bd4
Support multiple output file raster formats:
...
* A new createopt textbox has been added to the parameters dialog for algorithms which exports to raster files.
* A new metaopt textbox has also been added to the Algorithm parameters dialog.
* Raster file format is detected from output filename extension.
* GdalUtils has been improved to correctly detect raster formats supported for creation.
* QFileDialog for output rasters now display only file filters for supported output raster file formats.
2017-11-05 13:18:24 +01:00
Borys Jurgiel
a8f46652d4
[Plugin manager] Remove dead code
2017-11-04 22:55:11 +01:00
Borys Jurgiel
cfec339c30
[Plugin manager] [needs-doc] Don't preload plugins for a test if they are broken. That function slowed down QGIS startup
2017-11-04 22:46:03 +01:00
Médéric RIBREUX
aa17df1a55
* Add new GRASS 7.2 algorithms.
...
* Fix ParameterRange GUI.
* Fix Multiple values Enum support.
2017-11-04 18:34:25 +01:00
Médéric Ribreux
6c81895fb0
Improve GRASS provider:
...
- Improve GRASS detection for all OS.
- Use GRASS --exec command.
- Unified GRASS batch job method for all OS (easier to maintain).
- Handle MS-Windows codepages (for data only, if you have a username with special characters, it will not work).
- Better support for filepath normalization.
- add -m option to r.out.gdal.
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
c63df209a8
Fix cz function
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
74826dc1ea
Support directory output via QgsProcessingParameterFolderDestination
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
b46e969325
Fix indentation
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
65f483d613
Modify Grass7 detection
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
d6fb7181aa
Fix layers loading...
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
4b8b6a09c8
Massive conversion
2017-11-04 15:31:21 +01:00
Médéric Ribreux
56b963e313
Improve ext scripts and support OutputFolder
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
5827513c4b
First work on ext mechanism factorisation
2017-11-04 15:31:21 +01:00
Médéric Ribreux
6bf8448bfb
Improve cell size detection and FileDestinationOutput (but not perfect)
2017-11-04 15:31:21 +01:00
Médéric Ribreux
f32bba4456
(WIP) better cellsize suport
2017-11-04 15:31:21 +01:00
Médéric Ribreux
f0da7b0186
Improve MultiLayers and FileDestination support
2017-11-04 15:31:21 +01:00
Médéric Ribreux
9a52e344fd
First working raster algorithm
2017-11-04 15:31:21 +01:00