1543 Commits

Author SHA1 Message Date
Nyall Dawson
fc844c66d4 More efficient canvas features flash 2017-10-02 09:52:18 +10:00
Nyall Dawson
3e9fa726ed [FEATURE] Flash features in canvas
This adds:
- API call to QgsMapCanvas to flash a set of features
- A right click menu option in the attribute table to flash
the clicked feature
- An option in the Search by Form dialog to flash matching
features

When triggered, the features flash allowing easy identification
without having to alter the current selection or map extent
2017-10-02 09:52:18 +10:00
Nyall Dawson
4374c6e475 Fix incorrect draw stacking when drawing rubber bands with
secondary lines enabled
2017-10-02 09:52:18 +10:00
Nyall Dawson
92af1dacaf Replace default constructors/destructors with = default 2017-10-01 06:52:14 +10:00
Alessandro Pasotti
e4a4d3d191 [auth] Sipify 2017-09-30 09:49:35 +02:00
Alessandro Pasotti
e33ff0609b [auth] Renamed class to QgsAuthSettingsWidget 2017-09-30 08:59:07 +02:00
Alessandro Pasotti
ad2b58a567 [auth] Added \since QGIS 3 2017-09-29 22:47:04 +02:00
Alessandro Pasotti
242696c1d5 [auth] Added tests and completed QgsAuthenticationWidget 2017-09-29 17:34:59 +02:00
Alessandro Pasotti
db0c223ab1 [auth] Added new widget ui 2017-09-29 12:16:28 +02:00
Alessandro Pasotti
91d7a9b611 [auth] New authentication settings widget 2017-09-29 10:33:22 +02:00
lbartoletti
a8f9f9f96b Merge branch 'master' into regularShape_gui 2017-09-28 21:48:23 +02:00
rldhont
954d62f53a Update SIP for fixedAspectRatio in SVG marker 2017-09-28 12:25:21 +02:00
rldhont
60cf7bdaf7 Configure and use fixedAspectRatio in QgsSvgSymbolLayerWidget and QgsSvgSymbolLayer 2017-09-28 12:25:19 +02:00
Nyall Dawson
6ce8b4c83e Merge pull request #5259 from nyalldawson/modernize
Modernize initializers
2017-09-27 09:34:07 +10:00
lbartoletti
6602855ae4 Merge branch 'master' into regularShape_gui 2017-09-26 21:31:01 +02:00
Nyall Dawson
a87d352bd7 Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Alessandro Pasotti
d6743903e7 [auth] Certs manager remembers (in the settings) the last opened tab
This is a minor UX/UI change that remembers the latest opened
tab in the certificates manager window
2017-09-25 11:51:04 +02:00
Nyall Dawson
270f167829 Fix doctest 2017-09-25 17:12:04 +10:00
Nyall Dawson
01d34ede9d Sip sync 2017-09-25 17:12:03 +10:00
Nyall Dawson
8dffa33a27 Allow QgsOptionsPageWidget to set a specific help key to view
when clicking help in the options dialog
2017-09-24 08:29:39 +10:00
Etienne Trimaille
ba81068f49 [FEATURE] [needs-docs] Metadata editor
Adds a new metadata tab to layer properties, representing the new metadata model from QEP #91
2017-09-23 14:08:32 +10:00
Matthias Kuhn
846fef2013
Doxygen 2017-09-21 10:04:26 +02:00
Nyall Dawson
5bd164b644 Merge pull request #5200 from nyalldawson/drop_handler
[FEATURE][processing] Allow dropping model files onto QGIS window to execute them
2017-09-15 19:42:46 +10:00
Nyall Dawson
06ee6f68e1 Expand docs 2017-09-15 18:53:29 +10:00
Nyall Dawson
3c3848afca Update sip_include 2017-09-15 18:39:51 +10:00
Nyall Dawson
0df4f4a974 Make QgsCustomDropHandler a QObject, and only store weak pointers to them
This means if a plugin registers a custom drop handler, but crashes
before it can deregister it, at least it won't leave the main
app in a crashy state.
2017-09-15 18:39:51 +10:00
Nyall Dawson
527bce09ae Allow QgsCustomDropHandlers to directly operate mime data
and dropped file names

This allows QgsCustomDropHandlers which aren't directly associated
with providers (e.g. for plugins to handle dropped files of
a certain type)
2017-09-15 18:39:51 +10:00
Blottiere Paul
9478036da6 Get selection color from map canvas 2017-09-15 10:39:07 +02:00
Martin Dobias
f7c942c879 Respect background color from project's main canvas 2017-09-15 10:39:07 +02:00
Alessandro Pasotti
a13aa96b6a Typo forwarder->forwarded 2017-09-15 08:18:43 +02:00
Alessandro Pasotti
c1f765aadb Add reloadConnections to the app and expose to iface 2017-09-15 08:09:23 +02:00
Alessandro Pasotti
91a98902a1 Adds connectionsChanged signal to iface
This is meant to be used by plugins (DBManager is the
first candidate) to notify the application that
the GUI elements that handle connections needs to
be updated (i.e. the data source manager dialog
and the browsers)
2017-09-14 14:08:59 +02:00
Nyall Dawson
742f3e5b4d Merge pull request #5112 from nyalldawson/locator_core
Move locator non-gui classes to core
2017-09-13 18:50:28 +10:00
nirvn
fe8b751eb5 [FEATURE] Make symbol levels dialog a style dock panel widget 2017-09-13 11:46:28 +07:00
nirvn
5e7dadd575 [symbology] resurrect symbol levels dialog (fixes #16996) 2017-09-13 11:17:58 +07:00
Nyall Dawson
54df0a28fd Fix geonode connection correctly storing service specific settings 2017-09-13 05:47:53 +10:00
Nyall Dawson
ffaafa6229 Rework QgsGeoNodeNewConnection to inherit from QgsNewHttpConnection
Avoids a lot of duplicate code.

Note that while this refactoring was done to allow WFS and WMS
settings to be simultaneously visible, I've removed the settings
from the GeoNode connection for now. Looking into this they were
being stored, but not used at all when loading the layers from
the GeoNode instance.
2017-09-13 05:47:53 +10:00
Nyall Dawson
35eea229aa Rework QgsNewHttpConnection layout so that both WFS and WMS settings
can be shown simultaneously
2017-09-13 05:47:53 +10:00
Nyall Dawson
6134950609 Use explicit flags to set behavior of QgsNewHttpConnection instead of key parsing 2017-09-13 05:47:53 +10:00
Nyall Dawson
29539e6712 Move remaining geonode classes from gui->app 2017-09-13 05:47:53 +10:00
Nyall Dawson
15f9241109 Add a bit more structure to provider source select ordering 2017-09-13 05:47:20 +10:00
Nyall Dawson
b89c16e3cf Move QgsGeoNodeSourceSelect to app 2017-09-13 05:47:20 +10:00
Nyall Dawson
239e353155 Allow QgsAbstractDataSourceWidget subclasses to add vector layers
with a specific provider key
2017-09-13 05:47:20 +10:00
Nyall Dawson
e51a0d4fac Minor code cleanup 2017-09-13 05:47:20 +10:00
Nyall Dawson
003bf3a76f QgsGeoNodeSourceSelect is a QgsAbstractDataSourceWidget 2017-09-13 05:47:20 +10:00
Muhammad Yarjuna Rohmat
bea89b32ca [FEATURE] QGIS - GeoNode Integration: Integrate with QGIS Browser Panel (#4816)
* add Geonode connection menu to the toolbar

* add header files for geonode-qgis client

* add action to launch geonode connection dialog from menubar

* Move to proper directory

* Add geonodeconnection class.

* Add unit test for geonode connection.

* Use const static to avoid typo.

* Get list layers from geonode.

* Add get maps method.

* Geonode connection dialog (#13)

* add new geonode connection dialog

* apply functionality to the geonode connection manager dialog

* add save and load geonode connection functionality

* edit baseKey and credentialBaseKey

* remove auto-connect slots

* Add unit test for geonode connection.

* Add wms url getter.

* Add uuid and layer name in the table.

* Add handler for the list layer clicked. WIP.

* Use new style connect, better hacky to get wms url.

* update gitignore

* Make QGIS able to add WMS layer from geonode. With hacky code.

* Fix Docstring.

* Show web service type (WMS/WFS) in layer table.

* fix http and toolbar menu

* add geonode data item to the browser panel as an extention of ows provider

* [WIP] Add WFS.

* Add geonode get service url.

* combobox functionality and test geonode connection

* Add WFS.

* Disable add button if it's a map. Currently we can't do anything for map.

* Add busy cursor when add layer.

* get service uri capabilitites

* add available layers to the geonode browser panel

* remove debugging footprint and replace old style connect

* add actions (new, edit, delete) to geonode browser panel

* fix getLayers by WMS url

* add Geonode connection menu to the toolbar

* Filter out invalid layer / map.

* Fix service url method.

* Add service url for XYZ for GeoNode QGIS Server backend.

* Add XYZ url to geonode connection  dialog.

* Add XYZ layer to QGIS.

* fix double geonode submenu

* add wfs/wms layers from browser panel using its native provider

* comply with qgis3 new class naming

* Handle different prefix for layer in GeoNode QGIS Server backend.

* base class for cms connection

* make geonode connection as a derived class from cms connection

* update cmakelists

* move geonode connection to geocms dir

* update CMakeLists

* Handle geonode 2.7 with new API.

* Handle multiple geoserver url in one geonode.

* Fix add xyz for qgis server. Fix add wms, wfs, xyz for geoserver in geonode 2.7

* Refactor serviceURL to return QStringList.

* add 'add geonode layer' icon

* add geonode to the data source manager dialog

* [GeoNode-Client] Fix add WFS layer.

* fix wms url parameter

* add xyz dataitems

* Use new style connect.

* [GeoNode Client] Handle qgis server specific typename to make add WFS works.

* Code improvement.

* [GeoNode Client] Make geonode dialog in add universal layer can add layer.

* Open universal add layer when click Add GeoNode layer.

* Make sure the geonode url has protocol.

* Handle geonode version in a better way.

* make sure the serviceUrl method has scheme in its urls

* add services option to the dialog

* remove version label if not wfs

* construct wms url with parameters for geonode connection

* handle layer from multi service urls for every wfs, wms, & xyz services

* fix new style connect using static_cast

* hode close button if dialog is in embedded mode

* fix xyz layer naming in the browser tree

* create base class for geocms dataitems

* fix compiling warning

* Use struct instead QVariantMap.

* tidy up code

* Tidy up code, use QgsStringMap instead QVariantMap.

* Add spellok for catalogue.

* update sip

* update sip

* Use naming convention for QgsGeoCmsConnection and use QUuid.

* Async by using GeoNodeRequest class.

* Move geonode to src/gui.

* Use stack not heap.

* Remove unused includes.

* Use signal to handle request.

* Use QStringLiteral.

* Switch to use Q_FOREACH.

* Use Q_FOREACH and addressing PR's review.

* Set private for data members.

* update sip

* Update sip.

* Update sip.

* Fix sip problem to make it buildable again.

* Remove geocms

* Tidy up code.

* Use QgsSetting Scope::Provider.

* Fix missing zip.h
2017-09-13 05:47:19 +10:00
Alessandro Pasotti
22bd2a35f8 Browser: removed redundant refresh signals 2017-09-12 15:01:45 +02:00
Alessandro Pasotti
3dba091b86 Share QgsBrowserModel among browser instances 2017-09-12 15:01:45 +02:00
Nyall Dawson
6166d21289 Add missing docs 2017-09-11 21:43:15 +10:00
Nyall Dawson
2a33844416 Pass by const ref where possible 2017-09-11 21:19:22 +10:00