Commit Graph

481 Commits

Author SHA1 Message Date
wmayer
6c89e6dc73 Spreadsheet: add tests for merging cells and binding cells 2022-06-16 15:05:43 +02:00
Zheng, Lei
75546946db Spreadsheet: fix border rendering for merged cells 2022-06-12 16:11:59 +02:00
Zheng, Lei
4d19e611f8 Spreadsheet: fix binding of merged cells 2022-06-12 16:11:59 +02:00
Zheng, Lei
47a5a6302e Spreadsheet: replace obsolete href with hiddenref in binding 2022-06-12 16:11:59 +02:00
Zheng, Lei
e6a6d838a6 Spreadsheet: fix range selection 2022-06-12 13:51:09 +02:00
Yorik van Havre
baa1105a53 Merged crowdin translations 2022-06-12 11:56:37 +02:00
Yorik van Havre
19ffd1ca94 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
fa9c78611e Updated ts files 2022-06-10 10:29:18 +02:00
Yorik van Havre
68e8c19aaf Merged crowdin translations 2022-06-09 13:40:35 +02:00
Zheng Lei
9d7b7af48c Spreadsheet: fix range checking (#6997)
* App: add option to normalize a Range

- To make sure the range starts from top left and ends with bottom right
corner.
- Default is to not normalize on construction for backward compatibility.
-  fix range checking in range binding
2022-06-09 12:20:08 +02:00
Uwe
0f9ea612b6 [Spreadsheet] uniform and polish wording of binding feature 2022-06-09 02:14:14 +02:00
Zheng Lei
5864e17d9d Spreadsheet: improve range binding feature (#6995)
* Spreadsheet: improve range binding feature
2022-06-08 19:19:41 +02:00
Yorik van Havre
b06f247f9f Merged crowdin translations 2022-06-08 12:28:54 +02:00
Yorik van Havre
b9b21ddac5 Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
eff8ecaafc Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
Uwe
4223e5d84d [skip CI] [Spreadsheet] change misleading word in dialog 2022-06-06 01:26:29 +02:00
Uwe
7955c0dfac [Spreadsheet] dialog fixes
- fixes to tooltips
- add 2 labels to make the dialog logic more clear
- remove non-functional help button
2022-06-06 00:46:42 +02:00
Yorik van Havre
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Chris Hennes
2d5400f923 Sketcher: Fix typo in tooltip 2022-06-02 12:47:30 -05:00
Yorik van Havre
d3d96816ce Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
8676d67a87 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
f5cf112f48 Spreadsheet: fix possible crash in SheetModel::setData
See also: https://forum.freecadweb.org/viewtopic.php?f=8&t=68529
2022-05-21 04:07:00 +02:00
wmayer
9d3040cc60 Spreadsheet: PR #6843: add missing unit test 2022-05-09 10:27:52 +02:00
Zheng, Lei
ef2db349f8 Spreadsheet: fix cell clearing 2022-05-09 10:25:49 +02:00
wmayer
c1c06f4ccb Spreadsheet: [skip ci] issue #6840/#6844: add unit test 2022-05-08 21:29:56 +02:00
wmayer
ee3038d32f Spreadsheet: [skip ci] issue #6844: add unit test 2022-05-08 18:59:23 +02:00
Zheng, Lei
d926331e57 Spreadsheet: fix extra row or column when printing
If there is only one single row or column in the table
2022-05-06 08:40:11 -05:00
Zheng, Lei
6d6af2dd3b Spreadsheet: add new API PropertySheet::getNonEmptyCells()
To exclude cells without any text content. Used when printing (among
other cases) to skip empty cells.
2022-05-06 08:40:11 -05:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
Zheng, Lei
5ec19fc5a1 Reduce debug log output 2022-04-23 16:21:49 +02:00
Zheng, Lei
f8ae185c15 Spreadsheet: improve efficiency when pasting many cells 2022-04-22 12:28:56 -05:00
Zheng, Lei
bc1f5498a9 Spreadsheet: do not copy empty cell
Because pasteCells() will clear empty cells in selected range
2022-04-22 12:28:56 -05:00
Zheng, Lei
070bdf5b4c Spreadsheet: do not create string property for empty cell
Otherwise may cause massive slow down when, for example, the user
changes the entire row/column color, which results in large amount of
empty cells.
2022-04-22 12:28:56 -05:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
0penBrain
2066946c29 Sheet: use wrapper function to clarify intention 2022-04-15 12:14:55 -05:00
0penBrain
e2e91cdafa Sheet: enable Merge action only if at least 2 cells are selected
Both main menu and context menu
2022-04-15 12:14:55 -05:00
0penBrain
384f56fe65 Sheet: enable Split action only if only one merged cell is selected
Both main menu and context menu
 Partially fixes #6744
2022-04-15 12:14:55 -05:00
0penBrain
2a002e3df6 Sheet: Warn user when cell merge is not done because already merge cells in the range
Partially fixes #6744
2022-04-15 12:14:55 -05:00
0penBrain
4f75f86a93 Sheet: update commands status when selection is changed
Notice it doesn't cover the case of the context menu actions
 Partially fixes #6744
2022-04-15 12:14:55 -05:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
Chris Hennes
cb21ac7bf8 Spreadsheet: PR6497 move return statement to new line 2022-03-29 13:25:44 -05:00
Chris Hennes
bb11c74565 Spreadsheet: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:22 -05:00
Chris Hennes
a9679d54c1 Spreadsheet: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
Zheng, Lei
8d97b2bcb8 Spreadsheet: fix owner property reference in PropertySheet
PropertySheet used to only work when refereceing its own cell either
through cell address or alias. It does not work for reference to other
property of the owner Spreadsheet object.
2022-03-26 10:19:20 -04:00
wmayer
5bab6fb189 Spreadsheet: include header with export macros 2022-03-24 20:51:48 +01:00