12029 Commits

Author SHA1 Message Date
Nyall Dawson
1402f76e85 Show item size in status bar when creating a new item 2018-01-10 18:16:08 +10:00
Nyall Dawson
b95363c5b6 Drop composer from app 2018-01-10 14:46:57 +10:00
Denis Rouzaud
d87c60512c [sipify] fix bad handling of \see within sentences
and other docstrings improvements
2018-01-09 21:40:10 -04:00
Nyall Dawson
0a3f9f60ff
Merge pull request #5807 from nyalldawson/alg_background
[processing] Add flag to indicate whether an algorithm is safe
2018-01-10 11:37:35 +10:00
Nyall Dawson
240c52a4c0 [processing] Show a modal progress dialog when running algorithms
which cannot run in background tasks

This is not fantastic UX, but we have lots of constraints here:

- The algorithm dialog itself cannot be made modal. There's child
widgets (such as the point and extent parameter widgets) which
interact with the main QGIS window.
- There is no reliable way in Qt to make a dialog modal after
it's shown (e.g. make it modal only when the algorithm is
running). Trust me - I've tried everything, and all approaches
break with some corner case.
- For non-background algorithms, we must have processEvents calls
in order to show the algorithm feedback and progress to users,
and detect cancel button clicks. Yet these processEvents calls
means that users can interact with other parts of QGIS, e.g.
removing layers from a project, and other operations which
could cause the algorithm to crash. So we MUST have some modal
dialog in order to block interactions outside of allowing
the cancel button clicks/progress repainting.

I've tried many approaches, but this is the only one which
works reliably...
2018-01-10 08:33:36 +10:00
Alessandro Pasotti
03400ddbe2
Merge pull request #5913 from elpaso/layouts-import-from-2
[layouts] import from 2.x
2018-01-09 22:35:26 +01:00
Nyall Dawson
c14e6ca772 Most c++ algorithms can run safely in background threads 2018-01-10 05:33:02 +10:00
Nyall Dawson
40e47e0fe7 [processing] Add flag to indicate whether an algorithm is safe
to run in a background thread
2018-01-10 05:33:02 +10:00
Denis Rouzaud
5babec5e07 run sipify 2018-01-09 11:40:39 -04:00
Alessandro Pasotti
3f081b8588 [layout] Added template method to retrieve QgsLayoutObjects 2018-01-09 13:24:22 +01:00
Alessandro Pasotti
f297e86201 [layout] Import attribute table from composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
943025c204 Typos 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
3bfebe144e Sipify 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
a6199bec03 Added optional argument to create reference layout images 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
da3636e566 [layout] Converter: initial implementation 2018-01-09 08:08:26 +01:00
Alexander Bruy
97c005a544
Merge pull request #6017 from nyalldawson/algs
[processing]  Fix some numeric parameters which should be doubles
2018-01-09 08:17:12 +02:00
Alexander Bruy
566704a720
Merge pull request #5968 from medspx/ProcessingGrassFixExt
[Processing] GRASS fix all ext scripts
2018-01-09 08:16:46 +02:00
Nyall Dawson
57c2f1d3da Refine algorithm name and tags 2018-01-09 14:35:48 +10:00
Nyall Dawson
f6d561655b Fix some numeric parameters which should be doubles 2018-01-09 14:34:57 +10:00
Nyall Dawson
0f79bfba1c Use svg version of python console icon, courtesy of @pkinglinz (#6016) 2018-01-09 10:33:08 +07:00
David
2eaf4de2ca Contextmenu with individual actions
Individual actions in the contextmenu of the attributetable and the relationeditorwidget.
It's unlink and delete feature in the relationeditorwidget.
It's delete feature in the attributetable (form view)
2018-01-08 17:59:09 +01:00
Nyall Dawson
2b8143a206 Fix a TODO, restore correct variable handling for layouts 2018-01-08 17:55:37 +10:00
Nyall Dawson
3d36653f55 Code shuffle 2018-01-08 13:35:15 +10:00
Nyall Dawson
db906273b5 Drop all composer classes from Python bindings 2018-01-08 13:35:15 +10:00
Nyall Dawson
d372799b87 Remove some more redundant tests, add sip subclassing 2018-01-08 12:09:32 +10:00
Nyall Dawson
f287d40a87 Remove all interface methods and UI for creating new composers 2018-01-08 09:45:15 +10:00
Nyall Dawson
f3124f0d82 Fix storing/reading multiframe items (TODO fix undo/redo support) 2018-01-08 05:51:29 +10:00
Nyall Dawson
1b969267fc Fix crash when deleting multiframe item child frames 2018-01-08 05:51:29 +10:00
Médéric RIBREUX
712093731a Merge branch 'ProcessingGrassFixExt' of https://github.com/medspx/qgis into ProcessingGrassFixExt 2018-01-07 11:02:26 +01:00
Médéric RIBREUX
0f1cb25085 Fix v.external default configuration and handling 2018-01-07 11:01:44 +01:00
Nyall Dawson
53b67069cc Standardise some layout api method naming/behavior 2018-01-07 16:07:05 +10:00
Etienne Trimaille
3432bf8f3b load and save metadata to a QMD file 2018-01-07 12:13:41 +10:00
Nyall Dawson
0779b88729
Merge pull request #5997 from nyalldawson/report_label
Show a label in layout designer for report sections
2018-01-06 11:29:38 +10:00
Denis Rouzaud
333347b9a0
Merge pull request #5992 from 3nids/fix17790
fix NULL constraint on date/time widget with allow NULL
2018-01-05 07:49:30 -04:00
Matthias Kuhn
46177aa151 Cleanup misleading QgsEditorWidgetWrapper::valueChanged signals 2018-01-05 12:25:44 +01:00
Nyall Dawson
015e754418 Show a label in layout designer for report sections 2018-01-05 17:43:23 +10:00
Nyall Dawson
421ef88de0
Merge pull request #5966 from nyalldawson/layout_next
[layouts] Atlas and reporting framework
2018-01-05 15:29:28 +10:00
Nyall Dawson
bf6c95d575 Add icons for report section types, and show pencil 'editing'
icon in report organizer for section currently being edited in
the designer

This should help indicate to users which section is currently being
edited and give more visual hints as to exactly what's happening
in the ui.
2018-01-05 13:52:22 +10:00
Nyall Dawson
3ac214170f Auto generated names for reports are 'Report #' 2018-01-05 12:51:52 +10:00
Nyall Dawson
eae4eeb8f5 Use correct layout type (report/print layout) in new title dialog 2018-01-05 11:52:57 +10:00
Denis Rouzaud
42976df82e do not override QDateTimeEdit::dateTimeChanged
see de03186745 (diff-f135574df9edcdda660e1bc4320a053e)
2018-01-04 21:40:55 -04:00
Denis Rouzaud
2528639320 doxymentattion 2018-01-04 21:40:45 -04:00
Nyall Dawson
51a7efbe4b Nicer ui widgets for sections, add missing control for
disabling body sections
2018-01-05 11:15:04 +10:00
Nyall Dawson
d2c880af50 Use 'report' text instead of 'atlas' when inside a report designer 2018-01-05 11:15:04 +10:00
Nyall Dawson
5d64f3cd22 Fix missing feature contexts for report section header/footers
and expand unit tests
2018-01-05 11:15:04 +10:00
Nyall Dawson
4e45639c45 Restore direct print actions 2018-01-05 11:15:04 +10:00
Nyall Dawson
39ae0eef7d Add method to seek atlas directly to a QgsFeature 2018-01-05 11:15:04 +10:00
Nyall Dawson
ea4f61f024 Dox and spelling 2018-01-05 11:15:04 +10:00
Nyall Dawson
c9ddc9fda0 Start on ui for configuring reports 2018-01-05 11:15:04 +10:00
Nyall Dawson
f4a99b65bb Add a row method to QgsAbstractReportSection 2018-01-05 11:15:04 +10:00