FEA-eng
1d95744740
Spreadsheet: Update SheetTableView.cpp
2025-11-14 15:03:23 +01:00
pre-commit-ci[bot]
9fe130cd73
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
PhoneDroid
c4bc1cacbc
[ Spreadsheet ]: Update SPDX License Identifiers
2025-11-02 21:36:25 -05:00
Markus Reitböck
993921f420
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
Roy-043
74377e2baa
Spreadsheet: fix Split Cell name in context menu
2025-09-11 12:32:23 -05:00
Roy-043
701b98ee37
Spreadsheet: message box titles to Title Case ( #23842 )
2025-09-11 14:45:37 +02:00
xtemp09
81fa85370a
[Spreadsheet] Add icons to the context menu ( #22773 )
...
* [Spreadsheet] Add icons to the context menu
This commit adds the following icons:
- edit-cut
- edit-copy
- edit-paste
- edit-delete
- merge-cells
- split-cell
- view-refresh
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-02 14:57:53 +02:00
Max Wilfinger
c5ddbb8a16
Spreadsheet: Update UI strings for consistency
2025-06-30 10:35:16 -05:00
xtemp09
be542053e1
[Spreadsheet] Replace override cursor with QGraphicsItem::setCursor ( #22097 )
...
* [Spreadsheet] Replace the risky use of override cursor with
QGraphicsItem::setCursor
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-21 12:57:07 +02:00
Kacper Donat
ea9ca39db9
Spreadsheet: Fix cursor being stuck resize state when scaled
2025-06-11 06:54:59 +02:00
Ladislav Michl
9683cf1e4f
Base: rename Exception's PascalCase methods to camelCase
2025-05-05 23:50:01 +02:00
xtemp09
2af7e8a37e
[Spreadsheet] Add usage of override cursor in SheetViewHeader ( #20786 )
...
* [Spreadsheet] Add usage of override cursor in SheetViewHeader
Closes #19863
* Update src/Mod/Spreadsheet/Gui/SheetTableView.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-16 20:42:24 +02:00
Benjamin Nauck
cb2c8a5a2d
Spreadsheet: Add #include <limits> where used
2025-03-31 23:52:48 +02:00
Benjamin Nauck
cd5c4b8acd
Spreadsheet: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:39 +01:00
xtemp09
0f68c0403a
[Spreadsheet] Remove prepended apostrophe if cell content is copied into clipboard ( #19781 )
...
* [Spreadsheet] Remove prepended apostrophe if cell content is copied into
clipboard
Closes #10058 .
2025-02-26 21:27:55 -06:00
Benjamin Nauck
b9a8730145
Spreadsheet: Center text (v+h) vertical headers
2025-01-06 18:15:30 +01:00
wmayer
02a5538fba
Fix several compiler warnings:
...
* Fix [-Wsign-compare]
* Fix [-Wc++20-designator]: designated initializers are a C++20 extension
* Fix [-Wunused-parameter]
2024-12-13 20:28:04 -05:00
xtemp09
64b4382462
[Spreadsheet] Enable zoom in Spreadsheet ( #16130 )
...
* [Spreadsheet] Enable zoom in Spreadsheet
Closes #6094 . This commit also fixes page tab order of Spreadsheet
settings in Preferences.
* Spreadsheet: apply clang-format
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2024-12-13 10:52:51 -06:00
wmayer
3b91fd33e0
Qt6: QColor::setNamedColor is deprecated since Qt 6.6
2024-09-11 15:41:04 +02:00
wmayer
cc54e9856f
Spreadsheet: Delete key doesn't clear contents in selected cells
...
Fixes #15023 . On macOS a different shortcut is defined for the 'Delete' key
2024-07-23 23:20:41 -05:00
wmayer
643fe0cf03
Sheet: remove double call of 'mimeData->hasText()'
2023-10-18 23:05:24 -05:00
pre-commit-ci[bot]
e92ed45df9
[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
b5d363baf1
Sheet: Apply clang format
2023-09-10 16:01:37 +02:00
wmayer
8027aed557
Sheet: modernize C++: use equals default
2023-08-22 12:45:58 +02:00
wmayer
25824cc363
Sheet: modernize C++: use range-based for loop
2023-08-15 20:21:20 +02:00
wmayer
52e1c7c33b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
b6f331f4fa
modernize C++: use transparent functors
2023-08-07 16:08:35 +02:00
Chris Hennes
42a910982d
Spreadsheet: Fix unintended copies
2023-02-27 15:58:32 -06:00
Chris Hennes
05837719f6
Spreadsheet: Fix possible null dereference
...
Fixes Coverity CID 184299.
2023-02-26 10:22:37 +01:00
luzpaz
be64da3de5
Spreadsheet: fix header uniformity
...
+ trailing whitespace
2023-01-22 21:46:17 +01:00
wmayer
e0076161c9
Spreadsheet: move to new style connect()
2023-01-13 20:02:46 +01:00
Zheng, Lei
729f2e857a
Spreadsheet: fix cell span synchronization with SheetTableView
...
Also, allow merge cell with overlaps, by auto split overlapped cells
first
2022-10-20 16:03:20 -05:00
Uwe
2dd9f90f57
[Spread] Gui: remove unused includes
...
- also sort includes
2022-10-10 01:04:07 +02:00
wmayer
6e0f43df92
Spreadsheet: Handle language change event for context-menu
2022-09-18 19:36:24 +02:00
berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
wmayer
e2f1452cb8
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
Uwe
763a575b23
Mod: remove some unnecessary nullptr checks
2022-07-18 12:58:12 +02:00
mosfet80
c48a569696
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Zheng, Lei
1c8c6a48af
Spreadsheet: fix range selection
2022-06-12 13:51:09 +02:00
Zheng Lei
3e81bd8c15
Spreadsheet: improve range binding feature ( #6995 )
...
* Spreadsheet: improve range binding feature
2022-06-08 19:19:41 +02:00
Zheng, Lei
2df514c743
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
5f17d5edca
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
0penBrain
922bcea6ec
Sheet: use wrapper function to clarify intention
2022-04-15 12:14:55 -05:00
0penBrain
cd007dd3c8
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
9eca8454ca
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
b33478f8d0
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
wmayer
2a2b8835c0
Spreadsheet: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
91e4e468dd
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
wmayer
5e0cfc64ee
App: use forward declarations
2022-03-04 21:09:46 +01:00
Zheng, Lei
c7255f196b
Spreadsheet: improve copy/cut/paste cells
...
Add color bound around user copy/cut ranges. Do not touch Spreadsheet
object when cutting, only do so when pasting.
2021-12-21 21:41:02 -07:00