Commit Graph

2421 Commits

Author SHA1 Message Date
Sebastian Bachmann
15d1b80df7 Adding a 20mm border
A4 Landscape is a special template, as it is new in the standard.
We orient us on the A4 portrait template, where the border is on the
left side (e.g. long side). Thus it should be on top for the
landscape template.
2017-11-16 14:36:53 +01:00
WandererFan
4ea6204d2e Fix Dimension value format with Qt5
- Dimension values were displayed as zero for locales
  with "," decimal point in Qt5.
2017-11-12 19:08:33 -05:00
WandererFan
3c790009a7 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
9d038ddf60 Make decimal point optional in FormatSpec 2017-11-12 19:08:33 -05:00
WandererFan
196dd536e0 Fix QGIVSymbol positioning/rotation 2017-11-12 19:08:33 -05:00
WandererFan
88b15ffdf1 Poistioning and Rotation for QGIVAnnotation 2017-11-12 19:08:32 -05:00
WandererFan
600962362c Fix QGIVImage positioning/rotation 2017-11-12 19:08:32 -05:00
WandererFan
44fd200166 Rotate DrawViewPart around part centroid 2017-11-12 19:08:32 -05:00
WandererFan
c70c6b15f7 Remove incorrect .qm/.ts files
- TechDraw translations directory contains old files based on
  Drawing module.
2017-11-05 18:44:49 +01:00
wmayer
7ea6b0e19e use scoped connection to automatically disconect on deletion 2017-11-01 14:13:57 +01:00
Yorik van Havre
cfe2d134a2 Updated translations from crowdin 2017-10-23 18:32:02 -02:00
WandererFan
3d7a4b9db6 Fix 3215 - ViewDetail does not handle Scale correctly 2017-10-19 13:24:19 +02:00
WandererFan
4e474cf60b Handle variable UoM schemes in Dimensions 2017-10-19 13:24:08 +02:00
wmayer
46d516b465 fix coverity issue 2017-10-15 21:08:04 +02:00
wmayer
1abc3ab82d fix -Winconsistent-missing-override 2017-10-15 20:26:10 +02:00
wmayer
8b2fcf3677 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
ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
ab8f8919b6 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
381a7375e7 Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
WandererFan
d6a5672f89 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan
6b922acdd5 Change links to Global scope 2017-10-02 13:48:45 -03:00
WandererFan
f3758bed5b add missing logic for "true" dimensions 2017-10-02 13:48:45 -03:00
WandererFan
4b8d04f528 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
4b3ab9e74e Allow Section based on ViewMulti 2017-10-02 13:48:45 -03:00
wmayer
46c0266591 fix determination of number of columns 2017-09-24 21:33:34 +02:00
wmayer
2f59c18664 0003010: Spreadsheet -> Drawing, maximum rows 2017-09-24 21:08:30 +02:00
WandererFan
79936fbca5 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan
a21ff86229 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
2e447dac3d Fix crash due to QGraphicsScene update while View.isDeleting() 2017-09-17 18:50:07 +02:00
WandererFan
63bfba6646 Make View backgrounds transparent
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan
40d19d438d Fix Symbol based View positioning 2017-09-17 18:50:07 +02:00
WandererFan
b6c820f4f4 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00
wmayer
69e962b07a fix override warnings 2017-09-15 08:26:48 +02:00
wmayer
ed87b819cb fix override warnings 2017-09-15 01:49:12 +02:00
wmayer
09737f2db3 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
wmayer
d11267ff1e load/save setting in techdraw panel 2017-09-10 17:08:23 +02:00
wmayer
c810508119 fix path to resource file in UI forms 2017-09-10 16:24:53 +02:00
WandererFan
b9f5de85b2 Handle Qt5 change from QString::sprintf to asprintf 2017-09-10 15:26:16 +02:00
WandererFan
d15cd94f19 Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +02:00
WandererFan
dfe174aec5 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
833bd66a18 Fix page alignment when change to different Template 2017-09-10 15:25:22 +02:00
WandererFan
ab28ef7f62 Prevent crash when Source(s) have no Shape 2017-09-10 15:25:05 +02:00
WandererFan
485321f8ea Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan
3e21b97867 Fix handling of Scale change in DrawViewSymbol classes 2017-09-10 15:24:30 +02:00
WandererFan
9e6248acc9 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
9379574016 Add preference for Template edit dot size 2017-09-10 15:24:00 +02:00
WandererFan
1722d1cd7d Include osifont in TechDraw
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
781338c347 Add RedrawPage command 2017-09-10 15:23:23 +02:00
WandererFan
b68b7badca Fix #2967 Allow fcstd to open without drawing TechDraw::DrawPage 2017-09-10 15:23:04 +02:00
WandererFan
d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00