1826 Commits

Author SHA1 Message Date
Nyall Dawson
846ca49755 Fix Escape key press should close current stacked panel
Code was present but not correctly hooked up before
2018-04-04 16:37:34 +10:00
Nyall Dawson
1bf1058210 Followup fcacb0d, fix doxygen tests
Also:
- move doxygen comments to header files so that they get included
in Python docstrings
- remove duplicate doxygen implemented in both header and footer
- remove some redundant doxygen for overridden methods
- add some missing docs
2018-04-03 09:49:00 +10:00
Juergen E. Fischer
fcacb0db7c doxygen fixes 2018-04-02 22:48:40 +02:00
Juergen E. Fischer
7d48179223 [FEATURE] add zoom to related feature in forms 2018-04-02 17:07:39 +02:00
Salvatore Larosa
85602c60f4 fix doc: followup bf41a90af80f2284f087780cf4ef6931b2a76bcf 2018-03-30 23:47:36 +02:00
Salvatore Larosa
bf41a90af8 [needs-docs] add zoom to selection action to contextual menu of the layer 2018-03-30 23:06:06 +02:00
Denis Rouzaud
721095e89d add virtual destructor
fix warning: delete called on 'QgsEditorWidgetAutoConfPlugin' that is abstract but has non-virtual destructor
2018-03-28 11:49:41 +02:00
Nyall Dawson
681cd41185 Synchronize project title field and project metadata title
field in project properties dialog

Since these two are equivalent, we automatically keep them
in sync.
2018-03-22 16:13:30 +11:00
Nyall Dawson
016f2288c6 Fix accidental class rename 2018-03-22 16:13:30 +11:00
Nyall Dawson
f4ed93e1ca Add project metadata mode to QgsMetadataWidget 2018-03-22 16:13:30 +11:00
Nyall Dawson
d293c5d0a0 Code shuffle to avoid duplicate code 2018-03-22 16:13:30 +11:00
Salvatore Larosa
9a25d6764e
Merge pull request #6592 from slarosa/save_load_xyz
[FEATURE][needs-docs] Save/Load connections for XYZ Tiles
2018-03-20 09:31:24 +01:00
Nyall Dawson
26bdd920f4 [processing] Fix newlines are stripped from Python traces in log 2018-03-19 12:00:30 +11:00
Nyall Dawson
654a4a4af6 [processing] Fix algorithm progress bar resets to 0 when an algorithm
reports a non-fatal error

Fixes the "flashy" progress bar when an algorithm encounters a lot
of errors.
2018-03-15 13:43:01 +11:00
Denis Rouzaud
4c1e19c080 fix constraints not checked when they should be (#6550) 2018-03-14 07:49:37 -04:00
Salvatore Larosa
281a3ed3aa fix capitalisation: followup 504e50df5e 2018-03-13 12:38:17 +01:00
Nyall Dawson
14c8b3c75d [neeeds-docs] Show all color schemes and tools for interacting with the in the
options->color tab

This brings all of QGIS' color scheme handling to a more logical and
user-discoverable place. Previously this functionality was only
available inside the color dialog itself (i.e. users would have to start
changing a color before they could create and edit schemes)
2018-03-13 10:39:49 +11:00
Nyall Dawson
40ceb7bdce Don't mark project dirty when legend nodes are expanded/collapsed 2018-03-13 10:10:23 +11:00
Salvatore Larosa
504e50df5e [FEATURE][needs-docs] Save/Load connections for Tiles XYZ 2018-03-12 18:56:56 +01:00
Nyall Dawson
dfa6b6ae19 Correctly set base style for QgsLayerTreeViewProxyStyle
Creates a new QgsProxyStyle subclass of QProxyStyle which
automatically sets the base style to match the current
application style (creating a new QStyle object, since
setting the base style takes ownership). Additionally,
QgsProxyStyle correctly parents the style to a parent
widget, avoiding leaks since calling QWidget::setStyle
doesn't transfer ownership.

Fixes incorrect theme used for layer tree view since
addition of indicator icons.
2018-03-11 10:23:18 +11:00
Denis Rouzaud
cc0c1bc6a4 [QgsFilterLineEdit] disable clear action when read only 2018-03-10 10:17:27 -09:00
Matthias Kuhn
e969584ad9 Avoid freezing attribute form with recursion
The search widget wrappers for relations have two issues

* They recursively load whatever relations are defined. With self-referencing this leads to 💀
  This is addressed by only loading one level of relations in search widgets.

* They would load even when hidden, leading to long load times on attribute table opening.
  We now only actually load the form on the show event
2018-03-06 09:46:44 -05:00
Denis Rouzaud
9580a88514 fix sipify test 2018-03-02 08:33:45 -09:00
Nyall Dawson
0acdcfadfd Fix crash when using the identify tool on a categorized render
with an unchecked category corresponding to the feature at the
clicked point

Also fix count of default category symbols
2018-03-01 16:49:29 +11:00
Denis Rouzaud
95ab3d05e0 doxymentation and better wording 2018-02-28 13:43:10 -04:00
Denis Rouzaud
fc2ba14154 [QgsMessageBar] add convenience method to display message with a show more dialog 2018-02-28 13:43:10 -04: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
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
094cef7140 Sipify and astyle 2018-02-25 08:22:14 +10: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
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
Loïc Bartoletti
88a5e3204b - Rename "Advanced Shape Digitize Toolbar" -> "Shape Digitize Toolbar"
- Rewrite ui_defaults.h
2018-02-21 21:05:42 +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
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
Denis Rouzaud
1a1b197ced use Qgsettins::enumSettingValue where possible 2018-02-19 05:55:09 -09:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Blottiere Paul
53aafb4803 Z value from snapped point is kept 2018-02-16 12:57:12 +00:00
Blottiere Paul
a6a3e0b1d4 Fix spelling check and sip binding 2018-02-16 10:06:42 +00: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
Nyall Dawson
cd24adbf9e [needs-docs] Rework arrangement of buttons in categories tab in
metadata editor to make their operation more self-explanatory
for users.

Also add tooltips to the buttons describing their function, and
allow the buttons to operate on multiple selected rows at once.

Fixes #18090
2018-02-14 15:35:47 +11:00
Nyall Dawson
db9db58e71 Fix undefined behavior when closing layout designer 2018-02-11 12:44:34 +11:00
Denis Rouzaud
3205c96af6
Merge pull request #6275 from 3nids/messagelevel
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
2018-02-06 05:28:17 -09:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Denis Rouzaud
c6840bd0e6 remove ownesrhip transfer 2018-02-05 08:51:47 -04:00
Denis Rouzaud
8d55cadeb7 Allow adding custom highlight widget to custom pages in option 2018-02-05 08:51:47 -04:00
Denis Rouzaud
1a117cf080 fix doxygen 2018-02-03 15:52:33 -09:00
Denis Rouzaud
70f9c228d7 [options search] API refactoring
* avoid using lambdas and use dedicate class and subclasses for each widget type (lable, groupbox, tree, etc)
* this makes the code much more clearer
* allow creating custom highlight widgets with API
2018-02-03 15:52:33 -09:00