Ismail Sunni
1be2f3ee66
Add methods to remove variables from global/project scope
2017-10-09 12:03:37 +10:00
Nyall Dawson
9aa6142bab
Merge pull request #5291 from nyalldawson/layout_next
...
[layouts] Port most interaction actions from composer
2017-10-09 10:12:17 +10:00
Matthias Kuhn
8915936296
Close file after write
2017-10-07 15:23:56 +02:00
Matthias Kuhn
379b5ed7de
Remove executable flag from test files
2017-10-07 15:23:56 +02:00
Matthias Kuhn
83f9e81e95
[travis] Less noise for DB initialisation
2017-10-07 14:21:13 +02:00
Marco Bernasocchi
1c63522819
Added QgsFields::names method to get a list of all the names of fields
2017-10-06 22:52:26 +02:00
Nyall Dawson
0c858d27d6
Port display name handling from composer
2017-10-06 18:43:10 +10:00
Nyall Dawson
c8eaeb8f93
Port hide pages action from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
aa7beaad6a
Port keyboard nudge of items from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
66b4bdf01d
Fix invalid merge of non equal item commands
2017-10-06 17:48:25 +10:00
Nyall Dawson
a66f2cb684
Nicer API for adding/removing items
...
Automatically create the corresponding undo commands, so that
plugins and scripts which add/delete items will be added to
the undo stack without any work required.
2017-10-06 17:48:25 +10:00
Nyall Dawson
f3bfcc3182
Save/restore frame properties, add unit tests for undo/redo
2017-10-06 17:48:25 +10:00
Nyall Dawson
616aec1566
Save/restore a few more layout item properties
2017-10-06 17:48:25 +10:00
Nyall Dawson
c022bc825e
[FEATURE][layouts] Add 'resize to square' action
...
Resizes all selected items so that they are square
2017-10-06 17:48:25 +10:00
Nyall Dawson
e3616f08c4
[FEATURE][layout] Add actions to auto resize items in a selection
...
Options are resize to narrowest, widest, shortest and tallest.
2017-10-06 17:48:25 +10:00
Nyall Dawson
5141c05ba7
[FEATURE][layout] Add item distribution actions
...
Adds actions for distributing selections of items by their
left/center/right/top/bottom edges.
Useful for quickly evenly distributing items in the layout
Needs new icons
2017-10-06 17:48:25 +10:00
Nyall Dawson
c5fcc9da69
Unit tests for alignment
2017-10-06 17:48:25 +10:00
Nyall Dawson
c6da276783
Add more unit tests
2017-10-06 17:48:25 +10:00
Nyall Dawson
822d6f76a3
Move actions which apply to selected items only to QgsLayoutView
...
Selections are a gui concept, so these actions belong to the
gui class instead of cluterring QgsLayout
2017-10-06 17:48:25 +10:00
Nyall Dawson
fdba8f199a
Add tests for changing item z order
2017-10-06 17:48:25 +10:00
Nyall Dawson
e74a632002
Unfinished restore of stacking actions
2017-10-06 17:48:25 +10:00
Nyall Dawson
4cba2b90ef
Port select next above/below actions
2017-10-06 17:48:25 +10:00
Nyall Dawson
dbb31253e9
Resurrect locking/unlocking item actions
2017-10-06 17:48:25 +10:00
Nyall Dawson
62a5679230
Port item model from composer to layouts
2017-10-06 17:48:25 +10:00
Nyall Dawson
b494a71feb
Port selection actions to layout
2017-10-06 17:48:25 +10:00
Nyall Dawson
de9653044a
Remove redundant custom enum (use Qt version instead)
2017-10-06 17:48:25 +10:00
Nyall Dawson
d65a18c5c0
Fix item snapping while resizing
2017-10-06 17:48:24 +10:00
Nyall Dawson
051ed1e156
Prevent snapping to selected items when resizing
2017-10-06 17:48:24 +10:00
Nyall Dawson
d950f17e75
Add item bounds based snapping to QgsLayoutSnapper
2017-10-06 17:48:24 +10:00
Nyall Dawson
bfa9c1d661
Port methods for retrieving item at a point to layouts
2017-10-06 17:48:24 +10:00
Nyall Dawson
2d6cbd6bba
Restore ability to show/hide selection bounds
2017-10-06 17:48:24 +10:00
Nyall Dawson
7d072beee7
Add signals for size and rotation changes
2017-10-06 17:48:24 +10:00
Nyall Dawson
b5777adbdd
Port some composer utils
2017-10-06 17:48:24 +10:00
Nyall Dawson
bb129516f8
Port selection handling code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
51efa19f75
Port item frame related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
0b188295bc
Port item selection and lock related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
4e61ea892a
Port frame and background handling to layout items
...
And add support for frame widths with units
2017-10-06 17:48:24 +10:00
Nyall Dawson
04a9cd9211
Add more consistency to doxygen formatting
2017-10-06 08:19:00 +10:00
Alessandro Pasotti
dcc672520c
Merge pull request #5281 from boundlessgeo/auth_use_settings_widget
...
[auth][needs-docs] Provider connection dialogs use the new auth settings widget
2017-10-05 17:33:56 +02:00
Sandro Mani
2f44d52ee5
Merge pull request #5298 from manisandro/ogr_tin_triangle
...
[Feature][OGR] Support Triangle, TIN and PolyhedralSurface geometry types by mapping them to Polygon and MultiPolygon respectively
2017-10-05 11:29:02 +02:00
Sandro Mani
abaeb9e9c1
[Feature][OGR] Support Triangle, TIN and PolyhedralSurface geometry types by mapping them to Triangle and MultiPolygon respectively
2017-10-04 22:15:43 +02:00
Sandro Mani
4e2e3608f0
[OGR] Pass AUTO_REPACK=OFF when opening datasets for non-implicit update modes
2017-10-04 12:17:20 +02:00
rldhont
3e45f997a6
Merge pull request #4912 from dmarteau/svg-marker-size
...
[FEATURE][needs-docs] Svg marker size: change aspect ratio
2017-10-04 12:02:32 +02:00
Matthias Kuhn
c764d9c177
Merge pull request #5256 from qgis/docker2
...
[travis] Use docker to run test
2017-10-04 11:11:52 +02:00
Martin Dobias
7874d4b6d6
Merge pull request #5183 from wonder-sk/cad-utils
...
Refactor CAD editing alignment logic to new QgsCadUtils class
2017-10-04 00:04:03 +02:00
Matthias Kuhn
159486515b
Add sanitized landsat2.nc
...
@rouault
> [landsat2.nc.zip](https://github.com/qgis/QGIS/files/1352514/landsat2.nc.zip )
> "gdal_translate -of NETCDF landsat.tif landsat2.nc" will not work as expected
> since the driver doesn't support creating subdatasets. I have used ncdump +
> manual changing of _FillValue to 0 + ncgen to recreate it. Hopefully it
> should work (untested) Result attached
2017-10-03 17:36:40 +02:00
Matthias Kuhn
6d683230de
Disable unstable tests
...
Parts of the following tests behave unstable because of enironment changes
(distro upgrade, running in docker, ...) or dependency updates.
- qgis_rastersublayertest (Failed)
- PyQgsShapefileProvider (Failed)
- PyQgsWFSProvider (Failed)
They are unlikely to be introduced by the new continuous integration
environment.
Therefore, the affected parts have been disabled. Help by knowledgeable
developers to make the tests more stable or fix real underlying issues.
2017-10-03 17:36:39 +02:00
Martin Dobias
5172a339ca
Finished unit tests
2017-10-03 17:01:54 +02:00
Martin Dobias
878dfddd3b
Refactor CAD editing alignment logic to new QgsCadUtils class
2017-10-03 17:01:54 +02:00
Nyall Dawson
b27382d011
[processing] Fix history doesn't correctly escape values
...
Fixes #17229
2017-10-03 19:01:13 +10:00