Commit Graph

70 Commits

Author SHA1 Message Date
wandererfan
e983ca3911 [TD]fix Preference dialog keys 2020-02-07 12:28:13 -05:00
wandererfan
c282924064 [TD]Preferences: reorganize and add missing 2020-01-27 08:02:29 -05:00
donovaly
fa40b50565 [TD] reduce scaling increment
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42780
2020-01-26 19:30:02 -05:00
luz.paz
cbdba0b5bb TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
donovaly
0721f7f1e4 TD: DrawView.cpp: add routine for PropertyDistance change
X and Y were changed at first by me to PropertyLength and later by Wandererfan to PropertyDistance. For this second change there is handleChangedPropertyType() code missing. This PR adds this.

- also some code formatting improvements automatically done by MSVC
2019-12-08 15:42:07 -05:00
wandererfan
efed66da15 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
donovaly
2fa9369d42 TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
wandererfan
0935aa9f5c [TD]fix Jumping Dimensions
- X,Y were changed to PropertyLength (>0), but some X,Y
  are relative, so X,Y sb PropertyDistance.
2019-12-03 17:12:01 -05:00
donovaly
deac1d8595 TechDraw: add units for position
see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
2019-12-01 21:48:46 -05:00
donovaly
286926d0c8 [TD] DrawView.cpp: better tooltips
- for the reason of the change, see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608

- also use "0.0" as initialization because these values are floats, not integers and e.g. in the mesh WB these are initialized that way
2019-11-03 11:25:12 -05:00
wandererfan
4db8cac678 [TD]fix Front lock icon in DPG 2019-10-11 09:16:41 -04:00
wandererfan
b2d8eeeb65 [TD]Allow forced redraw of Page 2019-08-29 21:03:39 -04:00
wandererfan
5bed53f858 [TD]Add parameters to control drawing update 2019-08-29 21:03:39 -04:00
Zheng, Lei
d26f772035 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
4c52b12360 [TD]Fix LockPosition icon location 2019-07-18 08:53:38 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
0c429e3bc6 Fix regression in Caption handling 2019-06-01 15:59:26 -04:00
wandererfan
59e47de506 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
wandererfan
ef912cfea8 Improve radius/diameter dims for ellipse,spline 2019-05-13 12:29:15 -04:00
wandererfan
7f07195f93 Text Leader initial version 2019-05-05 21:01:31 -04:00
wandererfan
408ac94416 Fix handling of orphan objects during Page delete 2019-04-26 06:36:56 -04:00
wandererfan
198c2258d4 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
41ab00c116 Restore secondary ortho view movement to v017 style
- this should also complete the fix for #3809
2019-02-14 21:14:11 +01:00
wandererfan
a0e3ab1a40 Fix #3810 X/Y Property Update on Locked View
- fixes x/y update when position locked for simple
  Views and ProjectionGroups.
2019-02-14 21:14:10 +01:00
wandererfan
90fd3ae483 Fix movement of Front View in ProjectionGroup 2019-01-21 11:45:30 +01:00
wandererfan
ddfa510565 Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan
859fed207d Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan
de66ab3d1a Coverity Fixes
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
9f29693df3 Fix Dimension update on DPG Scale Change 2018-08-11 11:24:13 +02:00
wandererfan
ee607d36a9 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
wmayer
833c2c601e add missing newlines 2018-06-09 11:47:12 +02:00
wandererfan
26d7d74725 Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03:00
wandererfan
eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
WandererFan
99fcba4992 VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
033077f76f KeepLabel Property to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
356f879659 Prevent Loop in BRepBuilderAPI_Transform
- if a scale transform with scale = 0 is passed to
  BRepBuilderAPI_Transform, it will loop forever.
  If Page.keepUpdated is false, and Views have not yet
  been executed (ex at load time), Views will have a
  0.0 x 0.0 bbox and if Autoscale is true, a scale of
  0.0 will be used in fit-to-page.
2018-02-01 17:01:12 -05:00
WandererFan
70099d5704 Allow View Position to be Locked
- prevents accidently moving View A from desired position
  while grabbing/dragging View B.
2018-01-11 11:21:25 -02:00
WandererFan
98be3a3ff7 Support old Source property (PropertyLink)
- Source is now PropertyLinkList
2017-12-31 14:54:05 +01:00
WandererFan
381a7375e7 Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
WandererFan
d15cd94f19 Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +02:00
WandererFan
d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
e8f2c68b5c Allow DrawPage updates to be suspended 2017-09-10 15:21:54 +02:00
WandererFan
79a5a6adde Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-07 10:51:42 -02:00
WandererFan
6e7c4bc838 Rename "Document" selection value to "Page" 2016-10-31 11:06:15 -02:00
WandererFan
cd87af3746 Allow manual repositioning of ProjGroup views 2016-10-31 11:06:15 -02:00
WandererFan
70b5c241d1 AutoScaling Fixes for non-DVP objects 2016-10-31 11:06:15 -02:00
WandererFan
a5a20701a7 Fix ProjectionGroup Automatic scaling 2016-10-31 11:06:15 -02:00
WandererFan
a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
a51b3f7b11 Add Caption property to Views 2016-10-31 11:06:15 -02:00
WandererFan
10e03f6c64 Coverity Fixes
*** CID 153360:  Control flow issues  (UNREACHABLE)
*** CID 153359:  Uninitialized members  (UNINIT_CTOR)
*** CID 153358:  Resource leaks  (RESOURCE_LEAK)
*** CID 153354:  Null pointer dereferences  (FORWARD_NULL)
2016-10-31 11:06:15 -02:00