Markus Reitböck
62b915ee7b
Spreadsheet: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 00:50:59 +02:00
Max Wilfinger
751626202d
Spreadsheet: Update UI strings for consistency
2025-06-30 10:35:16 -05:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Chris Hennes
7ac21c5eff
Merge pull request #20649 from pieterhijma/viewprovider-toggle-visibility
...
[Core] Allow setting visibility toggling in the ViewProvider
2025-04-14 10:45:14 -05:00
Kacper Donat
b300c80b90
Base: Use explicit pointer syntax for freecad_cast ( #20694 )
...
* Base: Use explicit pointer syntax for freecad_cast
This aligns our custom cast with other casts
* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
35a9673a75
Base: Rename Base::freecad_dynamic_cast into freecad_cast
...
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
Pieter Hijma
17c601eaca
[Core] Disable toggling visibility for objects
...
- VarSet
- Spreadsheet
- FEM objects
2025-04-05 16:12:49 +02:00
Pieter Hijma
286ddd0eea
[Core] Remove DisplayMode from Spreadsheet
2025-04-05 15:57:49 +02:00
Benjamin Bræstrup Sayoc
e9456f7115
Spreadsheet: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Kacper Donat
651cefde4d
Gui: Use getObject<T>() helpers in classes
...
This commit is generated using regex based find and replace:
```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```
To regenerate if needed.
2024-12-06 18:29:39 +01:00
Benjamin Nauck
ad141f1796
Swaps out the hard coded icon to the standard svg icon
2024-09-24 10:04:15 -05:00
wmayer
3e33f184b4
Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
...
Fixes #15888
2024-08-26 18:14:22 +02:00
PaddleStroke
a45d379d22
Spreadsheet: ViewProviderSpreadsheet: define some variables.
2024-06-24 17:51:15 +02:00
PaddleStroke
3fa0b68878
Assembly: Implement Bill Of Materials ( #14198 )
...
* Assembly: Implementation of BOM
* Assembly: BOM: make it possible for BOM to be made without an assembly.
2024-06-17 11:16:32 -05:00
wmayer
1da8e17ffa
Sheet: Make ViewProviderSpreadsheet.h self-contained
...
and fix a few minor issues
2024-05-22 13:32:05 +02:00
PaddleStroke
f9c9870273
SpreadSheet: Double clicking a spreadsheet changes to spreadsheet wb
2024-04-01 12:18:38 -04:00
wmayer
56820718c5
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
4a504437d3
merge master via cli
2023-09-16 02:12:58 -03:00
pre-commit-ci[bot]
222a2520b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
8bb1249cef
Sheet: Apply clang format
2023-09-10 16:01:37 +02:00
AgCaliva
0859cf6555
Fix DOMDocument redefinition error
2023-09-08 09:12:52 -03:00
wmayer
ca84a0662d
Sheet: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
luz paz
2131a4732b
[Spreadsheet] fix header uniformity
2022-12-02 19:19:56 -06:00
Uwe
57044db084
[Spread] Gui: remove unused includes
...
- also sort includes
2022-10-10 01:04:07 +02:00
berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
wmayer
2c229d3bc0
Spreadsheet: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1e3b97f619
Spreadsheet: in ViewProviderSheet do not add a second member to store the Python wrapper because the base class already has it
...
and it invalidates the wrapper in case the it is destroyed
2021-11-13 21:34:43 +01:00
Jose Luis Cercos-Pita
16bbe12336
Expose the selected cells to Python
2021-11-12 13:19:03 -06:00
wmayer
e900384250
declare getMDIView and getMDIViewPage as const
2019-12-29 13:55:39 +01:00
Zheng, Lei
e911b69769
Spreadsheet changes
...
Various changes to support in-place editing, and more.
2019-08-17 15:15:47 +02:00
wmayer
654fc12c8f
fixes 0003496: Can't delete spreadsheet if spreadsheet is opened.
2018-09-25 16:17:05 +02:00
wmayer
ac66048b8b
fixes #0002833 : [Spreadsheet] Keyboard events are sent to the wrong viewprovider
2018-09-12 17:40:57 +02:00
Eivind Kvedalen
a21571a652
Spreadsheet: Removed own expression parser and instead use the one in App.
2016-04-02 12:01:04 +02:00
Mateusz Skowroński
cd2db00f22
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Eivind Kvedalen
45a2207f81
Spreadsheet: Improve python code when the Delete key is pressed.
2015-11-28 12:56:25 +01:00
wmayer
821cd696c5
+ do not set edit mode for spreadsheet
2015-11-14 02:18:29 +01:00
Eivind Kvedalen
61cbad8a12
Spreadsheet: Removed 'using namespace App'; preparation for moving Expression
...
classes to App.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen
f7625481a2
Spreadsheet: Made freecad_dynamic_cast calls unambiguous (preparation for next commit).
2015-09-21 14:50:58 +02:00
Eivind Kvedalen
12e4d59458
Spreadsheet: Fixed bug in setEdit method for Spreadsheet module ( #2144 )
2015-06-13 12:46:53 +02:00
Eivind Kvedalen
3743008cda
- Self-reference bug
...
- Refactoring/clean-up of code
- Dependency tracking of aliased cells
- Various resolution errors
- Rewriting of ranges when columns/rows are inserted/removed
- References to aliases keep their units.
2015-03-04 22:18:20 +01:00
Eivind Kvedalen
383ffa6e15
Initial implementation of Spreadsheet module (C++ version) by Eivind Kvedalen.
...
Various fixes for Windows by
Peter Lama <peterldev94@gmail.com >
Werner Mayer <wmayer@users.sourceforge.net >
2015-02-13 21:53:58 +01:00