Commit Graph

303 Commits

Author SHA1 Message Date
Yorik van Havre
007e31a7fa TechDraw: Updated translation scripts 2017-11-16 17:12:52 -03:00
WandererFan
74350839d1 Correct sceneRect when Template size changes 2017-11-16 10:31:14 -05:00
WandererFan
857aca5e8b Fix calculation of integer scale
- conversion of <double> scale to/from integer scale
  n:d was generating odd fractions and overflowing
  spinboxes in ui.
2017-11-12 19:08:33 -05:00
WandererFan
c4e10f50f6 Fix QGIVSymbol positioning/rotation 2017-11-12 19:08:33 -05:00
WandererFan
9c85b1aca3 Poistioning and Rotation for QGIVAnnotation 2017-11-12 19:08:32 -05:00
WandererFan
d832eb55c9 Fix QGIVImage positioning/rotation 2017-11-12 19:08:32 -05:00
WandererFan
3b8c240f89 Rotate DrawViewPart around part centroid 2017-11-12 19:08:32 -05:00
WandererFan
e6f8cf1d35 Remove incorrect .qm/.ts files
- TechDraw translations directory contains old files based on
  Drawing module.
2017-11-05 18:44:49 +01:00
wmayer
10eb96c6e7 use scoped connection to automatically disconect on deletion 2017-11-01 14:13:57 +01:00
Yorik van Havre
05a5e9965e Updated translations from crowdin 2017-10-23 18:32:02 -02:00
WandererFan
9277e964a1 Fix 3215 - ViewDetail does not handle Scale correctly 2017-10-19 13:24:19 +02:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
WandererFan
913e6a7fd8 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan
a580f60e1e change isDeleting to isUnsetting
- DocumentObject::isDeleting was changed to isRemoving.
  This commit just prevents future confusion.
2017-10-02 13:48:45 -03:00
WandererFan
ce7f6ed351 Allow Section based on ViewMulti 2017-10-02 13:48:45 -03:00
WandererFan
45cd1ecf38 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan
89b29504dd Fix Symbol fail to paint
- calls ViewProviderDocumentObject, but should call
  ViewProviderViewPart in order to receive repaint
  signals.
2017-09-17 18:50:07 +02:00
WandererFan
e61d2b5d13 Fix crash due to QGraphicsScene update while View.isDeleting() 2017-09-17 18:50:07 +02:00
WandererFan
9ca4b72f1d Make View backgrounds transparent
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan
00edf63be8 Fix Symbol based View positioning 2017-09-17 18:50:07 +02:00
WandererFan
8431ec0fc1 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00
wmayer
71eb988a45 load/save setting in techdraw panel 2017-09-10 17:08:23 +02:00
wmayer
53c4587df4 fix path to resource file in UI forms 2017-09-10 16:24:53 +02:00
WandererFan
c0cddda862 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
fc6f8a91ce Fix page alignment when change to different Template 2017-09-10 15:25:22 +02:00
WandererFan
31535e9b53 Add preference for Template edit dot size 2017-09-10 15:24:00 +02:00
WandererFan
15be0f285e Include osifont in TechDraw
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
caace9d617 Add RedrawPage command 2017-09-10 15:23:23 +02:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
2524053887 Add Page level redraw signal 2017-09-10 15:22:34 +02:00
WandererFan
ddbbae9956 Allow DrawPage updates to be suspended 2017-09-10 15:21:54 +02:00
Yorik van Havre
b16b17ced2 Updated translation strings (and sent to crowdin) 2017-08-31 10:46:55 -03:00
WandererFan
c5c42e74a7 Coverity fixes
151677
151789  - OK as is
152005
152508
154871  - false positive
156593
163235
2017-07-17 19:47:44 -03:00
wmayer
b9135b594f do not hide any drawing elements when entering edit mode of a sketch 2017-07-15 15:47:22 +02:00
WandererFan
61e65d6b31 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
4c4e1e3210 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
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
WandererFan
fdb6bc01a7 Fix #2971 segfault on hide() current page from Python 2017-05-10 17:43:48 +02:00
WandererFan
62e657f71e 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
6cb5372ad3 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
235f0a93c6 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
9ef6b76977 implement detail view highlight in base view 2017-05-10 17:43:48 +02:00
WandererFan
0ce1a6f730 fix confusing class name 2017-05-10 17:43:48 +02:00
WandererFan
bf4a80dad5 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
c2033723a9 Correct property names in Prefs 2017-05-10 17:43:48 +02:00
WandererFan
c44ae84402 Apply HiRez mods to ViewClip 2017-05-10 17:43:48 +02:00
Ian Rees
950ac44f9f TechDraw: Tidy, and fix Qt5 template text edition 2017-04-26 18:23:21 +12:00
Yorik van Havre
f2fb31a432 TechDraw: Fixed scaling of Draft/Arch views 2017-04-16 13:51:34 -03:00
wmayer
ca343c43ab fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
WandererFan
219f126674 fix wrong size svg export page 2017-04-01 16:41:50 +02:00