Commit Graph

67 Commits

Author SHA1 Message Date
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
Yorik van Havre
c168a7d14b Arch/TD: Support for Arch BuildingParts in TD ArchView 2019-08-16 19:03:49 -03:00
wandererfan
59e47de506 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
Franck Jullien
9d24d19ee1 [TD] Rewrite balloon placing method
When clicking on balloon command, cursor is changing to balloon cursor.
It means user is ready to place a balloon (anywhere on the page).
Balloon object is not created until user click somewhere.

Balloon command can be aborted pressing escape or when page view lost
focus (in other words, when user clic somewhere else than the page).
2019-05-21 08:37:05 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
luz.paz
50c82c2b91 Misc. source comment typos 2019-03-22 10:44:14 -03:00
wandererfan
7189b8ebc0 Fix segfault on missing Anchor view
- test script did not create Anchor(Front) view.  DPG/DVP did not
  handle missing Anchor properly
2019-03-07 10:58:28 +01:00
wandererfan
198c2258d4 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
luz.paz
604811596f Crowdin: cont... 2019-02-11 16:22:13 +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
ddfa510565 Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wmayer
b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wmayer
ae7c53b951 Py3: fix opening file 2018-10-11 12:06:07 +02:00
wandererfan
df0eb076a6 Better error messages for bad selections 2018-09-26 17:00:07 +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
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
cb12b0eda0 Add Export Page as Dxf to TD Gui 2018-05-01 13:22:02 -04:00
wandererfan
5d1fa67230 Fix add ArchSection w/ multiple Pages 2018-04-22 07:44:41 +02:00
WandererFan
f95117c706 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan
973e0e4bdd Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
WandererFan
37644285d6 Fix CmdTechDrawProjGroup Selection Criteria
- CmdTechDrawProjGroup was not allowing Body or
  App::Part to be selected as Source for new
  ProjectionGroup even though DPG handles
  both.
2018-02-02 15:39:01 -05:00
WandererFan
a3684424ae Remove NewViewMulti from toolbars/menu 2018-01-20 14:07:31 +01:00
WandererFan
4b9f43b467 Allow GroupExtension as Source for Views
- DrawViewPart had special case logic for App::Part.
  It now handles DocumentObjectGroup and any other
  GroupExtensions as Source.
2018-01-20 14:07:31 +01:00
WandererFan
e163ae1746 Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
luzpaz
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
WandererFan
d6a5672f89 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan
d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
1d3a8a910f minor fixes: debug message/tooltips/etc 2017-01-29 19:40:34 -05:00
WandererFan
3d8622dd67 ViewSection inherits Scale from Base 2017-01-29 19:40:33 -05:00
WandererFan
c0c4569546 Change DPG freature name from "cView" to "ProjGroup" 2017-01-29 19:40:33 -05:00
WandererFan
429eb0f727 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
WandererFan
bcb1534391 Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan
906bffba8f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
WandererFan
4eab324803 Basic working multipart View 2016-11-07 17:20:20 -05:00
WandererFan
a5a20701a7 Fix ProjectionGroup Automatic scaling 2016-10-31 11:06:15 -02:00
WandererFan
a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
Yorik van Havre
54a8e856cc TechDraw: Arch View 2016-10-28 14:58:22 -02:00
WandererFan
b27a526cd6 remove unnecessary includes
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan
f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
wmayer
c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
Yorik van Havre
d8ebfe58c5 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
WandererFan
254b28ea77 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
884a32fabf Coverty changes:
** CID 152490:  Control flow issues  (DEADCODE)
** CID 152492:  Null pointer dereferences  (FORWARD_NULL)
** CID 152493:  Null pointer dereferences  (FORWARD_NULL)
** CID 152494:  Null pointer dereferences  (FORWARD_NULL)
** CID 152495:  Null pointer dereferences  (FORWARD_NULL)
** CID 152496:  Null pointer dereferences  (FORWARD_NULL)
** CID 152497:  Null pointer dereferences  (FORWARD_NULL)
** CID 152502:  Null pointer dereferences  (REVERSE_INULL)
** CID 152507:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152510:  Uninitialized members  (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
WandererFan
4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
Ian Rees
8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
WandererFan
c8a4cf20ad Simplify ClipMinus selection logic 2016-07-23 15:03:39 +02:00
WandererFan
131c34cf9e Center new view on Page/ClipGroup 2016-07-23 15:03:39 +02:00
WandererFan
26aff79a31 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00
WandererFan
510569f05b Fix issue 53 Drawing templates 2016-07-11 15:32:16 +02:00