Commit Graph

569 Commits

Author SHA1 Message Date
wmayer
87d73e2836 Spreadsheet: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
CarlOlson
3e139a2eb1 add generated code chnages, remove unused file and add bison *.output to gitignore 2023-03-26 18:48:59 +02:00
CarlOlson
b778a28b8a update expression grammar to handle parens around cond 2023-03-26 18:48:59 +02:00
Daniel-Khodabakhsh
071200ac8a Add various matrix related expression functions (#8603)
Adds a few new Expression functions with the goal to:

- Simplify Placement, Rotation, Vector and Matrix object creation.
- Add new matrix functions for rotation and translation.
2023-03-11 20:13:23 -06:00
mosfet80
bed7b76524 remove Python2 code 2023-03-04 17:51:43 -06:00
Yorik van Havre
217aace518 Merge pull request #8686 from yorikvanhavre/translations
Crowdin translations
2023-02-28 09:37:32 +01:00
Uwe
8f4c9d811b [Mesh] [Spread] fix compilation with PCH
- add 2 missing includes to be able to compile with precompiled headers
2023-02-27 23:09:58 +01:00
Chris Hennes
42a910982d Spreadsheet: Fix unintended copies 2023-02-27 15:58:32 -06:00
Chris Hennes
ae943476de Spreadsheet: Remove legacy file 2023-02-27 13:23:06 -06:00
Yorik van Havre
be6a654b3e merged crowdin translations 2023-02-27 16:01:15 +01:00
Chris Hennes
05837719f6 Spreadsheet: Fix possible null dereference
Fixes Coverity CID 184299.
2023-02-26 10:22:37 +01:00
wmayer
337991cbc7 Gui: use Color::asPackedRGB<QColor>() 2023-02-26 10:11:53 +01:00
Yorik van Havre
0566d90cc5 merged crowdin translations 2023-02-13 15:45:26 +01:00
wmayer
0780409fcc Spreadsheet: fix some warnings and issues reported by GH actions 2023-02-10 16:06:46 +01:00
Adrian Popescu
080d340345 Disabled Accessibility on SheetTableView 2023-02-07 16:42:54 +01:00
Yorik van Havre
d8b0e64e14 Merged crowdin translations 2023-02-07 15:55:31 +01:00
luzpaz
1f7ab06160 Fix whitespace issues 2023-02-05 16:39:58 +01:00
Yorik van Havre
80c68fa4df Merged crowdin translations 2023-01-30 10:04:15 +01:00
Yorik van Havre
81552acdeb update ts files 2023-01-30 09:55:26 +01:00
ShuffleWire
c4ef31c2ed SpreadSheet: Display alias
Add an option to display in the cell the alias of the cell.
In preference, add a custom field to format this display.
2023-01-29 10:11:50 -07:00
Yorik van Havre
433b17b829 Merged crowdin translations 2023-01-23 11:25:49 +01:00
luzpaz
be64da3de5 Spreadsheet: fix header uniformity
+ trailing whitespace
2023-01-22 21:46:17 +01:00
Yorik van Havre
5033f64ce9 Merged crowdin translations 2023-01-17 09:40:31 +01:00
Yorik van Havre
12239f7f99 Updated ts files 2023-01-17 09:24:46 +01:00
wmayer
e0076161c9 Spreadsheet: move to new style connect() 2023-01-13 20:02:46 +01:00
wmayer
62260a9ad4 Gui: [skip ci] fix some warnings reported by GH actions 2023-01-12 17:51:50 +01:00
Uwe
5ad737ccdc [Gui] modernize some connect() settings
- addresses #6166
2023-01-12 15:13:16 +01:00
luzpaz
0410dc8f4d Spreadsheet: [skip ci] convert tabs to spaces
Minor housekeeping fix
2023-01-12 14:08:33 +01:00
Yorik van Havre
ec6b14bbee Merged crowdin translations 2023-01-09 14:06:28 +01:00
Yorik van Havre
89147ef8de Regenerated ts files using lupdate6.6 2022-12-22 15:39:42 +01:00
Yorik van Havre
3376e387da Merged crowdin translations 2022-12-20 10:01:00 +01:00
Yorik van Havre
d206d5cd1f Updated ts files 2022-12-20 09:31:25 +01:00
Uwe
d151c5280f [Spread] fix compilation issues with qtcolorpicker.cpp
- "signals" is no longer accepted by Qt
- in QColorDialog::getColor the third argument must not be a nullptr
2022-12-09 01:57:25 +01:00
Uwe
ee7c243840 [Spread] App: remove unnecessary Windows headers
- I added this earlier today, but it is not necessary at all, tested on 2 different Win PCs
2022-12-08 02:46:36 +01:00
Uwe
def72857b8 [Spread] App: enable precompiled headers 2022-12-08 02:10:46 +01:00
Uwe
332af8f413 [Spread] remove unused includes from PreCompiled.h 2022-12-07 18:18:04 +01:00
luz paz
30ac2b1469 [Spreadsheet] fix header uniformity 2022-12-02 19:19:56 -06:00
luz paz
07d34012dd L10N: Don't translate strings that dont contain any alphabetic character
Per 0penBrain's suggestion
2022-12-02 11:57:34 +01:00
luz paz
056d1aea87 Fix various typos and grammatical issues 2022-11-30 12:45:29 +01:00
Chris Hennes
3e49a58efe Spreadsheet: Add unit test for #7841
Ensure that aliases can be set on empty cells.
2022-11-27 18:54:56 -06:00
flachyjoe
b06cd1c421 [Spreadsheet] Fix alias setting for empty cells
Fix #7841
2022-11-27 18:54:56 -06:00
Chris Hennes
0980fb1127 Spreadsheet: Ensure no args to Python calls 2022-11-10 14:36:54 -06:00
Chris Hennes
0c162d7f09 Spreadsheet: Add getUsedRange() and getNonEmptyRange() 2022-11-10 14:36:54 -06:00
Chris Hennes
f06ec1f28b Spreadsheet: Add Python API for getUsedCells
Also adds access to getNonEmptyCells, and unit tests for both. Designed
to fix #7587.
2022-11-10 14:36:54 -06:00
wmayer
5cc6f4c9d4 Spreadsheet: restore fix for multi-screen management of QtColorPicker 2022-11-07 21:43:14 +01:00
wmayer
4b08850edb Qt6 port:
* QApplication::setFallbackSessionManagementEnabled has been removed
* QString::medRef() has been removed. Use QString::mid() again.
* QTextStream::setCodec has been removed
* Use operator QVariant of the QFont class to make code Qt5 and Qt6 compatible
* Signature of QTreeWidget::mimeData() has changed in Qt6. Remove TreeWidget::mimeData() because it doesn't change the implementation
* QLayout::setMargin() is deprecated in Qt5 and has been removed in Qt6. Use QLayout::setContentsMargins()
* QDateTime::toTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::toSecsSinceEpoch()
* QDesktopWidget is deprecated in Qt5 and has been removed in Qt6. Use QScreen
2022-11-01 16:55:40 +01:00
Chris Hennes
1fac3fead0 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
luz paz
a5841ce1ed Spreadsheet: [skip ci] fix doxygen typo 2022-10-25 23:54:35 +02:00
0penBrain
7317e5a93c [Bugfix]Spreadsheet: fix multi-screen management of QtColorPicker
+ set parent when instantiating
2022-10-20 16:08:01 -05:00
Zheng, Lei
2053a90cbc Spreadsheet: fix cell span handling
When undo/redo, copy/paste, and removing row/column
2022-10-20 16:03:20 -05:00