Commit Graph

2321 Commits

Author SHA1 Message Date
WandererFan
cbf42ad3b0 Coverity fixes
151677
151789  - OK as is
152005
152508
154871  - false positive
156593
163235
2017-07-17 19:47:44 -03:00
wmayer
1d83d179ca do not hide any drawing elements when entering edit mode of a sketch 2017-07-15 15:47:22 +02:00
WandererFan
0768ae99cf Coverity fixes
CID 156629  - obsolete
CID 156624  - obsolete
CID 163225  - won't fix
CID 163226
CID 163227
CID 163228
CID 163229
CID 163235
2017-06-23 08:14:46 +02:00
WandererFan
17b69c7c3a Replace DPG table lookup logic with calculations
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun.  There were many errors in the tables that
needed manual checking to correct.  The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
Yorik van Havre
2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03:00
WandererFan
36960df73e Fix #2971 segfault on hide() current page from Python 2017-05-10 17:43:48 +02:00
WandererFan
5a0f53d75a Fix #2972 Export Pdf Page Not in Foreground
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
WandererFan
5cc00e0c4d Fix Dimension double child collection
if a dimension references 2 geometries in a View - ie
Vertex-Vertex - only count it as 1 child of View
2017-05-10 17:43:48 +02:00
WandererFan
76280891a1 DrawGeomHatch improvements
-draw & align dash patterns correctly on all QPainters using QGPathItem
-Allow patterns to start with space
-ensure horiz & vert lines pass through pattern origin
-Scalable complex patterns
2017-05-10 17:43:48 +02:00
WandererFan
f60464e545 implement detail view highlight in base view 2017-05-10 17:43:48 +02:00
WandererFan
eb34dc5103 fix confusing class name 2017-05-10 17:43:48 +02:00
WandererFan
75397d9e43 clean up GeomHatch feature, gui & dialog
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
WandererFan
0ab0a92bf2 Correct property names in Prefs 2017-05-10 17:43:48 +02:00
WandererFan
24698be5ae Apply HiRez mods to ViewClip 2017-05-10 17:43:48 +02:00
Ian Rees
6368b2f822 TechDraw: Tidy, and fix Qt5 template text edition 2017-04-26 18:23:21 +12:00
Yorik van Havre
17b597fb6e TechDraw: Fixed scaling of Draft/Arch views 2017-04-16 13:51:34 -03:00
wmayer
292fdebe49 fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
WandererFan
1bde45172e fix wrong size svg export page 2017-04-01 16:41:50 +02:00
Yorik van Havre
6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
Ian Rees
ac9f475702 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
Kunda
dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Yorik van Havre
e13d4a7882 py3: ported Measure and TechDraw 2017-02-21 13:59:30 +01:00
Mateusz Skowroński
fd2a1785f8 Fix some GCC warnings. 2017-02-12 06:28:55 +01:00
WandererFan
513decf8c8 Cleanup orphan features on DVP delete 2017-02-09 15:45:04 -05:00
WandererFan
69163cb016 Fix #2888 Crash on Delete View 2017-02-09 15:45:04 -05:00
WandererFan
2c31b01ffe Fix 2889 Toggle Frames for DrawViewSymbol 2017-02-07 10:51:42 -02:00
WandererFan
18cd5b5166 Feature Request 1880 - hide Template 2017-02-07 10:51:42 -02:00
WandererFan
d5bb03b75f hidden pref setting for face debugging 2017-02-07 10:51:42 -02:00
wmayer
64d0eb95f3 can't assign nullptr to a QPixmap 2017-01-30 14:13:57 +01:00
WandererFan
5f72efa610 Avoid issue if ViewProvider deleted while graphic still active 2017-01-29 19:40:34 -05:00
WandererFan
49c2be14ba Fix potential race when cancelling DPG creation 2017-01-29 19:40:34 -05:00
WandererFan
7cb3e93686 Preferences for GeomHatch 2017-01-29 19:40:34 -05:00
WandererFan
b1a5fd971c Add dialog for GeomHatch creation 2017-01-29 19:40:34 -05:00
WandererFan
84b858a142 fix naming conflicts 2017-01-29 19:40:34 -05:00
WandererFan
42bb64736d update tooltips, menu order 2017-01-29 19:40:34 -05:00
WandererFan
299ac94c9f Geometric hatch for Section face 2017-01-29 19:40:34 -05:00
WandererFan
1d3a8a910f minor fixes: debug message/tooltips/etc 2017-01-29 19:40:34 -05:00
WandererFan
f51b5818cc Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
0cb29cfa45 Fix Diamter/Radius Dimensions in Detailview 2017-01-29 19:40:33 -05:00
WandererFan
c0ab95aab0 Add Vector2D conversion 2017-01-29 19:40:33 -05:00
WandererFan
3d8622dd67 ViewSection inherits Scale from Base 2017-01-29 19:40:33 -05:00
WandererFan
3ce9c48c64 Clean up children on Page delete 2017-01-29 19:40:33 -05:00
WandererFan
6cad2bc834 Delete DPGI's when parent DPG deleted
Ensure Gui/QGIVxx is removed when App/DVxxxx is deleted
2017-01-29 19:40:33 -05:00
WandererFan
1738107590 Correct handling of deleted Features in QGraphicsScene 2017-01-29 19:40:33 -05:00
WandererFan
c0c4569546 Change DPG freature name from "cView" to "ProjGroup" 2017-01-29 19:40:33 -05:00
WandererFan
a6129b9198 Remove SectionLine on delete or cancel 2017-01-29 19:40:32 -05:00
WandererFan
78c07ced57 Remove section line from DVP on delete of DVS 2017-01-29 19:40:32 -05:00
WandererFan
60ba62c09f Fix non-rotation of QGIDecorations with QGIViewPart 2017-01-29 19:40:32 -05:00
WandererFan
429c32bdde Reset edit after dialogs 2017-01-29 19:40:32 -05:00
WandererFan
0623e8fecb Fix DPG positioning on mouse move 2017-01-29 19:40:32 -05:00