1559 Commits

Author SHA1 Message Date
Nyall Dawson
831732f3a3 Sipify 2017-12-17 14:18:36 +10:00
Nyall Dawson
261492ddca Add a messagebar to layout designer 2017-12-17 14:14:31 +10:00
Nyall Dawson
113664fe2e Port method for pausing layout view updates 2017-12-17 14:14:31 +10:00
Denis Rouzaud
be8d1d7782 run sipify 2017-12-16 10:45:52 -04:00
Denis Rouzaud
c604d2dda6 run sipify 2017-12-15 22:13:44 -04:00
Nyall Dawson
8802482778 Remove redundant overridden default destructor implementations 2017-12-16 08:50:55 +10:00
Nyall Dawson
4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00
Denis Rouzaud
f2b3ed0a9b run sipify 2017-12-15 11:12:19 -04:00
Nyall Dawson
0c7cf21fe2
Merge pull request #5535 from nyalldawson/datum
Datum transform handling rework, pt 1
2017-12-15 22:53:02 +11:00
Denis Rouzaud
68aef9a426 ask for datum transform update on layer or project crs change
in the case of project crs change, if several transforms are available, pop up a message rather than showing multiple dialogs
2017-12-15 14:16:59 +10:00
Denis Rouzaud
5cc3a1f079 added method in QgisApp to ask for datum 2017-12-15 14:14:47 +10:00
Nyall Dawson
018bfb49f9 Remove QgsDatumTransformStore
and port usage over to QgsCoordinateTransformContext instead
2017-12-15 14:13:52 +10:00
Nyall Dawson
f2b70ffdc6 Allow clickable links in message bar text
Links are opened using QDesktopServices::openUrl, i.e. the
default OS handler for that link type
2017-12-15 14:48:52 +11:00
Etienne Trimaille
ff15896c30 getter for the output crs in QgsExtentGroupBox 2017-12-15 10:38:08 +11:00
Nyall Dawson
9984962257
Merge pull request #5864 from nyalldawson/favorites
[browser] Allow renaming favorite items
2017-12-15 08:58:28 +11:00
Matthias Kuhn
3abff0e938 Add allowEvalError flag to QgsExpression widgets
Some expression functions insist on a complete context which we
sometimes are not able to provide. The user might still have enough
knowledge that the expression is valid and an error will still be shown.
2017-12-14 09:04:07 +01:00
Nyall Dawson
8df67111cd [needs-docs][browser] Allow renaming favorite items
Otherwise favorites can be useless if you're trying to favorite
a long path

Fixes #6780
2017-12-14 15:44:39 +10:00
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00
Alessandro Pasotti
e479b71594 [bugfix] Do not crash when layer is destroyed while loading
Fixes #17636 QGIS crashes when a layer is removed
while loading the attribute table
2017-12-09 16:07:02 +01:00
nirvn
de0ac14ae1 [ui] use qgsfilewidget in the save raster as dialog 2017-12-07 16:24:28 +07:00
nirvn
c2acb5feec [ui] use qgsfilewidget in the create shapefile layer dialog 2017-12-07 16:00:32 +07:00
Harrissou Sant-anna
571bf54d2a [needs-docs] Refactor the New Shapefile dialog to mimic the GeoPackage sequence (#5803) 2017-12-07 09:39:12 +07:00
Nyall Dawson
89420fccd6 Sipify 2017-12-07 08:51:52 +10:00
Nyall Dawson
17656f23c6 Pasting items from layout context menu pastes them at menu origin
instead of final cursor position
2017-12-07 08:50:01 +10:00
Nyall Dawson
ac6c131212 Fix crash when reopening existing layouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
e5e37fcafa [needs-docs] Use a QgsFileWidget for template file selector
Rename "Add" button to "Create"
2017-12-07 08:50:01 +10:00
Nyall Dawson
a30dd8a153 Port composer manager dialog to layouts
Not exposed via GUI yet, but can be shown by entering

iface.showLayoutManager()

in the Python console
2017-12-07 08:50:01 +10:00
Nyall Dawson
a64a675830 [FEATURE][layouts] Support drag and drop of QPT templates onto layout windows
To add contents of template onto layout
2017-12-07 08:49:54 +10:00
Nyall Dawson
eea36c0212 Add custom drop handlers for layout windows 2017-12-07 08:49:54 +10:00
Nyall Dawson
d2fcf11336 [layouts] Add context menu entries for "copy" and "delete" item to
items list panel right click menu

Refs #11581
2017-12-07 08:49:33 +10:00
Nyall Dawson
feec186fbf [layout] Add context menu entries for cutting/copying, and pasting items
Fixes #1830
2017-12-07 08:49:33 +10:00
Nyall Dawson
b03ce047db Start restoring copy/paste functionality 2017-12-07 08:49:33 +10:00
Denis Rouzaud
906259b2f7 [doxygen] remove useless @brief 2017-12-06 08:31:12 -04:00
Denis Rouzaud
f29306d4af [doxygen] replace @param by \param 2017-12-06 08:31:12 -04:00
Blottiere Paul
14e6df450a
Merge pull request #5780 from pblottiere/bugfix_reshape2
[bugfix]  Do not add binding line in both side in reshape map tool
2017-12-06 12:08:32 +00:00
Denis Rouzaud
e48cf98edb run sipify 2017-12-06 07:19:50 -04:00
Blottiere Paul
c9038f48ad Update sip binding 2017-12-06 07:25:12 +00:00
Nathan Woodrow
57dc9deb06
Add API to ease saving and restoring widget geometry. (#5615)
Usage:
 - QgsGui::instance()->enableAutoGeometryRestore( this ); just
after setupUi in your widgets to enable.
 - Remove any calls to saveGeometry() and restoreGeometry() in your
widgets.
2017-12-04 13:41:42 +10:00
Nyall Dawson
389435e1a0
Merge pull request #5729 from nyalldawson/proc_dyanmic
[processing] Expose dynamic ("data defined") numeric parameters to gui
2017-12-02 14:32:45 +11:00
Nyall Dawson
618baf925d Small refactor of QgsPropertyOverrideButton 2017-12-02 11:13:31 +10:00
Nyall Dawson
5f77a48e10 Remember window geometry for raster save dialog 2017-12-02 11:11:45 +10:00
Nyall Dawson
f6e63d7f4c Fixes and cleanups to algorithm dialogs 2017-12-01 18:15:40 +11:00
Nyall Dawson
ce170918c9 Start moving processing algorithm dialog to c++
In an attempt to avoid Python global interpreter locks which
block the UI thread.
2017-12-01 18:15:40 +11:00
Nyall Dawson
bcc1b91b74
Merge pull request #5717 from nyalldawson/layout_next4
[layouts] Port/adapt all remaining item types
2017-12-01 13:43:58 +11:00
Nathan Woodrow
b2c396fdfd Fix #17510 - Better scoping of QgsProjectionSelectionDialog inside QgsProjectionSelectionWidget 2017-11-27 14:00:15 +10:00
Nyall Dawson
ee45ec9772 Add page number selection to new item dialog 2017-11-24 10:24:35 +10:00
Nyall Dawson
f660d78017 Add a new dialog for selecting file encoding, QgsEncodingSelectionDialog
Can be used to prompt users for a file encoding choice
2017-11-21 20:38:07 +10:00
Matthias Kuhn
81b475d21c Adjust version number 2017-11-21 08:32:53 +01:00
Matthias Kuhn
37b0d4c5b5 Add missing api documentation 2017-11-21 08:29:02 +01:00
Matthias Kuhn
f0a84667b8 Hide search widget tool button for aggregate search 2017-11-20 21:20:50 +01:00