Commit Graph

83 Commits

Author SHA1 Message Date
wandererfan
f4bb395387 [TD]Prevent crash in SelectionSingleton
- in SelectionSingleton::setVisible, if the selection changes during
  loop, a crash may occur.
- in QGraphicsScene, hiding an item changes its selected status.
2019-08-28 12:20:42 -04:00
wandererfan
178520fb4a [TD] fix stale pointer in scene 2019-08-22 17:11:55 -04:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
Zheng, Lei
f243db0d5b TechDraw: fix drawing update on undo/redo 2019-08-17 15:32:51 +02:00
Zheng, Lei
d26f772035 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
Tomas Pavlicek
fad4db3300 TechDraw: Fix font size issues when exporting to SVG 2019-05-27 22:18:14 -04:00
wandererfan
d42c79c146 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
6c699887c0 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
7f07195f93 Text Leader initial version 2019-05-05 21:01:31 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
8ea5b43f88 Fix unnecessary update on Save 2019-03-28 10:44:33 -03:00
wandererfan
7b5458b7fa Ensure ProjGroup is created before child 2019-03-07 10:58:29 +01:00
wandererfan
198c2258d4 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
dca9120de7 Fix PDF orientation for ANSI B Landscape
- PDF exports in landscape orientation on ANSI B (Ledger) paper
  were formatted as landscape, but on portrait paper orientation.
2019-02-19 10:27:59 -03:00
wandererfan
a2bca22fc9 Fix #3800 Connect TD export to FC Gui Export
- TD did not define export types for the general Export
  command in Gui.
2019-02-14 21:14:11 +01:00
wmayer
110f6f74a4 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] 2019-02-11 16:12:50 +01:00
wmayer
0c37c7f5a5 simplify creation of strings 2019-02-11 13:46:58 +01:00
luz.paz
d5ea453f9d Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
luz.paz
5e2fbe18e5 Crowdin: Remove apostrophe from TechDraw/Gui/MDIViewPage.cpp translation 2019-01-20 00:29:18 +01:00
wandererfan
7bd3bb8371 Fix Text Literals for Translation
- these strings were noted as being difficult to
  translate on Crowdin
2019-01-20 00:29:17 +01:00
wandererfan
cec0cf9133 Fix #3763 Page Tab not removed on undo 2019-01-12 17:21:32 +01:00
wandererfan
d7d52336ba Fix coverity CID 184293 2018-11-27 13:21:18 -03:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
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
3ca8eb0989 Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
b569120131 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
d2c2b35b6c Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03: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
c96d72bd67 Ignore selection changes while closing Page 2018-05-28 13:26:26 -04:00
wandererfan
09f607c5fc Remove debugging messages 2018-05-16 18:58:10 -04:00
wandererfan
eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
wandererfan
00f36d78e4 Update Page display when View removed.
- if a View is removed from a Page, but not from
  the document, its graphic remains on the display.
  This change checks if graphic has an associated
  View on this Page.
2018-04-25 11:09:39 +02:00
wandererfan
f13689753c Fix #3367: view/data pane is unselected
- error in coordination of Tree & QGraphicsScene
  selection logic caused Feature to become
  unselected during update.
2018-04-23 07:55:38 +02:00
WandererFan
7349a66cf9 Fix Unrequested Page Zoom
- Page zoomed out after updating editable
  text.
2018-02-11 20:07:57 +01:00
luzpaz
a866b420d2 TechDraw: Crowdin request to remove apostrophes in translation string
This was green-lit by @wandererfan in a private message on the forum. 
ref: https://crowdin.com/translate/freecad/27911/en-hu#6503436
2017-12-31 15:03:50 +01:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
WandererFan
447d4816ce 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
9a3a98c303 Correct sceneRect when Template size changes 2017-11-16 10:31:14 -05:00
WandererFan
79936fbca5 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
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
d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
5a0f53d75a 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
69163cb016 Fix #2888 Crash on Delete View 2017-02-09 15:45:04 -05:00
WandererFan
5f72efa610 Avoid issue if ViewProvider deleted while graphic still active 2017-01-29 19:40:34 -05:00
WandererFan
f51b5818cc Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
6cad2bc834 Delete DPGI's when parent DPG deleted
Ensure Gui/QGIVxx is removed when App/DVxxxx is deleted
2017-01-29 19:40:33 -05:00
WandererFan
1738107590 Correct handling of deleted Features in QGraphicsScene 2017-01-29 19:40:33 -05:00
WandererFan
f68cbc83e3 Basic working HiResolution TD 2017-01-29 19:40:32 -05:00