42232 Commits

Author SHA1 Message Date
Nyall Dawson
d950f17e75 Add item bounds based snapping to QgsLayoutSnapper 2017-10-06 17:48:24 +10:00
Nyall Dawson
172d484c9e Fix undo/redo for mouse actions 2017-10-06 17:48:24 +10:00
Nyall Dawson
8517cfefc5 Prevent unwanted mouse cursor changes 2017-10-06 17:48:24 +10:00
Nyall Dawson
6ab9c223f8 Fix resizing items 2017-10-06 17:48:24 +10:00
Nyall Dawson
e0089fb84c Move mouse handles to select tool 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
d7bd44d9e7 Work on interactive moving of items 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
1f94b822a8 Fix click behavior in select tool 2017-10-06 17:48:24 +10:00
Nyall Dawson
207bcad626 Start porting mouse handles to layout 2017-10-06 17:48:24 +10:00
Nyall Dawson
b9ecb4f941 Add method to push messages to layout designer status bar 2017-10-06 17:48:24 +10:00
Nyall Dawson
fac2d7fbdc Allow selection tool to control selection 2017-10-06 17:48:24 +10:00
Nyall Dawson
6b700e2e93 Don't pass handled mouse events down to QGraphicsView 2017-10-06 17:48:24 +10:00
Nyall Dawson
fb8601ffae Shape items should not have a background/frame 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
2d484db737 Fix doxygen warning
See http://doxygen.10944.n7.nabble.com/How-can-I-escape-in-a-comment-td5528.html
2017-10-06 17:47:53 +10:00
Mario Baranzini
5b050428da Fix QgsDockWidget custom widget 2017-10-06 09:20:43 +02:00
Nyall Dawson
8deed6c497 Merge pull request #5300 from nyalldawson/formatting
Doxygen Formatting
2017-10-06 17:17:41 +10:00
Nyall Dawson
58d7176979 Fix build warnings 2017-10-06 11:33:05 +10:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Nyall Dawson
78c0c28468 Fix doxygen warnings 2017-10-06 07:55:52 +10:00
Nyall Dawson
49b426d951 Make doxygen_space script convert multiline //! comments
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Nyall Dawson
d9952b6317 Initialize pointers to nullptr in headers 2017-10-06 07:55:51 +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
a725dae950 Merge pull request #5288 from manisandro/defer_repack_v2
[OGR] Pass AUTO_REPACK=OFF when opening datasets for non-implicit update modes
2017-10-05 11:27:53 +02:00
Alessandro Pasotti
7528207333 [auth] Sipify 2017-10-05 08:50:06 +02:00
Alessandro Pasotti
75e0948f44 [auth] More verbose docstrings 2017-10-05 08:12:59 +02:00
nirvn
1e60213a84 [layout] improve the select / move item tool icon 2017-10-05 11:03:01 +07:00
nirvn
979571f17e [layout] update align action icons 2017-10-05 11:03:01 +07:00
Sandro Mani
de126a1452 Also handle QgsWkbTypes::Triangle in QgsSymbol::renderFeature 2017-10-04 22:22:38 +02:00
Sandro Mani
ab82c63bbe Fix QgisApp::askUserForOGRSublayers expecting 4 fields per sublayer, but since 51abef4d there can be up to 5 2017-10-04 22:15:52 +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
e38eec12a5 Remove debug leftover 2017-10-04 22:11:34 +02:00
Sandro Mani
4d51b3d9e9 Fix QgsTriangle::fromWkb possibly not setting ring geometry 2017-10-04 22:11:34 +02:00
Sandro Mani
e151f20ee1 Also handle triangles in QgsGeometryFactory::geomFromWkbType 2017-10-04 22:11:34 +02:00
Larry Shaffer
3852e5db98 [auth] Update wording of auth settings widget; add formatted warnings 2017-10-04 13:58:50 -06:00
Matthias Kuhn
ab9e2fcb68
Fix multiline docstring 2017-10-04 14:50:42 +02:00
Harrissou Sant-anna
d1a9d3f1cf Remove the unneeded close button on select by expression (#5273)
fixes #17207
2017-10-04 14:46:20 +02:00
Matthias Kuhn
7428516d20
Less executable files in codebase 2017-10-04 14:38:27 +02:00
Larry Shaffer
74e9242d44 [auth] Update embedded QgsAuthSettingsWidget spacing
- Minimize all text-wrapped QLabel text in QgsAuthSettingsWidget
  (wrapped text defaulted to 3 lines of spacing, even if not used)
- Remove default 'Basic' text
- Hide Basic QLabel if there is no text
- Add 'Optional' placholder text for Password of Basic
- Fix non-expanded Name and URL fields for newhttpconnectionbase.ui
- Smaller minimum size for QgsAuthConfigSelect
- Minimize 'Convert to configuration' button width
2017-10-04 04:41:01 -06:00
Sandro Mani
7eb247525b [OGR] Don't call repack after OGR_L_SyncToDisk if compiled against gdal-2.2.0+
OGR_L_SyncToDisk internally does a repack with gdal-2.2.0 onwards
2017-10-04 12:17:20 +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
Matthias Kuhn
1cdbbf4d7f
Private classes should not be exported 2017-10-04 12:16:26 +02:00
Matthias Kuhn
4d1fea0b04
CMakeLists.txt does not need to be executable 2017-10-04 12:16:25 +02:00