Commit Graph

520 Commits

Author SHA1 Message Date
wandererfan
e4debdcfce Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03: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
cdf956423c Add Export Page as Dxf to TD Gui 2018-05-01 13:22:02 -04:00
wmayer
5e484d0a92 disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions 2018-04-29 11:00:28 +02:00
wandererfan
8047ec3f7e Add View and Page Dxf export 2018-04-29 10:12:31 +02:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
wandererfan
ae2b51d40f Add some debug and util routines. 2018-04-25 11:09:39 +02: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
59ca75e1fe Ensure Section face redrawn on update 2018-04-25 11:09:39 +02:00
wandererfan
fdaf316e9e Add #3337 Arbitrary Dimension 2018-04-25 11:09:39 +02:00
wandererfan
9bcc7da599 Fix exterior angle arc and value 2018-04-25 11:09:39 +02:00
wandererfan
e9eeea9318 Remove duplicate code/save Dim line geom 2018-04-25 11:09:39 +02:00
wandererfan
dd3cc51818 Add getAllViews() method to DrawPagePy 2018-04-23 07:55:38 +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
91a0aff25f Coverity fixes
CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
2018-04-23 07:55:38 +02:00
wandererfan
1de2c231fa Fix add ArchSection w/ multiple Pages 2018-04-22 07:44:41 +02:00
wmayer
99ec96acd5 prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
WandererFan
f4ffecee89 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan
a683b7a89d Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
wmayer
4ca35e7746 fix typos in German translation 2018-03-27 10:47:52 +02:00
Yorik van Havre
46fd41d70a Merged translations from crowdin 2018-03-26 18:52:02 -03:00
wmayer
d17d3cf768 repair French and Finnish translation files 2018-03-22 14:40:14 +01:00
luz.paz
46d32d78a3 Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
34fd583b76 TD Translation fixes 2018-03-18 15:12:39 +01:00
luz.paz
e2623ad7fa TD Translation fixes 2018-03-18 14:30:52 +01:00
wandererfan
5aaf20f6e5 Fix display of Edge/Edge horiz/vert Dims 2018-03-11 20:43:16 -04:00
wandererfan
402274ed78 Preserve setting across language change 2018-03-11 21:33:59 +01:00
wandererfan
04421039a8 Correct delayed scaling of center/section lines 2018-03-11 21:33:59 +01:00
wandererfan
91ccfca926 Prevent translation of LineGroup name 2018-03-11 21:33:59 +01:00
wandererfan
5d363b450a Sync code default values with Pref defaults 2018-03-11 21:33:59 +01:00
WandererFan
f43fb948ab Fix #2624 Draft Patterns Not Installed 2018-03-08 12:02:59 +01:00
WandererFan
6384622cb9 Fix Bad View Position on Add to Clip 2018-03-08 11:24:31 +01:00
WandererFan
8d7abc916d Use Unit Aware Spinbox in Prefs
- use length aware spinboxes for font and
  arrow sizes in TechDraw preferences.
2018-03-08 11:12:45 +01:00
wmayer
4fd7ccc98e fix German translation 2018-03-03 23:37:15 +01:00
wandererfan
f0ebddc2cc Fix painting of detail highlight
- painting of the detail highlight in the base
  view was being delayed until the base view
  was updated. It is now drawn when detail
  changes.
2018-03-03 11:22:15 -03:00
Sebastian Bachmann
efba5e209a TechDraw: small corrections for line sizes
changeing the line weight for dimensions to a thin line
and get the font size for detail view labels from the configuration
rather than using a hardcoded value.
Also removing a duplicate method, as it is already implemend in the
parent class.
2018-03-02 10:48:55 -03:00
WandererFan
d08f59f411 Fix Dimension Response to Changed X/Y
- Dimensions in Gui were not responding to changes in
  the Feature's X/Y properties.
2018-02-28 18:38:59 -05:00
WandererFan
032d2feda7 Use PrefFontBox for TD Label Font Selection
- was PrefLineEdit.
2018-02-27 14:30:21 -05:00
Sebastian Bachmann
1505ee3115 TechDraw: new center/section draw style
using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.

Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.

Bonus: adding blank templates for the common paper sizes (as the
        Drawing WB has them)
2018-02-24 16:58:17 +01:00
WandererFan
946cce2fc1 Fix DrawViewAnnotation TextSize
- text size was originally specified in integer
  point size.  Now they are specified in mm. The
  relevant Properties have been changed to
  PropertyLength.
2018-02-22 19:17:40 +01:00
Yorik van Havre
143b89c8f3 Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00
WandererFan
9b4f451e21 Fix default GeomHatch weight 2018-02-14 15:42:26 -05:00
WandererFan
bdba11d965 Dimension Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
02b64dca3a VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
cbca02f7f3 HatchColor & HatchScale prop to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
6fa92cb188 KeepLabel Property to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
bf0d94458a Remove unneeded code, add menu item
- remove code for updating tab with Page label
  (handled in MDIView)
- add context menu item to toggle Page
  KeepUpdated property
2018-02-12 21:57:15 +01:00
WandererFan
6b930016c8 Avoid affecting other Tabs when Page deleted.
- when Page object was deleted, closing the Page's
  tab would have undesired effect on 3D tab. Now Page
  delete does not affect other tabs.
2018-02-12 21:57:15 +01:00
WandererFan
8b32757376 Change removeWindow logic for consistency
- Page window is removed in two places.  Problem with
  display of 3D window when Page window closed was fixed
  by  http://github.com/FreeCAD/FreeCAD/commit/e69a825.
  This commit makes the code for Page object delete
  consistent, but doesn't fix the problem with display
  of 3D window.
2018-02-11 20:07:57 +01:00
WandererFan
56280b1ffb Fix Unrequested Page Zoom
- Page zoomed out after updating editable
  text.
2018-02-11 20:07:57 +01:00