Max Wilfinger
7fdf2ec460
Update src/Mod/Spreadsheet/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:16 -05:00
Max Wilfinger
5ae0d2f6a9
Update src/Mod/Spreadsheet/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:16 -05:00
Max Wilfinger
6ffe3ee81b
Update src/Mod/Spreadsheet/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:16 -05: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
Kacper Donat
f2c3b19198
Spreadsheet: Use freecad_cast whenever possible
2025-04-26 14:23:25 +02: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
Benjamin Nauck
8cc98b9a88
Mod: Use new addObject<T>(...) that requires additional changes
2025-02-10 18:35:38 +01:00
Snow Faerie
8bc062b6e8
Fix and add menu accelerators ( #15532 )
...
* Fix and add menu accelerators: menus common to all workbenches
I use menu accelerators fairly often, so I find it very frustrating when
they are missing, or worse, they don't work due to the same letter being
assigned to several commands.
This patch adds accelerators to lots of menu entries missing them and
fixes broken accelerators.
Wherever possible, standard accelerator keys are used:
https://doc.qt.io/qt-5/accelerators.html
This commit covers accelerator fixes that are common to all workbenches.
Accelerator fixes for specific workbenches will be done in separate
commits.
* Add missing accelerators: Spreadsheet workbench
2024-12-13 10:39:30 -06:00
Snow Faerie
d7f1015264
Add Ctrl+{B,I,U} to Spreadsheet; remap File/Import
...
Adds hotkeys for Bold, Italic and Underline in Spreadsheet.
Ctrl+I was taken by File/Import... This patch remaps that to Ctrl+Shift+I.
2024-11-15 11:57:18 -05: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
Victor Predko
c9315ffc56
Spreadsheet: export CSV file extension by default
...
Fixes #10829
2023-10-02 06:38:40 +03:00
wmayer
8bb1249cef
Sheet: Apply clang format
2023-09-10 16:01:37 +02:00
wmayer
a49e104993
Sheet: modernize C++: use range-based for loop
2023-08-15 20:21:20 +02:00
wmayer
ca84a0662d
Sheet: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
Uwe
57044db084
[Spread] Gui: remove unused includes
...
- also sort includes
2022-10-10 01:04:07 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
wmayer
6ad47111ab
Spreadsheet: [skip ci] Fix several clazy issues:
...
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Missing emit keyword on signal call SpreadsheetGui::SheetViewHeader::resizeFinished [-Wclazy-incorrect-emit]
* Missing emit keyword on signal call QAbstractItemModel::dataChanged [-Wclazy-incorrect-emit]
* c++11 range-loop might detach Qt container (QStringList) [-Wclazy-range-loop-detach]
2022-07-25 11:23:27 +02: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
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
mwganson
0be3565dbe
[Spreadsheet] add preference page and 3 import/export parameters
2021-09-27 22:05:36 -05:00
luz paz
7b6af35e6c
Spreadsheet: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Spreadsheet Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
luz paz
5bd5f3a963
Spreadsheet: Fix header uniformity + trailing whitespace
...
[skip ci]
2020-11-27 19:39:06 +01:00
mwganson
973caf90ec
[Spreadsheet] add tooltip for alias line edit. Also, per user request, make it so when creating a new spreadsheet it is open for viewing/editing
2020-03-13 15:40:30 +01:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
wmayer
a247b7e6a5
force strict ISO C++ (-Wpedantic)
...
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web
TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
luz.paz
604811596f
Crowdin: cont...
2019-02-11 16:22:13 +01:00
luz.paz
e1446a0b99
[WIP] Crowdin: fixes pre-0.18 release
...
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
luz.paz
a86c0fe137
sWhatsThis fixes
...
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
wmayer
6cf82fbe62
fix -Wextra & -Wdeprecated in Spreadsheet
2016-09-22 16:35:05 +02:00
wmayer
f944ab3846
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
David Pello
5f0073b9e0
BSD Porting fixes, conditional compilation and use of gettimeofday()
2016-05-15 12:08:43 +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
Eivind Kvedalen
87c6af3547
Spreadsheet: Removed setPosition() function.
2015-11-28 12:56:28 +01:00
Eivind Kvedalen
e334ac3aed
Spreadsheet: Added direct alias command.
2015-10-11 09:41:14 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
Eivind Kvedalen
4f589f6d60
Spreadsheet: Use Base::fromStdString/toStdString.
2015-09-21 14:51:01 +02: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
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
1f94a15869
Fixed crash when setting/resetting bold/italic/underline on empty cells.
2015-02-17 11:44:21 +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