Commit Graph

14 Commits

Author SHA1 Message Date
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
wmayer
8bb1249cef Sheet: Apply clang format 2023-09-10 16:01:37 +02:00
wmayer
e541c7d3dd Sheet: modernize C++: return braced init list 2023-08-19 11:35:41 +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
Chris Hennes
d60a0fb760 Spreadsheet: Remove unnecessary functions & files
Remove functions from they Python code for ViewProviderSpreadsheet that
are now in SheetView, and eliminate the unneded files for SheetView now
that it's being generated by hand to facilitate pseudo-inheritance.
2021-11-20 14:40:12 +01:00
wmayer
5eb97d0028 Spreadsheet: several improvements
* do not simply return with Py_None from Python handler without incrementing the ref. counter as otherwise the interpreter steals a reference and the program will crash after a while
* avoid using the plain Python C API and instead use the PyCXX API
2021-11-13 21:56:15 +01:00
wmayer
63e1f95a97 Spreadsheet: get access to the sheet view from the view provider via Python 2021-11-13 21:43:58 +01:00
wmayer
00846945d5 SpreadSheet: fix -Wunused-parameter 2021-11-13 20:45:06 +01:00
Chris Hennes
093f15dce5 Spreadsheet: Expose currentIndex to Python 2021-11-12 22:54:24 -06:00
Chris Hennes
37dbcf7f66 Spreadsheet: Add programmatic selection of cells
Implement modifying the current selection programmatically via the
ViewProvider object in both C++ and Python. This enables unit testing of
GUI tasks that require a selection, and improves scriptability of
Spreadsheet.
2021-11-12 17:33:39 -06:00
Chris Hennes
179c6b540e Spreadsheet: Minor code cleanup 2021-11-12 13:31:05 -06:00
Jose Luis Cercos-Pita
16bbe12336 Expose the selected cells to Python 2021-11-12 13:19:03 -06:00