Commit Graph

26 Commits

Author SHA1 Message Date
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
luz paz
2befcd9502 TD: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the TechDraw Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
luz paz
a3cb87b117 TechDraw: Header uniformity and whitespace fixes 2020-11-14 16:59:51 +01:00
wmayer
5584c36c1b Coverity: [skip ci] Dereference before null check 2020-07-21 14:31:09 +02:00
wmayer
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
4a494fec69 Coverity: Dereference null return value 2020-07-20 17:34:26 +02:00
wmayer
e9bc970c28 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
donovaly
d9e65c7780 [TD] use Gui::QuantitySpinBox in dialogs
as recently discussed

- also add lost alignment properties
2020-03-28 08:51:12 -04:00
wandererfan
3988824b67 [TD]fix RTA edit when no MDI 2020-02-16 14:24:14 -05:00
Zheng, Lei
1024344bb6 TechDraw: remove duplicated fix 2020-02-11 15:40:27 -05:00
Zheng, Lei
3cd84fc2d0 TechDraw: fix build for qt4 2020-02-11 15:40:27 -05:00
wmayer
e4be9e43d6 TechDraw: [skip ci] user visible text should be translated 2020-02-03 13:41:35 +01:00
donovaly
61005608ca [TD] TaskRichAnno tr to fix Qt4 build 2020-02-03 07:20:52 -05:00
donovaly
99baface06 [TD] set default text size for RichAnno dialog
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42414&p=364965#p364965
2020-01-31 08:35:38 -05:00
wandererfan
ebf0f9da0d [TD]Default color and weight for markup lines 2020-01-29 15:26:06 -05:00
donovaly
b758b22171 [TD] fix regression with line width I introduced today 2020-01-28 21:07:49 -05:00
donovaly
42e6aeb14e [TD] improve RichAnno and LeaderLine dialog
see: https://forum.freecadweb.org/viewtopic.php?f=35&t=42746&p=364126#p364126
2020-01-28 12:40:56 -05:00
donovaly
a3622ee49f [TD] rename some Draw* elements - try 2
as discussed here: https://forum.freecadweb.org/viewtopic.php?p=360042#p360042
2020-01-18 06:57:29 -05:00
wandererfan
8b2e318f15 [TD]fix parenting in Tree 2020-01-15 15:46:37 -05:00
wandererfan
6cb31ac91f [TD]Cleanup dead code in TaskRichAnno 2020-01-15 07:17:18 -05:00
wandererfan
afc2da43a8 [TD]fix jumping Rich Text Annotation 2019-12-04 10:16:19 -05:00
donovaly
15e5b29c22 TD renaming tools, part 2/2
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
wandererfan
249d7f2e9e Remove Surplus VP properties
- color, size and font info are embedded in the rich text
2019-05-17 19:35:25 -04:00
wandererfan
d078f901c7 Pass font/fontsize to RT editor 2019-05-05 21:01:31 -04:00
wandererfan
6c699887c0 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00