1907 Commits

Author SHA1 Message Date
Denis Rouzaud
0b22508fe6 give a few references in QgisInterface API docs 2018-10-24 07:54:06 -08:00
Nyall Dawson
a093dd7293 [layouts] Add api to retrieve window from designer dialog interface 2018-10-23 10:54:55 +10:00
Nyall Dawson
8d7c54e8d7 More layout object sip casting 2018-10-23 08:59:10 +10:00
Nyall Dawson
926e03ac3c Spell 2018-10-23 08:59:10 +10:00
Nyall Dawson
8a525b0b86 [layouts] Add notes to layout designer dialog interface documentation
regarding customisation of designer instances
2018-10-23 08:59:10 +10:00
Denis Rouzaud
f17b1a5219 restore zoom out rect 2018-10-20 19:55:22 -04:00
Denis Rouzaud
5fd6f68701 Zoom tool: do not draw rect when zooming out, update cursor when pressing alt 2018-10-19 16:33:48 -04:00
Denis Rouzaud
773167411c add isActive to QgsMapTool and update cursor when it is active 2018-10-19 16:33:48 -04:00
Nyall Dawson
f23b09b845 [needs-docs][layouts] Expose menus and toolbars (and some other goodies) to stable
layout designer interface API

This commit adds more methods to the public, stable API for the layout
designer dialog, allowing plugins and scripts greater flexibility
in extending and hooking into the layout designer.

New API includes:
- access to the main menus shown in the dialog, allowing custom actions
to be added to the dialog
- access to the dialog's toolbars
- methods for adding (and removing) additional dock widgets to the designer
- the method used to show/hide rulers in the designer
2018-10-19 11:53:04 +10:00
Nyall Dawson
4459c9a6f8 Dox 2018-10-17 06:19:06 +10:00
Nyall Dawson
8b5bf3c17c Remove some redundant dox from QgisAppInterface 2018-10-17 06:19:06 +10:00
Nyall Dawson
905031945f Expose application browser model instance to iface
Reusing the existing browser model is more efficient then reconstructing
new models, so it's useful for plugins to have access to this instance
too.
2018-10-17 06:19:06 +10:00
Nyall Dawson
ca427d3316 Rename actions 2018-10-16 14:13:29 +10:00
Nyall Dawson
b7b638c52b Simpler API to link actions to QgsDockWidget 2018-10-16 14:13:29 +10:00
Nyall Dawson
0fb0023519 Fix corrupted group box layouts 2018-10-15 15:47:28 +10:00
Nyall Dawson
448b4505bb [layouts] Expose designer enable atlas preview and show item options to
stable API
2018-10-12 10:28:56 +10:00
Nyall Dawson
5beb4e2b8d Followup 9cad526, allow item rename through browser model 2018-10-11 17:52:47 +10:00
Nathan Woodrow
9cad526f24
Add F2 to rename browser favourite item (#8164) 2018-10-11 14:08:49 +10:00
Denis Rouzaud
7c0a2a1cd7 a few more forward declarations 2018-10-09 11:48:33 -08:00
Denis Rouzaud
f27a5043bb remove useless includes 2018-10-09 11:48:33 -08:00
Denis Rouzaud
7fb3a92994 forward declaration of QgsMapMouseEvent 2018-10-09 11:48:33 -08:00
Denis Rouzaud
d000157341 forward declarations for QgsMapLayer 2018-10-08 13:01:16 -08:00
Nathan Woodrow
f928c2e545
[FIX] - Respect selection order in attribute table copy. (#8048)
Only copy fields shown in view for current table.
2018-10-08 12:07:28 +10:00
Nathan Woodrow
556cddd4d9
Fix #19465 - Don't delete expression when pressing enter in combo (#8134) 2018-10-08 12:05:54 +10:00
Denis Rouzaud
77bfec68c3 fix typo 2018-10-05 09:01:32 -04:00
Denis Rouzaud
046f915c24 more doc 2018-10-04 14:01:31 -04:00
Denis Rouzaud
ffdf617277 take screenshots in app for user documentation 2018-10-04 14:01:31 -04:00
Matthias Kuhn
fe5ed43f26
Make sip code style test happy 2018-09-30 11:50:54 +02:00
Matthias Kuhn
328760437c
Make QgsRubberBand fillColor a Q_PROPERTY 2018-09-30 09:46:24 +02:00
Matthias Kuhn
d4fd49129e Fix grammar 2018-09-30 08:29:10 +10:00
Matthias Kuhn
8fdf34be1d Doxygen for QgsRubberband 2018-09-30 08:29:10 +10:00
Matthias Kuhn
db65b9a8fc Add QgsRubberBand::setToGeometry with crs parameter 2018-09-30 08:28:05 +10:00
Martin Dobias
ea1716261a Make sure that also groups with "required" layers cannot be removed
Fixes an unreported bug where it was possible to select a layer tree group
and remove even when it contained required layers.

When removing layers/groups, the following checks will now also recursively
test layers and not just directly selected layers:
- test for layers with unsaved changes
- test for layers with active tasks running in background
2018-09-26 09:55:37 +02:00
Nyall Dawson
eb24bdb484 Dox 2018-09-22 05:26:29 +10:00
Nyall Dawson
6c35c8b308 Fix broken doxygen link 2018-09-22 05:26:29 +10:00
Nyall Dawson
4a0a48fe47 [processing] Also expose complete expression context inside
data defined buttons for model child algorithms

The context was not previously exposed, so users would not have
been aware that they can utilise all the variables and functions
available to parameters within child algorithms.
2018-09-22 05:26:29 +10:00
Nyall Dawson
8f9f975ed6 [processing] Show complete expression context in expression builder
for pre-calculated expressions

Correctly exposes ALL the variables and functions available for use
in pre-calculated expressions so that users actually know they can
use these in their models!
2018-09-22 05:26:29 +10:00
Nyall Dawson
7af13f62c0 Set widget context for widget wrappers 2018-09-22 05:26:29 +10:00
Nyall Dawson
55e22b9de9 Allow setting the context for widget wrappers
The context contains settings which reflect the context ini
which a Processing parameter widget is shown, e.g., the
parent model algorithm, a linked map canvas, and other relevant
information which allows the widget to fine-tune its behavior.
2018-09-22 05:26:29 +10:00
Nyall Dawson
11667683b4 Distance 2018-09-22 05:26:29 +10:00
Alessandro Pasotti
5378e37cf9 QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
Fixes #19901 - Relation Reference Widget: Representation for NULL values is not respected
2018-09-20 16:30:02 +02:00
Martin Dobias
1390198c37 Fix doxygen link 2018-09-19 13:20:31 +02:00
Martin Dobias
2da705864b Fix search tolerance when doing identification in 3D map view
Until now the identification from 3D map view used tolerance based
on the current view of the main 2D map canvas - that was giving often
unexpected results if the 2D map canvas had significantly different
zoom level from the 3D map view.
2018-09-19 13:20:31 +02:00
Alessandro Pasotti
d179635b92 [bugfix] Allow empty null representation in spinboxes
Fixes #18583 - Widget "Range": Representation for NULL value is NOT always displayed correctly
2018-09-18 12:54:17 +02:00
Martin Dobias
1192b635d2
Merge pull request #7892 from PeterPetrik/identify_by_feature
[feature] Identify/Select polygon from existing feature geometry (#19064)
2018-09-14 14:15:18 +02:00
Nyall Dawson
cb178a7bb8 New class QgsWindowManagerInterface
With implementation in app. This allows GUI library classes to
re-use standard dialogs which are created in app. The initial
use-case is to allow the GUI library symbol list widget to
focus/open an existing Style Manager dialog (created in app),
instead of opening a new modal style manager dialog.

Side benefit - moves some code out of the monolithic qgisapp.cpp
file.
2018-09-14 21:13:10 +10:00
Borys Jurgiel
4ac834d93a
Merge pull request #7879 from borysiasty/append_raster_to_geopackage
Append raster layer to an existing GeoPackage
2018-09-14 12:08:52 +02:00
Matthias Kuhn
b75f9f3b5b
Merge pull request #7801 from signedav/qml-widget
[FEATURE] QML chart and drawings widget
2018-09-14 11:35:26 +02:00
Nyall Dawson
a78a7e7908 [ux] Hide frame when collapsible group box is collapsed
Prevents an ugly cropped frame from showing in collapsed group
boxes
2018-09-14 18:51:52 +10:00
Alessandro Pasotti
84368131e2 Update dox 2018-09-14 18:23:03 +10:00