Commit Graph

59 Commits

Author SHA1 Message Date
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
WandererFan
fa738e3dc0 Fix crash on deleting page 2016-12-04 15:26:31 +01:00
WandererFan
5bfdad804a Basic working ViewImage 2016-11-07 17:20:20 -05:00
WandererFan
a912ccd9bb Correct delayed update when adding views to ProjectionGroup 2016-10-31 11:06:15 -02:00
WandererFan
18302203cb Fix print size issue from pan/zoom mods 2016-10-07 14:55:58 -03:00
WandererFan
664168992f Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
wmayer
c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
4d7f00860e reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
Ian Rees
8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
Ian Rees
34583fad05 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Mateusz Skowroński
7e0181463c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
WandererFan
40fa4e0d40 Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
fe871cd245 Correct pageSize determination
remove obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
094a63356f Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
277a00dc3c dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
dd5b461e35 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
19ff06c9cd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan
731f76f52d Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan
efe10e0fb9 Fix #11 View Selection In Tree 2016-07-11 15:32:16 +02:00
WandererFan
6cec1df189 Working Face selection 2016-07-11 15:32:16 +02:00
Ian Rees
cd96b40983 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees
0e68943ac3 Tidy up in MDIViewPage 2016-07-11 15:32:16 +02:00
WandererFan
665bea53cf Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
WandererFan
37df199f24 avoid assert fail on DrawPatch attach 2016-07-11 15:32:16 +02:00