WandererFan
2240932ef3
[TD]Section line and rotation fix 17831 ( #18663 )
...
* [TD]fix SectionLine colour (fix 17831 part 1)
* [TD]fix wrong rotation in Section task (fix 17831 part 2)
2024-12-23 11:03:31 -06:00
Ladislav Michl
e62b91ada4
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
ff17df2ff5
[TD]assorted Preference updates
...
- section line convention label
- remove superfluous save/restore on changeEvent
- change default scrub count
- add preference for default symbol dir
- add preference for display of section cut line
2024-05-19 09:42:47 -04:00
wandererfan
fc4cd682bb
[TD]ANSI/ASME section line conformance
2024-02-21 11:46:18 -05:00
wandererfan
d4e1731716
[TD]Standard Line Styles - Gui components
2023-12-01 11:27:29 -05:00
Benjamin Bræstrup Sayoc
6df0a20214
[TechDraw] Simplify return logic
...
Easy warmup
2023-04-11 13:00:45 -04:00
Benjamin Bræstrup Sayoc
3794897699
[TechDraw] Simplify return logic
2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
5d05acc87e
[TechDraw] Simplify retrievement of user preferences
...
for all TechDraw files
2023-04-10 23:34:05 -04:00
Uwe
75b8a4264d
[TD] QGIL - QGIVE:remove unused includes
...
- also some sorting
2022-12-04 03:29:19 +01:00
wandererfan
59e2aa9189
[TD]fix alignment of section line marks on rotated base view
2022-11-16 08:56:00 -05:00
wandererfan
0ff473a9b6
[TD]Complex Section - initial implementation
2022-10-28 08:47:45 -04:00
Wanderer Fan
99f2820712
[TD]fix Text sizes not exact
2022-09-07 16:06:54 -04:00
wandererfan
aa2b1b8392
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
Wanderer Fan
fdfc73fe93
[TD]remove precompiled from *.h
2022-08-14 09:20:38 -04:00
WandererFan
8be9445138
[TD]Section line symbol rotation
2020-07-09 08:46:21 -04:00
wmayer
611fd4088a
fixes #0004318 : Compilation fails with Qt 5.15 beta with QPainterPath errors [skip ci]
2020-07-02 13:19:43 +02:00
wandererfan
9cf2e42404
[TD]oblique section lines
2020-05-10 11:03:15 -04:00
wandererfan
a3029fec74
[TD]Centralize preference getters
2020-04-24 11:13:49 -04:00
wandererfan
14e6b19e75
[TD]SectionLine colour property
2020-03-26 12:36:33 -04:00
wandererfan
dddd7ccc7c
[TD]fix preference path for SectionLine colour
2020-03-24 18:16:23 -04:00
donovaly
69125f7ef7
[TD] add property for section line style
...
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
2020-03-21 09:46:04 -04:00
wandererfan
2f58af7af6
[TD]fix application of SectionLine preference
2020-02-20 09:39:23 -05:00
wandererfan
bb45c7b97e
[TD]adjust symbol location for font and text
2019-12-29 09:39:47 -05:00
wandererfan
a83b7566ec
[TD]Fix section line unfilled arrow heads
2019-09-17 06:51:04 -04:00
Tomas Pavlicek
068ef5b0a9
TechDraw: SVG export refactoring - Keep correct font sizes
2019-06-11 15:46:46 -04:00
wandererfan
6fb21ee8bc
Fix overlap of line ends and arrowheads
2019-06-04 06:59:17 -04:00
Tomas Pavlicek
3e7249318f
TechDraw: Fix font size issues when exporting to SVG
2019-05-27 22:18:14 -04:00
luz.paz
ad0ee86589
Misc. source comment typos
2019-03-22 10:44:14 -03:00
wandererfan
958e25f29b
Clean up section line arrows
2018-12-10 09:15:07 -03:00
wandererfan
d0767359ad
Fix SectionLine preference location
2018-12-10 09:12:51 -03:00
wandererfan
54a750a486
Add Parameter to Control Section Line Appearance
...
- allow user to specify traditional section line
or "reference arrow method"
2018-12-06 08:57:56 -03:00
wandererfan
5d363b450a
Sync code default values with Pref defaults
2018-03-11 21:33:59 +01:00
Sebastian Bachmann
1505ee3115
TechDraw: new center/section draw style
...
using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.
Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.
Bonus: adding blank templates for the common paper sizes (as the
Drawing WB has them)
2018-02-24 16:58:17 +01:00
WandererFan
c5c42e74a7
Coverity fixes
...
151677
151789 - OK as is
152005
152508
154871 - false positive
156593
163235
2017-07-17 19:47:44 -03:00
WandererFan
fbe97ec247
Basic working HiResolution TD
2017-01-29 19:40:32 -05:00
WandererFan
cdf64a212c
Coverty changes:
...
** CID 152490: Control flow issues (DEADCODE)
** CID 152492: Null pointer dereferences (FORWARD_NULL)
** CID 152493: Null pointer dereferences (FORWARD_NULL)
** CID 152494: Null pointer dereferences (FORWARD_NULL)
** CID 152495: Null pointer dereferences (FORWARD_NULL)
** CID 152496: Null pointer dereferences (FORWARD_NULL)
** CID 152497: Null pointer dereferences (FORWARD_NULL)
** CID 152502: Null pointer dereferences (REVERSE_INULL)
** CID 152507: Uninitialized members (UNINIT_CTOR)
** CID 152508: Uninitialized members (UNINIT_CTOR)
** CID 152508: Uninitialized members (UNINIT_CTOR)
** CID 152510: Uninitialized members (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
WandererFan
1bf2dc7411
Fix Section arrows,xDir,label
2016-09-01 12:14:42 -04:00
WandererFan
ae9f1c5994
Create ViewSection from ViewPart
...
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00