Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Benjamin Nauck
dd6aa9f3c7
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
WandererFan
93aa3b312f
[TD]Fix RichText parent in scene ( fix #18283 ) ( #18768 )
...
* [TD]allow DrawViewAnno to be attached to another view
* [TD]allow image and spreadsheet attach to view
* [TD]ensure correct parent in scene
* [TD]refactor command helpers to separate file
- gathering the helpers in one place
- helper redundancy to be address in another change
* [TD]create symbol, spreadsheet, image with parent
* [TD]fix claimChildren for some views
- also includes many lint fixes
2025-01-06 18:11:25 +01:00
Ladislav Michl
2ea8a633ac
Base: Quantity: return std::string
2024-12-23 17:48:42 +01:00
Ladislav Michl
0ee3c9f8e6
Base: Drop QString-std::string conversion functions from Tools
...
Convenience helpers function Tools::toStdString and Tools::fromStdString
were implemented for Qt4 or older to perform utf8 aware conversion as
QString::toStdString/QString::fromStdString were using toAscii/fromAscii
internally (see https://dreamswork.github.io/qt4/classQString.html ).
Since Qt5 QString uses toUtf8/fromUTf8, which makes the helper functions
obsolete (see https://doc.qt.io/qt-5/qstring.html#fromStdString ).
2024-12-02 23:30:53 -05:00
wandererfan
4d90e1655a
[TD]fix display of spreadsheet cells with no horiz alignment
2024-07-06 18:51:59 -04:00
wandererfan
b36abb146c
[TD]correct s/s cell format
2024-03-05 07:29:29 -05:00
Chris Hennes
aaa0db3867
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
8de6db3e97
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Florian Foinant-Willig
24352a7f4c
TechDraw: modernize type checking
2023-10-23 18:08:59 +02:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
xtemp09
323476a9a4
[TechDraw] Improved readability of DrawViewSpreadsheet.cpp
...
I was stretching my fingers
2023-03-04 09:59:02 -05:00
wmayer
3c4375986e
TD: [skip ci] fix build failure with boost >= 1.78 on Windows
2022-12-08 22:11:33 +01:00
wandererfan
5ddc6ce789
[TD]Complex Section - initial implementation
2022-10-28 08:47:45 -04:00
Uwe
5dc30b159c
[TD] DrawView*: remove unused includes - part 2
...
- also sort includes
- also additions to precompiled header
2022-10-08 02:10:26 +02:00
wandererfan
a85f751668
[TD]encode Xml characters in spreadsheet
2022-10-04 08:16:36 -04:00
wandererfan
abfd9da579
[TD]CI clang warnings
2022-09-05 19:52:34 -04:00
wandererfan
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
Wanderer Fan
74cdc6db61
[TD]code clean ups
...
- QtConcurrent include and CMake for Win
- include clean up dvp, dvs, dvd
- variable names and nested if clean up
- remove debug code
2022-08-18 09:34:32 -04:00
berniev
915369d8a2
Mod: Redundant_string_initialization
2022-08-08 16:52:42 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
811b85caeb
[TechDraw] Improve readability of DrawViewSpreadsheet.cpp
2022-07-29 14:39:21 -04:00
andrea
5a9ffe468c
Remove deprecated function
2022-07-26 08:52:04 -04:00
wmayer
a99be14233
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
mapeze
60a75e5d24
Fix TechDraw View Spreadsheet with merged cells, 2
2021-05-21 17:26:13 +02:00
Aapo
6803af4dc4
[TD] Fix column index range checking bug in std::string DrawViewSpreadsheet::getSheetImage(void)
2020-12-05 00:50:19 +02:00
wmayer
9fd5769f07
TechDraw: [skip ci] fix several gcc/clang warnings
...
-Wunused-private-field
-Wmaybe-uninitialized
-Wunused-parameter
2020-09-11 15:10:58 +02:00
wandererfan
3d6390bc93
[TD]Allow single line S/S view
2020-09-02 11:42:10 -04:00
wmayer
473553a212
PVS: V595 A pointer was utilized before it was verified against nullptr
2020-07-18 10:59:28 +02:00
wandererfan
e80c576241
[TD]Centralize preference getters
2020-04-24 11:13:49 -04:00
luz.paz
cbdba0b5bb
TD: fix header uniformity
...
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
wandererfan
5f619c6743
[TD]Fix Integer display in s/s image
2019-09-29 19:56:46 -04:00
wandererfan
019198a30c
[TD][SS]Fix 4131 SS formatting in TD View
2019-09-20 12:56:26 -04:00
wandererfan
ba6092502c
Fix #3891 S/S Contents not displayed at load
...
- DrawViewSpreadsheet is empty after document load. Requires
recompute to display s/s contents.
2019-03-09 17:41:43 -05:00
wandererfan
5a26558a9d
Fix out of scope warnings
...
- Links within TD were not set to Global scope. This caused
problems when a Page was in a container, but Views were not
in the container.
2019-01-22 10:15:04 -02:00
wandererfan
8801726ed4
Fix StartCell/EndCell handling
...
- multi-character Columns and multi-digit Rows
were not being interpreted correctly.
2018-12-24 11:02:32 -02:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
triplus
f34659a29f
TechDraw LabelFont defaults
2017-12-31 15:09:13 +01:00
luzpaz
ab8f8919b6
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
46c0266591
fix determination of number of columns
2017-09-24 21:33:34 +02:00
wmayer
2f59c18664
0003010: Spreadsheet -> Drawing, maximum rows
2017-09-24 21:08:30 +02:00
WandererFan
485321f8ea
Add requestPaint formerly in DrawView::execute
2017-09-10 15:24:50 +02:00
WandererFan
d27b8387e8
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00
wmayer
76c529d47d
fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359
2016-12-18 14:12:13 +01:00
WandererFan
bcb1534391
Add 2nd page of preferences
2016-11-24 14:44:37 -02:00
WandererFan
ed2de2c06e
Default font to Sans from osifont
2016-07-11 15:32:16 +02:00
WandererFan
665bea53cf
Svg DrawViewSpreadsheet
2016-07-11 15:32:16 +02:00