Commit Graph

22 Commits

Author SHA1 Message Date
Ryan Kembrey
75b2ef67fc TechDraw: Update UI strings for consistency
Closes: #22143
2025-08-04 20:26:04 +02:00
Benjamin Bræstrup Sayoc
36f2aa6152 [TechDraw] Translations and grammer (#16301)
Co-authored-by: WandererFan <WandererFan@gmail.com>
2024-12-02 12:27:39 -05:00
wandererfan
762e1b53ff [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
Uwe
5792c502bf [TD] further dialog refinements to fix vertical spacing 2022-06-08 02:12:19 +02:00
Uwe
ef1a835f4f [TD] fix dialog height settings 2022-06-08 02:05:44 +02:00
Wanderer Fan
d0323e13c1 [TD]add missing vertical spacer to ui 2022-06-07 19:18:39 -04:00
donovaly
b981f9056c [TD] fix centerline crashes and bugs
the PR fixes the following things:
- change the way centerlines between 2 lines are calculated. The current implementation leads to many bugs and even crashes (e.g. when the 2 selected lines are parallel ones of a square). There are different forum threads from the last 1.5 years.
The new endpoint line sorting is the one described here: https://forum.freecadweb.org/viewtopic.php?f=35&start=20&t=44255&sid=989a668890f954c13ef81e4a04ee6912#p501179

- as consequence the erroneous and misleading line end flipping can go and is removed (only used internally)

- when creating a new centerline, you see it immediately

- when creating a new or editing an existing centerline and press Cancel, the creation/editing is aborted

- fix crash when the 2 selected lines are bot horizontal and one tries to create a vertical centerline

- fix crash when changing the orientation  of an existing centerline and the result would be invalid

- cleanup the code a bit
2021-05-15 05:21:29 +02:00
luz paz
373e3a68aa [TD] icon uniformity for ActiveView and FaceCenterLine commands
Renamed SVGs, saved as plain svg, updated appropriate areas in the source code
2021-04-05 14:41:30 +02: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
6182a14691 [TD] restore alignment
I lost the alignment property because of issues with Qt Creator as discussed in
https://forum.freecadweb.org/viewtopic.php?f=10&t=44609

This PR restores this.
(More to come but with further changes)
2020-03-28 08:50:30 -04:00
donovaly
ffeeb322d1 [TD] fix centerline dialog
- I realized that on smaller screens the vertical space was too small and Shift Vert was hardly visible. Thus Shift Vert is now below Shift Horiz:
2020-03-24 18:18:50 -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
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
donovaly
cee8cefd92 [TD] use icons uniform in all dialogs
(preferences and task)

- also uniform wording
2020-03-15 09:14:48 -04:00
wandererfan
1c276115c8 [TD]use "continuous" for solid lines 2020-02-16 14:24:14 -05:00
wandererfan
e406b2f3e6 [TD]Remove NoLine option from dialogs 2019-07-18 08:53:38 -04:00
wandererfan
941968b37c [TD]Edge and Vertex center lines 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
f25826bba3 Change Face centerline command name and icon 2019-06-06 19:58:15 -04:00
wandererfan
656e1654ff Initial working version Face Centerline 2019-06-06 19:58:15 -04:00