Commit Graph

18 Commits

Author SHA1 Message Date
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
7daff0960f [TD] ViewProviders: remove unused includes
- also sort the includes
2022-02-18 04:43:32 +01:00
wmayer
4327cd5ccb Mod: make sure to call the base class' handleChangedPropertyType 2021-09-15 14:07:32 +02:00
donovaly
a1915d313a [TD] make LineGroup selectable
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.

This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.

A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
donovaly
edc5925148 [TD] change RichAnnos's linestyle to the one of other TD components
we already use enumerations for line styles for other components of TD and also the preferences. It seems I just have overseen this occurrence.
2020-11-06 12:14:18 +01:00
luz paz
f20ab1765f Fix Crowdin typos + trim superfluous whitespace [skip-ci]
Some issues that this PR fixes (but not all listed):  
https://crowdin.com/translate/freecad/27911/en-en#6581578  
https://crowdin.com/translate/freecad/27911/en-en#6579080  
https://crowdin.com/translate/freecad/27911/en-en#6581580  
https://crowdin.com/translate/freecad/27911/en-en#6579086
2020-07-23 13:52:44 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
donovaly
bfe542fd67 [TD] use enum for line style
see https://forum.freecadweb.org/viewtopic.php?f=10&t=44268#p377798
2020-03-19 09:28:39 -04:00
donovaly
c390d64df0 [TD] handle deletions of hatches
- also uniform line endings in ViewProviderLeader.cpp
2020-03-07 19:31:49 -05:00
donovaly
f8d90c2523 handle Leaders, Welds, Tiles and RichAnnos 2020-03-05 11:34:35 -05:00
wandererfan
e8417c6268 [TD]fix LL edit when no MDI 2020-02-16 14:24:14 -05:00
WandererFan
a92e157a9d [TD]sync icon names and menu entries
- contributed by @uwe
2020-02-03 07:20:52 -05:00
donovaly
f95c87a759 [TD] disable the frame parameters if there is no frame
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42747&start=10#p363768 following
2020-01-28 12:42:13 -05:00
donovaly
338774dd47 [TD] Use PropertyLength for LineWidths
- contributed by @uwe

- also assure that the LineStyle is restricted to the range 0-5

fix another conversion routine mistake
2020-01-27 09:09:25 -05:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
bf38ae958f Fix point edit when attach point changed 2019-05-24 22:18:32 -04:00
wandererfan
6c699887c0 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
7f07195f93 Text Leader initial version 2019-05-05 21:01:31 -04:00