Commit Graph

59 Commits

Author SHA1 Message Date
wandererfan
cf94a892d6 [TD]fix label generation simple section 2023-09-10 14:25:15 -04:00
wandererfan
414e06d54d [TD]apply translateLabel after all addObject calls 2023-08-17 19:23:29 -04:00
Chris Hennes
94426e1f54 TD: Translate default labels 2023-08-17 19:23:29 -04:00
wmayer
25a63f8750 TD: move to new style connect() 2023-02-01 01:33:34 +01:00
wandererfan
12db3618df [TD]remove obsolete log messages 2023-01-13 12:15:33 -05:00
wandererfan
e059e32d40 [TD]dialog fixes from user testing
- fix jumping direction field in dialogs

- apply default rotation to simple sections

- fix rounding error in vector widget

- remove "enter" button on CompassWidget

- add lost focus trap in event filter.

[TD]prevent recompute on cancel without change
2022-12-18 09:42:42 -05:00
Uwe
023a37b92c [TD] Task*, part 1: remove unused includes
- also some sorting
2022-12-07 16:15:40 +01:00
luz paz
b389f6e602 TechDraw: remove trailing whitespace 2022-11-15 16:17:22 +01:00
wandererfan
0ebf61184a [TD]Section dialogs minor fixes
- make simple and complex dialogs consistent
- fix translation contexts
2022-11-10 19:19:22 -05:00
wandererfan
99f67b8a40 [TD]SectionView/ComplexSection - preview, direction selection
- add preview/live update to TaskSectionView & TaskComplexSection
- add view direction selector to uis
- use SectionNormal as Direction.  Make Direction read-only
- simplify section line end point calculation
- section group command in toolbar
- make section and complex section icons consistent
- fix compsolid cutting tool
- terminology: single/piecewise to offset/aligned
2022-10-28 08:47:45 -04:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Benjamin Bræstrup Sayoc
aa9a667506 [TechDraw] Clean up precompile in Gui 2022-08-14 09:20:38 -04:00
berniev
915369d8a2 Mod: Redundant_string_initialization 2022-08-08 16:52:42 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
7ab531c51a [TD] last part of removal of superfluous nullptr checks 2022-07-20 12:17:16 +02:00
Uwe
40d8ebb372 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Benjamin Bræstrup Sayoc
8d7cb491f7 [TechDraw] Improve readability of TaskSectionView.cpp 2022-07-15 11:31:11 -04:00
Wanderer Fan
10888e7aad [TD]fix handling of translated enumeration 2022-05-17 20:04:19 -04:00
Uwe
2e7cb2c3fb [TD] remove a single-header file 2022-03-25 04:11:53 +01:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
3b4b5a4e7c [TD]add missing ScaleType to Section dlg 2022-03-10 09:25:52 -05:00
Wanderer Fan
cb280afbc4 [TD]remove redundant edits from 9 Task dialogs 2022-01-22 14:51:20 -05:00
luz paz
d703d9a89c [TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
donovaly
b5f57ed2f0 [TD] make pointers to the UI std::unique_ptr
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.

This PR does this for all TD dialogs that don't already use a unique_ptr.
2021-01-19 19:24:27 +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
wmayer
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
donovaly
c6c549cc64 [TD] use KeyboardTracking for section view dialog
use the keyboardTracking feature as we now also do for the detail view dialog
2020-06-14 06:47:37 -04:00
wandererfan
98aaad5fb1 [TD]fix KB lockout in dialogs
- valueChanged signal is emitted for every keystroke
  causing multiple recomputes for every change of
  parameter.
2020-04-15 15:43:00 -04:00
donovaly
ccbdf1c11f TaskSectionView.cpp: add missing unit initialization 2020-03-29 15:14:13 -04:00
donovaly
286c50e99d TaskSectionView.cpp: fix a typo 2020-03-29 15:14:13 -04:00
donovaly
2fbd3729b7 [TD] Section dialog overhaul
- replace use uniformly Gui::QuantitySpinBox
- fix and uniform size of all objects in the dialog
- apply changes immediately once the section is created because this speeds up the workflow a lot, especially for when changing the plane position
- some code cleanup: remove unused void, avoid unused variables
2020-03-29 15:14:13 -04:00
wandererfan
080c658ab1 [TD]avoid crash on cancel of section edit 2020-03-20 07:28:33 -04:00
wandererfan
eb3e4ce56c [TD]fix crash when Section deleted during creation
- if the Section is deleted while the section dialog
  is still in progress, further processing in the
  dialog would cause a crash.
- should have "update intent" locks to prevent this
2020-03-16 08:57:08 -04: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
f347765140 [TD]fix crash on Section apply 2020-01-16 07:36:05 -05:00
WandererFan
0ef89a9e57 [TD]fix Section label 2020-01-04 08:19:11 -05:00
wandererfan
4cca918a76 [TD]fix #4234 initial display of section label 2019-12-29 09:39:47 -05:00
wandererfan
92e714726f [TD]remove duplicate line 2019-12-18 07:01:46 -05:00
WandererFan
85ba410276 [TD]Prevent crash when base view deleted
- happened during creation of DVSection
2019-12-04 20:44:13 -05:00
wandererfan
cefb719b6e [TD]Add Scale to Section gui 2019-11-27 07:31:45 -05:00
wandererfan
a2390cb33f [TD]TaskSectionView minor tune up 2019-11-27 07:31:45 -05:00
wandererfan
51d4c16e47 [TD]Section UI changes 2019-11-27 07:31:45 -05:00
donovaly
914edfc2ce TD renaming tools
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
1b4d2d48ae [TD]fix Section frame paint 2019-10-30 14:25:35 -04:00
wandererfan
55778c7458 [TD]Section dialog revisions & editor 2019-10-01 17:30:35 -04:00
wandererfan
d9fa2b3263 [TD]Correct section view alignment 2019-10-01 17:30:35 -04:00
WandererFan
4b3ab9e74e Allow Section based on ViewMulti 2017-10-02 13:48:45 -03:00
WandererFan
a6129b9198 Remove SectionLine on delete or cancel 2017-01-29 19:40:32 -05:00
WandererFan
429c32bdde Reset edit after dialogs 2017-01-29 19:40:32 -05:00