Commit Graph

313 Commits

Author SHA1 Message Date
WandererFan
5b19abb0dd Fix "still touched after recompute" and display 2017-12-03 19:17:53 -02:00
Unknown
88f6ecc118 SVG Cleanup: remove typos + uniformity fixes 2017-12-02 14:02:14 +01:00
Unknown
198ba0a123 SVG cleanup: remove all redundant <dc:title> content
Removed duplicate mentions of `[agryson] Alexander Gryson`
2017-12-02 14:02:14 +01:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
wmayer
bb40f9737e remove trailing whitespace 2017-12-02 13:54:07 +01:00
WandererFan
4756cfab4e Implement LineGroups for default weights
- Add ability to control default weight for visible,
  hidden and decorative lines from a configuration
  file. Diffent sets of defaults can be specified as
  a preference.
2017-12-02 13:51:25 +01:00
luzpaz
8200c97ed2 Fix Techdraw UI typo found via crowdin + misc. typos
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
WandererFan
58e8cefc56 Fix #3224 Seg Fault in DrawProjGroup
- QGIViews for DrawProjGroupItem were not being deleted since
  DPGI belongs to DPG, not DrawPage.  Since there is a 1 to 1
  relationship between MDIViewPage and DrawPage, the check for
  membership in DrawPage is unnecessary.
2017-11-24 20:03:02 -05:00
WandererFan
56f07de8ad Fix #2967 Ph2 Do not show page on restore.
- phase 1 of this fix displayed an empty Page when
  restoring with Preference set to "Do Not Keep Pages
  Up To Date".  Ph2 does not show the Page at all.
2017-11-24 20:03:02 -05:00
luzpaz
cc87c20afe Make uniform the use of B-spline visible to users
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source  comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
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