Commit Graph

410 Commits

Author SHA1 Message Date
WandererFan
9277e964a1 Fix 3215 - ViewDetail does not handle Scale correctly 2017-10-19 13:24:19 +02:00
WandererFan
54b7d2c5f0 Handle variable UoM schemes in Dimensions 2017-10-19 13:24:08 +02:00
wmayer
525770f838 fix coverity issue 2017-10-15 21:08:04 +02:00
wmayer
a42199882b fix -Winconsistent-missing-override 2017-10-15 20:26:10 +02:00
wmayer
96d01c9200 fix several kind of warnings:
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
WandererFan
5fb3a4d58b Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
WandererFan
913e6a7fd8 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan
6d032f1bcf Change links to Global scope 2017-10-02 13:48:45 -03:00
WandererFan
310fdab492 add missing logic for "true" dimensions 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
wmayer
270d1ab175 fix determination of number of columns 2017-09-24 21:33:34 +02:00
wmayer
0816fd1bba 0003010: Spreadsheet -> Drawing, maximum rows 2017-09-24 21:08:30 +02: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
7c366eae50 fix override warnings 2017-09-15 08:26:48 +02:00
wmayer
506ce6b5f5 fix override warnings 2017-09-15 01:49:12 +02:00
wmayer
712966ff50 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +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
4125bfe9c3 Handle Qt5 change from QString::sprintf to asprintf 2017-09-10 15:26:16 +02:00
WandererFan
ac762c32ea Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +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
8e2e70c76e Prevent crash when Source(s) have no Shape 2017-09-10 15:25:05 +02:00
WandererFan
e94dce3906 Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan
bba800af1d Fix handling of Scale change in DrawViewSymbol classes 2017-09-10 15:24:30 +02:00
WandererFan
481008629b Add dumpSymbol method to DrawViewSymbol based classes
- this is mainly for debugging output from Arch/Draft
2017-09-10 15:24:14 +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
eb59620e4d Fix #2967 Allow fcstd to open without drawing TechDraw::DrawPage 2017-09-10 15:23:04 +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
wmayer
0d617f97d6 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Yorik van Havre
b16b17ced2 Updated translation strings (and sent to crowdin) 2017-08-31 10:46:55 -03:00
WandererFan
8671021f42 Fix upside down GeomHatch on asymmetric faces 2017-07-17 19:47:44 -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
luzpaz
657795cb12 TechDraw: typo fix 2017-07-10 19:29:55 -03:00
WandererFan
ba5f618f93 Fix Drawing/TechDraw BSplines
In some cases the Geom_BSplineCurve returned by
BrepAdaptor_Curve.BSpline() does not have the
same endpoints as the original Edge and should
not be used in place of Approx_Curve3d.
2017-06-28 22:14:01 +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
04eaca7e20 Add viewPartAsSvg in App 2017-06-23 08:14:46 +02:00