Commit Graph

79 Commits

Author SHA1 Message Date
Yorik van Havre
301f4fa42e TechDraw: Better tooltip for scale property 2020-10-20 14:50:23 +02:00
wmayer
a9202f931b Coverity: Unchecked dynamic_cast 2020-07-20 17:34:28 +02:00
luz.paz
d0d2096fc8 Fix typos [skip-ci]
Found via codespell v1.17.0.dev0  
``` 
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -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,./src/Doc/FreeCAD.uml
```
2020-05-12 10:04:29 +02:00
WandererFan
243ce53797 [TD]prevent extra recompute on X,Y change 2020-05-10 11:03:15 -04:00
wandererfan
a3029fec74 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
96b85abcc8 [TD]prevent loop with AutoScale 2020-03-29 19:25:00 -04:00
donovaly
6ca84a5d6a [TD] add missing repaints for DrawView
- this enables to see e.g. changes of the rotation of all kinds of views directly

- also fix a bug, see https://forum.freecadweb.org/viewtopic.php?f=35&t=44571
2020-03-26 08:08:41 -04:00
wandererfan
cb2a3d529c [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wandererfan
d2a8571737 [TD]fix autoscale for DPG 2020-02-14 07:44:56 -05:00
wandererfan
fe32c79c33 [TD]fix Preference dialog keys 2020-02-07 12:28:13 -05:00
wandererfan
79d5d35eb1 [TD]Preferences: reorganize and add missing 2020-01-27 08:02:29 -05:00
donovaly
39be11c459 [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
d1dc813a80 TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
donovaly
fade9156b1 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
77bac6dd54 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
donovaly
70be2a2bff TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
wandererfan
2fbf35eb50 [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
f7ca1d91d3 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
b29f738f07 [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
97c17029a6 [TD]fix Front lock icon in DPG 2019-10-11 09:16:41 -04:00
wandererfan
b24eea7beb [TD]Allow forced redraw of Page 2019-08-29 21:03:39 -04:00
wandererfan
2c2c851cc3 [TD]Add parameters to control drawing update 2019-08-29 21:03:39 -04:00
Zheng, Lei
e90d09dc40 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
8b608d99aa [TD]Fix LockPosition icon location 2019-07-18 08:53:38 -04:00
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
09679c18aa Fix regression in Caption handling 2019-06-01 15:59:26 -04:00
wandererfan
3f7570ad80 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
wandererfan
af0271691c Improve radius/diameter dims for ellipse,spline 2019-05-13 12:29:15 -04:00
wandererfan
abf419f68c Text Leader initial version 2019-05-05 21:01:31 -04:00
wandererfan
c4f63ec976 Fix handling of orphan objects during Page delete 2019-04-26 06:36:56 -04:00
wandererfan
db3a69ba11 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
9de6ff802a 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
2240ba0e2a 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
79504462d1 Fix movement of Front View in ProjectionGroup 2019-01-21 11:45:30 +01:00
wandererfan
3ec65a32ec Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan
cf738047d4 Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan
87bad86dd1 Coverity Fixes
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
dbaff50edb Fix Dimension update on DPG Scale Change 2018-08-11 11:24:13 +02:00
wandererfan
f9aa3ea957 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
wmayer
920a4e62b2 add missing newlines 2018-06-09 11:47:12 +02:00
wandererfan
e4debdcfce Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03:00
wandererfan
8a183a0ba0 Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
WandererFan
02b64dca3a VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
6fa92cb188 KeepLabel Property to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
d7544b4223 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
1e7aa621f1 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
0549caf2cb Support old Source property (PropertyLink)
- Source is now PropertyLinkList
2017-12-31 14:54:05 +01:00
WandererFan
5fb3a4d58b Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
WandererFan
ac762c32ea Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +02:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00