60052 Commits

Author SHA1 Message Date
Nyall Dawson
f14a06c2fd Make table cell editing behave more like the spreadsheet style conventions
Where selecting a cell and then typing enters a "weak" edit mode, whereby
pressing a cursor key will immediately end editing and move to another
cell. But double-clicking a cell to edit enters a "strong" edit mode,
where cursor key presses are used to navigate through the current
cell text
2020-01-14 19:08:20 +13:00
Nyall Dawson
515a6b19e0 Nicer initial dialog cell sizes 2020-01-14 19:08:20 +13:00
Nyall Dawson
979af783b9 Allow multiline text editing in table editor (ctrl+enter inserts a line break) 2020-01-14 19:08:20 +13:00
Nyall Dawson
60d5e22a05 Make a custom delegate for the table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
2117aa7a5d Make table editing action text more descriptive
By describing the number of rows/columns affected, eg "Insert 2 Columns Before"
2020-01-14 19:08:20 +13:00
Nyall Dawson
2e751dd7f2 Fix incorrect logic in reuse of existing manual table widgets 2020-01-14 19:08:20 +13:00
Nyall Dawson
12fb06b383 Standardize capitalization, use modern stable method to populate
and set combobox values
2020-01-14 19:08:20 +13:00
Nyall Dawson
f64d9c1ca0 Use 'Fixed Table' as name for manually created tables 2020-01-14 19:08:20 +13:00
Nyall Dawson
90fa54a52b Test masks 2020-01-14 19:08:20 +13:00
Nyall Dawson
0c1264c6dd Spelling 2020-01-14 19:08:20 +13:00
Nyall Dawson
faf49490a1 Add unit tests for manual table row heights and column widths 2020-01-14 19:08:20 +13:00
Nyall Dawson
0aef9a178b Unit tests for editing row height/column width 2020-01-14 19:08:20 +13:00
Nyall Dawson
20b7a520f2 Remove redundant Format menu actions from table designer
Since the formatting panel is always shown, these actions aren't required
2020-01-14 19:08:20 +13:00
Nyall Dawson
e7e53f4e96 Remove useless Refresh button from table properties 2020-01-14 19:08:20 +13:00
Nyall Dawson
62efbeb5cd Allow editing of row/column width/height in manual tables 2020-01-14 19:08:20 +13:00
Nyall Dawson
781712ffbf Add table row height/column width handling to table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
8de0e76233 Remove some unused heading settings from manual table widget 2020-01-14 19:08:20 +13:00
Nyall Dawson
2b5598d891 UX fixes for working with numeric formats in table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
024b321406 Unit tests and fixes for table numeric format setting/retrieval 2020-01-14 19:08:20 +13:00
Nyall Dawson
31cdf131b3 Add equality operator for QgsNumericFormat 2020-01-14 19:08:20 +13:00
Nyall Dawson
9835ab06ea Unit tests, fixes for table foreground/background color 2020-01-14 19:08:20 +13:00
Nyall Dawson
77850adff6 Unit test for cell clearing, fix duplicate signals 2020-01-14 19:08:20 +13:00
Nyall Dawson
e3507ff24c Unit tests for selection modes 2020-01-14 19:08:20 +13:00
Nyall Dawson
f82fea5418 Hide formatting widget from sip
It's an internal detail only
2020-01-14 19:08:20 +13:00
Nyall Dawson
5a4bd09f72 Expand docs, extra tests 2020-01-14 19:08:20 +13:00
Nyall Dawson
387787b539 Add interactive editor dialog for layout manual table items 2020-01-14 19:08:20 +13:00
Nyall Dawson
49d56f6c19 [FEATURE] Add new layout item type for manually created tables
Allows for creation of tables with contents manually entered by users
(i.e. spreadsheet style), so that users can create completely custom
tables.

Supports control custom cell contents, foreground and background colors.
2020-01-14 19:08:20 +13:00
Nyall Dawson
5704412d96 New class QgsTableCell
Encapsulates the contents and formatting options for a single cell
in a table (e.g. background and foreground color)
2020-01-14 19:08:20 +13:00
Nyall Dawson
21fc95e913 Fix azure test failure, missing .arg 2020-01-14 16:42:20 +13:00
Juergen E. Fischer
be4f45e721 crssync: put profile to temporary directory (fixes #33743) 2020-01-14 14:52:32 +13:00
Etienne Trimaille
0a4f0e51a6 add field name when reporting an error in refactorfield algo 2020-01-14 11:32:48 +13:00
Julien Cabieces
6b967949e3 Fixes #33449 Snapping empty layer when adding new feature 2020-01-14 11:28:21 +13:00
Nyall Dawson
e2004c7f52 Remove use of deprecated qInstallMsgHandler 2020-01-14 08:01:03 +13:00
Nyall Dawson
1dd977a0bf Fix some Qt 5.13 css parsing warnings 2020-01-14 08:00:09 +13:00
Alessandro Pasotti
483ed77b9b PG raster support composite PKs 2020-01-13 18:26:11 +01:00
Alessandro Pasotti
555c6c219f PG fix test SELECT NULL::bool -> None 2020-01-13 17:03:55 +01:00
Alessandro Pasotti
792fa4b7e8 PG raster: support SQL where conditions 2020-01-13 16:12:54 +01:00
Alessandro Pasotti
4d5b3f05da Fast track for first tiles 2020-01-13 14:02:52 +01:00
Alessandro Pasotti
0c2c133d83 DB manager use postgresraster provider instead of GDAL 2020-01-13 14:02:19 +01:00
Alessandro Pasotti
42e85bc53b Fix tests and pk guessing 2020-01-13 11:44:40 +01:00
speillet
34d3aaaa31 REFAC: always generated identity field are now determined at the provider initialization 2020-01-13 22:25:23 +13:00
speillet
1d818a4189 resolve review comments
resolve review comments
2020-01-13 22:25:23 +13:00
speillet
90a2d47584 BUG: fix identity field management when adding a feature, fix #33681 2020-01-13 22:25:23 +13:00
speillet
32ebc12d82 Add test to check identity field management 2020-01-13 22:25:23 +13:00
David Signer
2215fde27a fix constraint check if empty 2020-01-13 09:29:22 +01:00
David Signer
fb491a072a moved from gui to app 2020-01-13 09:02:06 +01:00
Martin Dobias
8f262091f2 Use setLimit() for Z range estimation (+copy&paste error fix) 2020-01-13 08:58:16 +01:00
David Signer
4574268b7b use iterator for looping validFeatures
better naming of the buttons and the enums
2020-01-13 08:44:04 +01:00
Nyall Dawson
efdb8d180e Another build fix 2020-01-13 13:45:34 +13:00
Nyall Dawson
3ba1b0de28 Update ACCEPTABLE_MISSING_BRIEF 2020-01-13 13:45:34 +13:00