64281 Commits

Author SHA1 Message Date
Alessandro Pasotti
9d30cd7b46 Fix ui header install 2020-07-16 13:03:12 +02:00
Alessandro Pasotti
4473b2cc77 New data item for browser connection roots
in order to distinguish it from schema and layer collections.
2020-07-16 12:22:20 +02:00
Alessandro Pasotti
fe69426b12 Remove double entry for new gpkg table in browser 2020-07-16 11:25:06 +02:00
Alessandro Pasotti
b1c371af58 Add static nativeTypes and remove ugly workaround 2020-07-16 10:49:10 +02:00
Alessandro Pasotti
1ac91c1f2e Add geom col capabilities and create spatial index 2020-07-16 09:40:18 +02:00
Alessandro Pasotti
f4ccbf2952 Address PR review comments 2020-07-16 07:37:57 +02:00
Alessandro Pasotti
41927971b2
Update src/ui/qgsnewvectortabledialogbase.ui
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-07-16 07:27:21 +02:00
Alessandro Pasotti
cd561d001b
Update src/gui/qgsnewvectortabledialog.cpp
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2020-07-16 07:19:00 +02:00
Alessandro Pasotti
653b58eadf Add gui header for new table dialog 2020-07-15 18:52:38 +02:00
Alessandro Pasotti
07adc6cef9 Doxy 2020-07-15 18:47:47 +02:00
Alessandro Pasotti
cc3d5d3942 Stupid flake! 2020-07-15 18:14:12 +02:00
Alessandro Pasotti
855e6cc7c1 Fix refresh on connection item 2020-07-15 17:36:36 +02:00
Alessandro Pasotti
f0b43aa2b7 Browser table: skip fields conversion + UX & tests
The reason for skipConvertFields is that the providers
are not smart enough to recognize if a field is alredy
compatible and they narrow down all fields anyway
to stay on the safe side.

Fixing all providers would be nice but it's definitely
out of scope for this PR.
2020-07-15 16:51:00 +02:00
Alessandro Pasotti
abb676dc39 Validate on show to setup button state 2020-07-15 09:32:22 +02:00
Alessandro Pasotti
605ba5a116 Fix expose spatialite browser fields 2020-07-15 09:31:03 +02:00
Alessandro Pasotti
d6259680f0 New table validator 2020-07-14 17:43:21 +02:00
Alessandro Pasotti
d8a45f92a3 New table dialog menu provider 2020-07-14 15:25:20 +02:00
Alessandro Pasotti
1f11d31c68 New database table dialog: actions 2020-07-14 15:25:20 +02:00
Alessandro Pasotti
d8a7531dc9 Connections API: add nativeTypes method 2020-07-14 15:25:20 +02:00
nirvn
5d3201e718 Modify travis test 2020-07-14 19:35:15 +07:00
nirvn
c964dea4fa [layouts] Allow cell-based data-defined text format in the attribute table 2020-07-14 19:35:15 +07:00
Matthias Kuhn
e8704f0517
Merge pull request #37780 from DelazJ/display_expression
Swap display_expression parameters order
2020-07-14 11:45:34 +02:00
Alessandro Pasotti
56613de7d1
Merge pull request #37760 from elpaso/browser-expose-fields
Browser expose fields
2020-07-14 07:44:46 +02:00
Nyall Dawson
b4c21fa44e Fix deprecation warnings 2020-07-14 14:15:36 +10:00
Nyall Dawson
4d91e67eb4 Fix travis build 2020-07-14 11:28:23 +10:00
Nyall Dawson
1f9b9c8c9e [feature][layouts] Allow cells in manual text tables to have expression
based contents

Allows individual cells from a manual text table to take their contents
from a preset expression. Expressions have access to the full layout
item expression context, allowing cells to calculate and display
metadata style values or aggregate based calculations.

Sponsored by City of Canning
2020-07-14 11:28:23 +10:00
Nyall Dawson
8e3151a159 Use @row_number, @column_number to unify variable names 2020-07-14 11:28:23 +10:00
Nyall Dawson
1878f2eb3b [layouts] Add API to retrieve an expression context scope for a particular
table cell, add backend support for QgsProperty based values in a manual
text table
2020-07-14 11:28:23 +10:00
Nyall Dawson
59a7bb6025 Update test 2020-07-14 11:23:33 +10:00
Nyall Dawson
e01cf94729 Don't show font preview when set to no format 2020-07-14 11:23:33 +10:00
Nyall Dawson
761f594cca Improve api and UX for handling cell text formatting in manual tables,
by removing the checkbox for overridding text format and using the
"not set" state from the font button instead
2020-07-14 11:23:33 +10:00
Nyall Dawson
cdc91267fc Add option to QgsFontButton to show a "set to null" action in menu
Allows for inclusion of a "use default" style option for QgsFontButton
2020-07-14 11:23:33 +10:00
Nyall Dawson
ac5a7226ee Add equality operator for QgsTextFormat 2020-07-14 11:23:33 +10:00
Nyall Dawson
dfb6223390 Add equality operators to QgsPropertyCollection 2020-07-14 11:23:33 +10:00
Nyall Dawson
9bad5578cf Equality operator for QgsTextShadowSettings 2020-07-14 11:23:33 +10:00
Nyall Dawson
52d7d1886a Add an equality operator for QgsTextMaskSettings 2020-07-14 11:23:33 +10:00
Nyall Dawson
305fa330bd Add equality operator for QgsTextBufferSettings 2020-07-14 11:23:33 +10:00
Nyall Dawson
7547dbd464 Equality operator for QgsTextBackgroundSettings 2020-07-14 11:23:33 +10:00
Nyall Dawson
c575b827bf Add an invalid state to QgsTextFormat
Allows determining whether the QgsTextFormat is a default constructed
object, which should represent a not set/default settings value.
2020-07-14 11:23:33 +10:00
Harrissou Sant-anna
e6f3c7fc70
Move maptip function help to variants structure 2020-07-14 01:15:21 +02:00
uclaros
d176f1d84d Only switch Qgis to previous used tool if the current tool is the move point tool 2020-07-14 08:38:20 +10:00
uclaros
a6c6fa805c Check if previous map tool is nullptr 2020-07-14 08:38:20 +10:00
uclaros
622e9a8e11 fix georeferencer sticky move gcp button 2020-07-14 08:38:20 +10:00
Harrissou Sant-anna
387fcc5c68 Disable distance settings when opening polygon's diagram dialog
The default "over centroid" setting is not compatible with distances
2020-07-14 08:27:47 +10:00
Juergen E. Fischer
76dad2faf6 osgeo4w: use gdal-dev-py3-env.bat also in qgis_process in nightlies 2020-07-14 00:26:29 +02:00
Juergen E. Fischer
ffe9dd554b fix f54c8fb7ee 2020-07-14 00:26:29 +02:00
Denis Rouzaud
384962b6c0
Merge pull request #37763 from 3nids/fix37718
make more buttons configurable in relation editor
2020-07-13 22:39:41 +02:00
Harrissou Sant-anna
133f8ad0fe
Move display_expression help to variants style 2020-07-13 22:31:31 +02:00
Denis Rouzaud
1c9211a2d9 remove scoped enum 2020-07-13 15:52:12 +02:00
Alessandro Pasotti
156e9384bf Changed lambda scope for fieldsItem 2020-07-13 15:44:26 +02:00