Commit Graph

29 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
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
421f6c52cb Coverity: Dereference after null check 2020-07-20 17:34:25 +02:00
wmayer
e9bc970c28 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wandererfan
add17980b3 [TD]Eliminate replace fcns for Cosmetic objs 2020-05-16 07:42:45 -04:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
1c5b2c8e27 [TD]fix crash on bad centerline selection 2020-04-17 10:11:24 -04:00
donovaly
9064768a5c [TD] TaskCenterLine add missing unit initialization
next try because PR #3275 cannot be merged.
2020-03-28 20:53:19 -04:00
donovaly
28e40f8dc5 [TD] Centerline dialog refurbish
- group the radio buttons
- make edit dialog apply immediately
2020-03-23 09:24:25 -04:00
wandererfan
30a0047cd4 [TD]Fix handling of CL flip parameter 2020-03-21 09:40:22 -04:00
donovaly
f9c9d1ee14 [TD] cleanup and fixes for Centerlines
- merge the flip Ends option to the main dialog
- use a QuantitySpinBox with angular unit for the angle
- store the state of the flipping correctly
- cleanup UI of dialog to avoid vertical whitespace
2020-03-19 09:33:31 -04:00
donovaly
197efb8b28 [TD] improve dialogs
- DlgPrefsTechDraw3.ui: improve wording as discussed
- TaskCL2Lines.ui: morph option to QCheckBox
- TaskCenterLine.cpp: the Aligned option is not available for face mode
- TaskCenterLine.ui: use same default line style as in prefs
- TaskCenterLine.ui: correct tooltip for align option
2020-03-18 09:52:42 -04:00
wandererfan
10d802698b [TD]fix bad preference keys
- GeomHatch color, centerline color, ortho balloon
  filled triangle end
2020-03-17 08:45:26 -04:00
wandererfan
a04d0f2574 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
517b11ee3b [TD]Fix crash on same end points 2019-07-19 20:17:20 -04:00
wandererfan
3aa6fa19c6 [TD]Py functions for CenterLines and formatting 2019-07-19 20:17:20 -04:00
wandererfan
e406b2f3e6 [TD]Remove NoLine option from dialogs 2019-07-18 08:53:38 -04:00
luz.paz
ff1a7fd0a8 Fix typos
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`
2019-07-16 11:21:52 -03:00
wandererfan
941968b37c [TD]Edge and Vertex center lines 2019-07-15 12:36:48 -04:00
wandererfan
3d2edd0f7e [TD]Add line appearance editor 2019-07-15 12:36:48 -04:00
wandererfan
11d8aaed61 [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
39e556fb3f [TD] Add Centerline Shift/Rotate 2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
3e0452417b Cosmetic CL for Section and Detail 2019-06-06 19:58:15 -04:00
wandererfan
f25826bba3 Change Face centerline command name and icon 2019-06-06 19:58:15 -04:00
wandererfan
e0bf0b966c Handle multiple face selection 2019-06-06 19:58:15 -04:00
wandererfan
656e1654ff Initial working version Face Centerline 2019-06-06 19:58:15 -04:00