Commit Graph

284 Commits

Author SHA1 Message Date
wmayer
17c8b2c813 performance improvements
+ use const-reference as argument to avoid tmp. copy
+ use prefix incremation operator instead of postfix increment operator
2016-11-08 13:51:22 +01:00
WandererFan
5bfdad804a Basic working ViewImage 2016-11-07 17:20:20 -05:00
WandererFan
4f511f663a Resolve minor merge conflict 2016-11-07 17:20:20 -05:00
WandererFan
256c5ed198 Allow True dimensions to reference multiple Parts 2016-11-07 17:20:20 -05:00
WandererFan
4eab324803 Basic working multipart View 2016-11-07 17:20:20 -05:00
WandererFan
dc66106683 Create outline of 3D shape 2016-11-07 17:20:19 -05:00
WandererFan
06e8c6734d Fix scaled QGIViewSymbol boundingRect 2016-11-07 17:20:19 -05:00
wmayer
3b961bcb5f + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
Yorik van Havre
e2e73af4ac TechDraw: Fixed solid rendering of Arch Views 2016-11-02 13:14:31 -02:00
WandererFan
84161038c2 MSVC syntax fix 2016-11-01 20:02:15 -04:00
WandererFan
c8f380516a Fix accented characters within SVG symbol 2016-11-01 20:02:15 -04:00
Yorik van Havre
195ea429e6 Arch: fixed rotation of space labels in techdraw 2016-11-01 18:53:48 -02:00
wmayer
6c58963ba5 fix compiler warning 2016-10-31 16:13:16 +01:00
Yorik van Havre
4ee8a2a53d Arch: Section planes can now also include Draft stuff (dimensions, etc) 2016-10-31 11:10:08 -02:00
WandererFan
73aea7140d Fix test script to match new code
Fix nullptr bug revealed by bad test script!
2016-10-31 11:06:15 -02:00
WandererFan
83d657985c Fix Travis error re variable length arrays 2016-10-31 11:06:15 -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
a912ccd9bb Correct delayed update when adding views to ProjectionGroup 2016-10-31 11:06:15 -02:00
WandererFan
6abce56595 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
WandererFan
a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
a82a50a60f Fix ProjectionGroup Directions 2016-10-31 11:06:15 -02:00
WandererFan
a51b3f7b11 Add Caption property to Views 2016-10-31 11:06:15 -02:00
WandererFan
ce9f4f199a Fix XAxis orientation
Remove need for XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
2f6a779205 Allow hatching of section face 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
Yorik van Havre
54a8e856cc TechDraw: Arch View 2016-10-28 14:58:22 -02:00
WandererFan
18302203cb Fix print size issue from pan/zoom mods 2016-10-07 14:55:58 -03:00
WandererFan
f343f8e78f Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
6b4352f79f Rename properties to fit PropertyEditor window 2016-10-06 11:00:35 -03:00
WandererFan
c8f4de5fbc Fix #2707 hidden seam/smooth lines 2016-10-06 11:00:35 -03:00
WandererFan
ae5798434a Add options for face detection and cut face edge display 2016-10-06 11:00:35 -03:00
WandererFan
62328bb54c Prepare App side for "show units" preference 2016-10-06 11:00:35 -03:00
WandererFan
8d139816e3 fix utf8 regression caused by a12ecd49 2016-10-06 11:00:35 -03:00
WandererFan
001bbf52d6 Performance Ph2 2016-10-06 11:00:35 -03:00
wmayer
d808f669ce fix linking error in TechDrawGui 2016-10-01 13:48:22 +02:00
WandererFan
8459cdad5a Performance improvements Ph1 2016-09-29 17:37:20 -04:00
WandererFan
b27a526cd6 remove unnecessary includes
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan
1d281d821a Easier View selection - bigger frame 2016-09-28 20:24:47 -04:00
WandererFan
f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
WandererFan
ecbd8c8dc0 Control Face edges from Part/Section 2016-09-28 20:24:46 -04:00
WandererFan
664168992f Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
wmayer
c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
Yorik van Havre
d8ebfe58c5 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
WandererFan
4e729f0840 Changes re comments on PR279 2016-09-12 07:41:24 -04:00
WandererFan
254b28ea77 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
81472a5fd8 Fix over-aggressive input cleansing 2016-09-11 13:12:24 -04:00
WandererFan
4d7f00860e reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan
6dc017a1ce Add notes re Kura. subgraph 2016-09-11 13:12:24 -04:00
WandererFan
884a32fabf 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
WandererFan
bcb29541aa Suppress extraneous log messages 2016-09-11 13:12:24 -04:00
WandererFan
6c937e1bbe Protect EdgeWalker against bad input 2016-09-11 13:12:24 -04:00
WandererFan
d3afb32487 Avoid Bnd_Box is void exception when shapes don't intersect. 2016-09-11 13:12:24 -04:00
WandererFan
a5b5104875 Implement Cancel logic for TaskViewSection 2016-09-11 13:12:24 -04:00
WandererFan
17fe63598f Handle case where no faces found in View. 2016-09-11 13:12:24 -04:00
WandererFan
70420d9e3b Fix getViewObject inheritance across all ViewProviders 2016-09-11 13:12:24 -04:00
WandererFan
5fd19bb5f4 Break up try/catch blocks for easier debugging 2016-09-08 16:18:52 +02:00
WandererFan
cebe2faee1 Handle degenerate edges in face detection 2016-09-08 16:18:52 +02:00
WandererFan
c0428a940b minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
WandererFan
7e04c17bdd Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan
b75f82b500 Fix for Wires with same bbox, different areas 2016-09-01 12:14:43 -04:00
WandererFan
13afc71260 Handle zero length TopoDS_Edge in Geometry 2016-09-01 12:14:42 -04:00
WandererFan
0ba0351666 Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan
34644e9d71 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
b47eff76ae Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
9a93185f7e Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan
27ff991d79 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
3901d2fe82 Add View centerlines 2016-09-01 12:14:42 -04:00
Yorik van Havre
77dec4b91d TechDraw: Forgot one icon in last commit 2016-08-26 12:30:25 -03:00
Yorik van Havre
f0daa5ae16 TechDraw: Made some icons legible on dark UI theme 2016-08-26 12:25:43 -03:00
WandererFan
4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan
adb2fdafa5 Add methods for removing equivalent edgeLists from result 2016-08-26 11:39:03 -03:00
Ian Rees
8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
wmayer
58bf4ca455 fix warning 2016-08-16 15:24:33 +02:00
WandererFan
0023758263 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan
0d0040355c Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
WandererFan
cf90d69319 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
fa57b7a5de Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
5c63c8a957 Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
5c62493b31 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan
4fe4c31966 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan
af7d257b91 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
Ian Rees
d9b4213989 TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees
b432a0333c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
34583fad05 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
Ian Rees
66bd0f6b90 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Mateusz Skowroński
7e0181463c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
Mateusz Skowroński
8c6bede7b8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
wmayer
df8e53630d using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
cb05040a0f Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan
d8ccf14ec3 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan
ef69519261 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
3eb9037ada Handle non-latin1 chars in template 2016-08-12 10:01:16 +02:00
WandererFan
6ad50696b9 Replace GPL osifont file with LGPL3 version 2016-08-12 10:01:16 +02:00
wmayer
1c1f0dfe49 fix various compiler warnings 2016-08-09 13:16:26 +02:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
WandererFan
a539cec1a3 Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan
40fa4e0d40 Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00