Commit Graph

426 Commits

Author SHA1 Message Date
wandererfan
733dae2b3d Update context menu
- Page context menu was left over from
  Drawing module. Now updated with
  appropriate actions.
2018-10-25 10:58:53 -03:00
wandererfan
650404c17f Reduce unnecessary updates to QGraphicsScene
- Views were being redrawn unnecessarily on
  changes to selection status. Views are now
  redrawn only if the item's selection status
  is different from the desired state.
2018-10-25 10:58:53 -03:00
wandererfan
31a9ae655f Fix crash on RevertDocument
- MDIViewPage was not being deleted when document
  was closed. On reload, stale MDIViewPage was using
  old object pointers.
2018-10-22 15:39:01 -03:00
wandererfan
3ca8eb0989 Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
8280d551a9 Fix Rotation not applied after restore
- DrawAnnotation was not applying Rotation
  property after restore from saved file.
2018-10-22 15:34:13 -03:00
wandererfan
a281832627 Change tool from cylinder to prism
- cutting with cylinder produced too many
  short bsplines from HLR.  Straight cut
  from prism reduces these and speeds up
  HLR significantly.
2018-10-17 11:25:49 +02:00
wmayer
7527c7d149 fix -Wunused-variable 2018-10-12 22:17:29 +02:00
wandererfan
f6e9faa62c Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan
eaf987625e Correct tree icon for Angle3Pt 2018-10-11 21:59:05 +02:00
wmayer
ae7c53b951 Py3: fix opening file 2018-10-11 12:06:07 +02:00
wandererfan
b569120131 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
1578b05a98 Add option to reverse arrowheads on Dims 2018-10-02 09:42:16 -03:00
wandererfan
d2c2b35b6c Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03:00
wandererfan
df0eb076a6 Better error messages for bad selections 2018-09-26 17:00:07 +02:00
wandererfan
859fed207d Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan
3163c3d6f5 Fix late repaint of secondary views
- when ScaleType=Automatic and Scale changes
  individual views were not being repainted until
  next document recompute.
2018-09-26 16:59:12 +02:00
wandererfan
6b9c1e89d1 Show full width Edges around Section Face
- Section Face was hidding 1/2 of Edge if "Show Section
  Edges" was set to false.
2018-09-26 16:58:52 +02:00
wandererfan
aa8feb79d0 Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wmayer
a84b84bf1b CMP0050: make TechDraw module aware of cmake policy 2018-08-20 20:59:39 +02:00
wandererfan
368ba7a37e Fix Travis Compile Warnings 2018-08-18 21:59:05 +02:00
luz.paz
a981753d2c Trailing whitespace fixes 2018-08-18 21:48:42 +02:00
luz.paz
781d007321 Misc. typos
Found via `codespell`
Trivial typos

Found via `codespell`
2018-08-18 21:48:42 +02:00
wandererfan
603c294d47 Fix QGIVP boundingRect 2018-08-11 11:24:12 +02:00
wandererfan
5730aae4c9 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
wandererfan
cd0b26a69c Fix text position in Diamter Dim 2018-07-31 16:08:48 -03:00
wandererfan
4046b001b5 Fix default Vertex color 2018-07-31 16:08:48 -03:00
wandererfan
ee607d36a9 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
luz.paz
0576524144 Misc. code comment typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
2018-07-27 10:39:43 -03:00
wmayer
d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wandererfan
2cc80b6131 Add preference settings
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00
wandererfan
8ba4cd1058 Add support for alternate LineGroup file 2018-07-23 12:47:17 -03:00
wmayer
548f63fd0e fix -Winconsistent-missing-override 2018-07-22 17:19:36 +02:00
wandererfan
a077a6d1af Tweak Linear Dim Cosmetics 2018-07-20 10:36:26 -03:00
wandererfan
9bfd118f37 Fix includes for M_PI on Win
Fix missing ImportExport
2018-07-18 10:52:03 -03:00
luz.paz
be5e93ddfe Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
wandererfan
860ad6b913 Use Stroker to generate Edge selection area 2018-07-11 21:17:03 -03:00
wandererfan
545bed8b15 Fix arcs on outer angle dimensions 2018-07-11 21:17:03 -03:00
wandererfan
0914829958 Fix initial placement of linear dims 2018-07-11 21:17:03 -03:00
wandererfan
cd02be6fca TD: provide gap between figure and ext lines 2018-06-22 10:47:55 -03:00
wandererfan
b20a992579 Fix extension line direction in isometric views 2018-06-22 10:47:55 -03:00
wandererfan
79e290ffb5 Fix 3505 Special Chars in Path
- thanks to @marams for the patch.
2018-06-10 19:13:21 +02:00
wandererfan
6c4e4b35af Ensure Correct Scale in DrawViewSection
- when the Source View for a Section is a Projection
  Group item, need to use the Scale property from the
  parent Projection Group.
2018-06-10 19:13:21 +02:00
wandererfan
a6e9eec5ad Avoid Qt warning re mdi window not in workspace 2018-05-28 13:27:11 -04:00
wandererfan
c96d72bd67 Ignore selection changes while closing Page 2018-05-28 13:26:26 -04:00
wmayer
4682b4fd25 fix -Wparentheses-equality 2018-05-23 18:40:47 +02:00
wandererfan
afdd30b137 Fix delayed painting
- Annotation and Image were not being painted
  immediately, but had to wait for a page
  refresh.
2018-05-16 18:58:10 -04:00
wandererfan
09f607c5fc Remove debugging messages 2018-05-16 18:58:10 -04:00
wandererfan
57b7f3389a Fix selection when multiple pages 2018-05-15 21:50:48 +02:00
wandererfan
89a7b2a92f Fix selection for radius Dims
- selection of ellipse curves was allowed
  but not supported for radius dims.
2018-05-15 21:50:48 +02:00
wandererfan
26d7d74725 Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03:00