Commit Graph

42 Commits

Author SHA1 Message Date
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
WandererFan
16ce8d40f5 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
f036438e53 Consolidate Section logic in DrawViewSection 2016-12-04 15:26:16 +01:00
WandererFan
6f424c1467 Fix missing line in TaskViewSection 2016-11-18 10:14:42 +01:00
WandererFan
3797f7ebc3 Fix segfault on bad input 2016-11-18 10:14:10 +01:00
WandererFan
a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
wmayer
c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
a5b5104875 Implement Cancel logic for TaskViewSection 2016-09-11 13:12:24 -04:00
WandererFan
34644e9d71 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00