6538 Commits

Author SHA1 Message Date
Denis Rouzaud
fc2ba14154 [QgsMessageBar] add convenience method to display message with a show more dialog 2018-02-28 13:43:10 -04:00
Nyall Dawson
9ee35ad9e6
Merge pull request #6467 from DelazJ/QMessageBoxTitles
More dialog caption fixes
2018-02-27 12:25:39 +11:00
Martin Dobias
bbb2727bc3 Minor fixes (spelling, renaming, sip magic) 2018-02-26 18:34:44 +01:00
Martin Dobias
f56d70f3f8 [FEATURE] Indicators for layer tree view + filter indicator implementation
This adds a mini-framework for display of extra icons in layer tree views
next to layer and group names. Tool tip text can be associated with indicators
to give extra context for indicators. In addition, a signal gets emitted
when user clicks indicators and custom actions can be defined.

The main window's layer tree view (ToC) gets support for indicators
that are shown when a vector layer has a filter applied. This makes it easier
for users to understand that they are looking at a subset of all data.
Clicking the indicator's icon brings up query builder.
2018-02-26 18:34:43 +01:00
Matthias Kuhn
3a1c56731e
Merge pull request #5835 from NathanW2/canvas_dock_zoom
Add Auto Zoom to Selection for map canvas dock
2018-02-26 09:07:18 -03:00
Denis Rouzaud
03edc407b1 rename QgsSettings::enumSettingValue to enumValue
no python API break
2018-02-26 02:32:44 -09:00
Harrissou Sant-anna
3701d648ff More dialog caption fixes 2018-02-26 07:59:48 +01:00
Nathan Woodrow
347e6f1ab8 [FEATURE] [needs-doc] Add Auto Zoom to Selection for map canvas dock 2018-02-26 14:31:19 +10:00
Nyall Dawson
574a6549f8 Respect image orientation and transforms in attachment widget
Fixes #16139
2018-02-26 09:25:26 +11:00
Alexander Bruy
725f36064c [processing][help] use helpId() when constructing anchor name (follow up 598b8a9c) 2018-02-24 18:24:31 +02:00
Alexander Bruy
598b8a9c41 [processing][help] use algorithm id as an anchor for help pages 2018-02-24 15:52:03 +02:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Matthias Kuhn
c1ef8f0200
Merge pull request #6430 from signedav/uxduplication
Only enable duplication when layer editable
2018-02-23 11:38:53 -03:00
David
555cdf0a20 skip enabledOnlyWhenEditable from pyhton bindings
in the construtors of QgsAction and QgsMapLayerAction
2018-02-23 12:48:36 +00:00
David
1875d4ad18 intagrated enumvalue IdentifyMode
used like SingleEditMode here
2018-02-23 11:03:12 +00:00
David
71d25c6853 style stuff 2018-02-23 10:33:32 +00:00
David
a11582f79c hide instead of disable
and use mode for identify - not to show the actions with isEnabledOnlyWhenEditable is active
2018-02-23 10:06:33 +00:00
Nyall Dawson
5114d6056b [layouts] Fix mouse event handling on rulers 2018-02-23 13:56:43 +10:00
signedav
7a3dc4289d
Merge branch 'master' into uxduplication 2018-02-23 01:23:46 +00:00
Nyall Dawson
3e86804d64
Merge pull request #6395 from lbartoletti/advanced_shape_digitize_toolbar
Make Regular Shape Digitizing Toolbar disabled by default / renamed Shape Digitizing Toolbar
2018-02-23 11:42:12 +11:00
David
79e524083c disable or do not display maplayeractions
in some cases
2018-02-23 00:06:06 +00:00
Nyall Dawson
1eea857915 Remove use of deprecated trUtf8 method
This method was deprecated in Qt 5.0 - we need to remove
its use so that we can turn off the remaining Qt4 compatibility
switches.
2018-02-22 09:59:49 +11:00
Loïc Bartoletti
88a5e3204b - Rename "Advanced Shape Digitize Toolbar" -> "Shape Digitize Toolbar"
- Rewrite ui_defaults.h
2018-02-21 21:05:42 +01:00
Felis Pimeja
76c21ea369 Updated and vectorized several icons (#6382) 2018-02-21 15:39:25 +07:00
Harrissou Sant-anna
ed99ba9d08 Updating some dialogs caption 2018-02-21 03:35:22 +01:00
Juergen E. Fischer
34553d3624 fix warning 2018-02-20 20:40:35 +01:00
Loïc Bartoletti
55aa0b5be5 - Rename Regular Shape Digitize Toolbar to Advanced Shape Digitize
Toolbar
- Homogenize this toolbar like the others
- Not enabled by default
2018-02-20 17:43:26 +01:00
Nyall Dawson
6a9f9869da Fix links are doubled in metadata widget 2018-02-20 13:46:27 +10:00
Nyall Dawson
3d4f6f82bb Followup 0548f4, fixes to layer metadata and metadata widget
Address outstanding review requests so that this PR can be merged
2018-02-20 11:10:55 +10:00
mj10777
0548f4267e Added QgsLayerMetadata logic to QgsDataProvider. Added setMetadata in QgsVector/RasterLayer::setDataProvider. Corrections in QgsMetadataWidget with added get/setMetadata and hasChanged functions plus checking for set mLayer pointer before use. 2018-02-20 11:06:57 +10:00
Nyall Dawson
2571de37bb Fix some undersized widgets on hidpi win builds 2018-02-20 11:01:21 +11:00
Nyall Dawson
23dc1c8f69 Use first feature in layer to generate symbol preview icon in widget
Uses the first feature found in a layer in order to create a better
preview for the symbol in the symbol selector dialog. This allows
data defined settings to be evaluated correctly (at least, for the
first feature) and avoids missing previews due to missing
attribute values when data defined settings are present.

Fixes #17061
2018-02-20 07:25:33 +11:00
Denis Rouzaud
42908ebbe9 Qt 5.5 prefers Q_FLAG over Q_FLAGS
this also allow to use QMetaEnum for flags
2018-02-19 05:55:09 -09:00
Denis Rouzaud
1a1b197ced use Qgsettins::enumSettingValue where possible 2018-02-19 05:55:09 -09:00
Sandro Mani
ea9480ef0a Don't set focusProxy in QgsCollapsibleGroupBoxBasic when compiled against Qt5.10+, it causes crashes 2018-02-19 12:57:52 +01:00
Alessandro Pasotti
6da78b9562
Merge pull request #6187 from DelazJ/rulebaseDialog
Show "Edit rule" dialog instead of widget when in Layer properties dialog
2018-02-19 10:01:35 +01:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Juergen E. Fischer
dcfe5ca63f update translation strings 2018-02-18 17:35:34 +01:00
Jürgen Fischer
688e964655
Merge pull request #6373 from DelazJ/QMessageBoxTitles
Fix message box title
2018-02-18 14:07:35 +01:00
Harrissou Sant-anna
28e282ac02 Fix message box title 2018-02-18 13:28:04 +01:00
Blottiere Paul
323e75c029
Merge pull request #5823 from pblottiere/bugfix_curvedstrings_z
[bugfix] Fixes #17576 and #17574 Add Z support and fixes crashes
2018-02-18 10:58:09 +00:00
Juergen E. Fischer
c3573b1636 more translation string fixes and updates 2018-02-17 11:33:36 +01:00
Blottiere Paul
53aafb4803 Z value from snapped point is kept 2018-02-16 12:57:12 +00:00
Alessandro Pasotti
8628ba1bdd
Merge pull request #6356 from elpaso/bugfix-17721-color-picker
[bugfix] Restore color picker from layer styling panel
2018-02-16 11:47:11 +01:00
Blottiere Paul
d3b9c98383 Rename pointFromPointXY to fromPointXY 2018-02-16 10:06:41 +00:00
Blottiere Paul
7a698f234d Fixes #17574 Add Z support in AddCircularString map tools 2018-02-16 10:06:41 +00:00
Alessandro Pasotti
f3349616fa Change button color when picking around
So that we have a consistent behavior with the
Sample Color action.
2018-02-16 10:18:30 +01:00
Nyall Dawson
a6a36acc14
Merge pull request #6316 from nyalldawson/locator_thread
Make QgsLocator more thread safe
2018-02-16 12:36:09 +11:00
Alessandro Pasotti
948452b78a [bugfix] Restore color picker from layer styling panel
Fixes #17721

Successfully tested on Windows 10 and Linux with Qt 5.10
2018-02-15 15:24:50 +01:00
Alessandro Pasotti
0e14a46ec8 ... -> Ellipsis 2018-02-15 08:39:15 +01:00