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
Alessandro Pasotti
5c5ef3b6de
Merge pull request #6246 from elpaso/rangeformatter
...
[bugfix] Range formatter for doubles and ints
2018-02-02 14:25:28 +01:00
Nyall Dawson
536c586968
Style fixes
2018-02-02 19:52:01 +11:00
Nyall Dawson
2682a74a1b
Fix clazy pass big type by ref, small by value warnings
2018-02-02 19:52:01 +11:00
Nyall Dawson
a08c05b20c
Fix clazy fully-qualified-moc-types warnings
...
From the clazy docs:
"Warns when a signal, slot or invokable declaration is not using fully-qualified
type names, which will break old-style connects and interacting with QML."
2018-02-02 19:52:01 +11:00
Alessandro Pasotti
bbf621411a
Add method to set line edit alignment in Qgs(Double)SpinBox
2018-02-02 08:12:12 +01:00
Salvatore Larosa
5b9be7a966
apply enableAutoGeometryRestore to feature form dialog
2018-02-01 23:30:35 +01:00
Alessandro Pasotti
0eeea76292
Merge pull request #6237 from elpaso/commas-dots-fieldvalidator
...
[bugfix][attrtable] Convert comma to dot for floating point input
2018-02-01 07:53:23 +01:00
nirvn
1ac6792678
add transform context to the map overview
2018-02-01 09:11:45 +07:00
Alessandro Pasotti
cc1625c83e
[bugfix][attrtable] Convert comma to dot for floating point input
...
This fixes an unreported bug that without detecting an
invalid input when using a comma as a decimal separator
silently converts the entered value to NULL.
Since locale support in QGIS is in its early stages
we convert commas to dots within the validator,
this is common practice in almost all web applications
where you can enter a comma instead of a dot and
the conversion appears while you digit.
This comes with brand new tests for QgsFieldValidator.
Bonus: small fix in sipify.
2018-01-31 12:50:14 +01:00
Harrissou Sant-anna
91a80759bf
Fully replace node* by vertex*
2018-01-31 04:51:20 +01:00
nirvn
51c5805e13
[raster] don't auto-classify upon customizing values tree ( fixes #17102 )
2018-01-29 14:56:44 +07:00
Salvatore Larosa
3ca5d72455
apply enableAutoGeometryRestore to config shortcut dialog
2018-01-28 16:43:59 +01:00
Nyall Dawson
d60f00dc85
[processing] Add Toolbox action to the main window toolbar
...
I realise this adds another toolbar button... but I'd strongly
argue that the toolbox is used FAR FAR more often than many of the
other toolbar actions!
2018-01-24 11:38:07 +11:00
Nyall Dawson
884ccc8695
Fix documentation
2018-01-20 13:24:17 +10:00
Nyall Dawson
2b61591e37
Documentation++
2018-01-20 13:24:17 +10:00
Denis Rouzaud
0304708130
fix .gitignore to add missing sip files
2018-01-17 10:16:37 -04:00
Denis Rouzaud
458cab7b20
run sipify
2018-01-17 10:16:37 -04:00
Denis Rouzaud
7722010ca8
rename *.sip to *.sip.in for the auto generated sip files
2018-01-17 10:16:37 -04:00
Denis Rouzaud
9bf943a777
[QgsFilterLineEdit] use QLineEdit::addAction instead of hacking paintEvent
...
this gets much more simple
2018-01-16 10:22:20 -04:00
Nyall Dawson
de6519024e
Sipify
2018-01-16 19:45:40 +10:00
Nyall Dawson
87c1986c4b
Improved memory managment of algorithm dialogs
...
Ensure that dialogs are always correctly deleted when appropriate.
Also, if an algorithm is running in a background task and hits
an error, we automatically re-show the algorithm dialog and the
associated log for debugging.
Fixes #16858
2018-01-16 19:45:40 +10:00
Nyall Dawson
05c7132518
Fix initial positioning of floating widgets
2018-01-15 21:43:44 -04:00
Denis Rouzaud
df90feff00
add missing since and complete API brea doc
2018-01-15 21:41:01 -04:00
Denis Rouzaud
20722f4e5f
[user input widget] use a floating widget rather than a dock
...
fix #15177
2018-01-15 21:41:01 -04:00
Steven Mizuno
b9aa768c90
run sipify
2018-01-15 14:32:53 +10:00
Nyall Dawson
09fbdb1bc2
Drop color button/dialog live update option from API and UI
...
This options is broken in QGIS 3.0, but in any case has been
mostly made redundant by the live styling dock, and the other
non blocking color pickers which are implemented in most areas
of qgis now.
2018-01-15 12:40:44 +10:00
Denis Rouzaud
4568bcdf1f
[sipify] prevent creation of param list when not necessary
2018-01-12 21:10:16 -04:00
Denis Rouzaud
6d94ac9c6c
run sipify
2018-01-12 21:10:16 -04:00
Denis Rouzaud
8074dc4cbf
[options search] do not show widget when text is found ( #6052 )
...
fix #17812
2018-01-12 09:53:57 -04:00
Nyall Dawson
322f2e8c38
Drop composer class from gui library
2018-01-11 08:00:00 +10:00