Commit Graph

91 Commits

Author SHA1 Message Date
wandererfan
d61cbe8f5f [TD]fix variable name 2020-02-16 14:24:14 -05:00
wandererfan
660335b1f3 [TD]fix potential crash if page deletes self 2020-01-16 18:15:22 -05:00
wandererfan
41b09a0ee5 [TD]fix LeaderLine noshow on doc load 2020-01-12 18:38:59 -05:00
wandererfan
4ac6415828 [TD]refix Dim select area problem 2020-01-08 15:07:28 -05:00
wandererfan
7580c05504 [TD]fix Dimension selection issues 2019-12-31 17:28:41 -05:00
wandererfan
e987560314 [TD]using namespace clean up 2019-11-03 18:52:19 -05:00
wmayer
0995ff1318 fix further file names vulnerabilities in TechDraw module 2019-10-03 02:45:38 +02:00
wmayer
5390266ac7 fixes #0004125: MDIViews not accessible correctly 2019-09-15 18:15:44 +02:00
wandererfan
f68e58e389 [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
e4d3909484 [TD] fix stale pointer in scene 2019-08-22 17:11:55 -04:00
wandererfan
7cb2713e8c [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
Zheng, Lei
6c46d24ee3 TechDraw: fix drawing update on undo/redo 2019-08-17 15:32:51 +02:00
Zheng, Lei
e90d09dc40 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
3e7249318f TechDraw: Fix font size issues when exporting to SVG 2019-05-27 22:18:14 -04:00
wandererfan
925145a8b7 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
c1f9f11c27 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
abf419f68c Text Leader initial version 2019-05-05 21:01:31 -04:00
Franck Jullien
c5942d6a78 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
576ef73cc4 Fix unnecessary update on Save 2019-03-28 10:44:33 -03:00
wandererfan
86cc2641bc Ensure ProjGroup is created before child 2019-03-07 10:58:29 +01:00
wandererfan
db3a69ba11 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
08b7e4718f 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
b50b8e7661 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
332baed6a6 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] 2019-02-11 16:12:50 +01:00
wmayer
c64aec5fd2 simplify creation of strings 2019-02-11 13:46:58 +01:00
luz.paz
550a60c43f Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
luz.paz
c9f1517eb8 Crowdin: Remove apostrophe from TechDraw/Gui/MDIViewPage.cpp translation 2019-01-20 00:29:18 +01:00
wandererfan
94bd69a4fe 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
699ad72d8c Fix #3763 Page Tab not removed on undo 2019-01-12 17:21:32 +01:00
wandererfan
a159df9fe5 Fix coverity CID 184293 2018-11-27 13:21:18 -03:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wandererfan
22ff1e2cea 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
6e05b0f4ca 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
fd426a856a Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
8f35f4c956 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
9f6b61a2a9 Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03:00
luz.paz
60bd74aaad Trailing whitespace fixes 2018-08-18 21:48:42 +02:00
luz.paz
fab9cad50f Misc. typos
Found via `codespell`
Trivial typos

Found via `codespell`
2018-08-18 21:48:42 +02:00
wandererfan
ce99d383fb Ignore selection changes while closing Page 2018-05-28 13:26:26 -04:00
wandererfan
1ff736e282 Remove debugging messages 2018-05-16 18:58:10 -04:00
wandererfan
8a183a0ba0 Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
wandererfan
f662af1913 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
2d4865bb11 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
56280b1ffb Fix Unrequested Page Zoom
- Page zoomed out after updating editable
  text.
2018-02-11 20:07:57 +01:00
luzpaz
3c53da4e35 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
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +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
74350839d1 Correct sceneRect when Template size changes 2017-11-16 10:31:14 -05:00
WandererFan
45cd1ecf38 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
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