Commit Graph

42 Commits

Author SHA1 Message Date
WandererFan
c0cddda862 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
Mateusz Skowroński
c9a66dfc20 Fix some GCC warnings. 2017-02-12 06:28:55 +01:00
WandererFan
2629ef1d09 Fix Diamter/Radius Dimensions in Detailview 2017-01-29 19:40:33 -05:00
WandererFan
0abb92c932 Restore lost dimension tail 2017-01-29 19:40:32 -05:00
WandererFan
fbe97ec247 Basic working HiResolution TD 2017-01-29 19:40:32 -05:00
WandererFan
593e0f0d74 Fix error in Angle Dimension arc 2016-12-08 14:51:10 -05:00
WandererFan
504633b7fe Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
WandererFan
72c8f7332f Dimension fixes
Prevent _M_range_check on wrong selection

Allow unlinking of linked Dimension

Allow Horiz/Vert projected Dims
Improve error msg for invalid selction
2016-10-31 11:06:15 -02:00
wmayer
6148bf4df5 fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
cdf64a212c Coverty changes:
** CID 152490:  Control flow issues  (DEADCODE)
** CID 152492:  Null pointer dereferences  (FORWARD_NULL)
** CID 152493:  Null pointer dereferences  (FORWARD_NULL)
** CID 152494:  Null pointer dereferences  (FORWARD_NULL)
** CID 152495:  Null pointer dereferences  (FORWARD_NULL)
** CID 152496:  Null pointer dereferences  (FORWARD_NULL)
** CID 152497:  Null pointer dereferences  (FORWARD_NULL)
** CID 152502:  Null pointer dereferences  (REVERSE_INULL)
** CID 152507:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152510:  Uninitialized members  (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
Ian Rees
5d67bc27aa TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
wmayer
1134ab9747 fix warning 2016-08-16 15:24:33 +02:00
WandererFan
2d1ef50552 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan
498e37b39c Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
a4a3cc6f88 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan
ff12c020e0 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
Ian Rees
48c8f1cf60 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Mateusz Skowroński
f06de8d916 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
WandererFan
22f8287452 Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan
9904e90fd5 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
wmayer
0d011e2190 fix various compiler warnings 2016-08-09 13:16:26 +02:00
WandererFan
1b5447adde Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan
381c1e120e Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
c2feeca805 Add LineWidth property for Dimension lines 2016-08-01 19:27:52 -03:00
WandererFan
7d99cac289 Fix 2630 Dimension line thickness in SVG & print
Meaningful variable names.
2016-08-01 19:27:52 -03:00
wmayer
c294c8bdbd + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
WandererFan
dd543c22ef Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan
e2976b2ef5 Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
fb397e0f8b Dimension Precision property does not update
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan
6f615b96fc Correct Radius Dim leader behaviour 2016-07-11 15:32:16 +02:00
Ian Rees
1bb88a761e Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan
0319adeec7 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan
c458760753 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
Ian Rees
d12dbd8f56 Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
WandererFan
621d570026 Preserve True/Projected state on save/restore 2016-07-11 15:32:16 +02:00
WandererFan
4303ea2c2f fix range_check error during Dimension creation 2016-07-11 15:32:16 +02:00
WandererFan
041bf25cf0 use Mod/TechDraw for preferences 2016-07-11 15:32:16 +02:00
WandererFan
ffbaf79f4a /QGI/QGraphicsItem/ 2016-07-11 15:32:16 +02:00
WandererFan
2fbc4025cd ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
df13886349 Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00