Commit Graph

428 Commits

Author SHA1 Message Date
wmayer
85270f5cd3 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
Tomas Pavlicek
1cd8f26254 TechDraw: SVG export refactoring - Fix russian templates rendering 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
dab8a3c02f TechDraw: SVG export refactoring - Change tspan replacement strategy 2019-06-11 15:46:46 -04:00
wandererfan
044fe79549 SVG Refactor - minor cleanups 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
bf5433a108 TechDraw: SVG export refactoring - Fix DLL export/import issue 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
5f0be3cacc Add QtXmlPatterns to CMake lists 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
f4ca09f985 TechDraw: SVG export refactoring - All XML modifications via DOM 2019-06-11 15:46:46 -04:00
wandererfan
3e0452417b Cosmetic CL for Section and Detail 2019-06-06 19:58:15 -04:00
wandererfan
93431edfba Initial version of Cosmetic Eraser 2019-06-06 19:58:15 -04:00
wandererfan
656e1654ff Initial working version Face Centerline 2019-06-06 19:58:15 -04:00
wandererfan
7d6bc8d92c Clean up Scale retrieval 2019-06-04 15:41:41 -04:00
wandererfan
0c429e3bc6 Fix regression in Caption handling 2019-06-01 15:59:26 -04:00
wandererfan
71a095360a Hide Caption property where not applicable 2019-06-01 15:59:26 -04:00
wandererfan
a0ea8b656b Fix Balloon Next Index Persistance
- next sequential number for balloon on Page was
  not being preserved across save/restore
2019-05-25 18:44:35 +02:00
wmayer
d5c52d285c fix warning C4930: prototyped function not called 2019-05-25 13:07:33 +02:00
wmayer
4072b2c9d7 move includes to repsect PCH option 2019-05-25 13:04:57 +02:00
wandererfan
bf38ae958f Fix point edit when attach point changed 2019-05-24 22:18:32 -04:00
wandererfan
94b167f3a2 Add Midpoint and Quadrant Cosmetic Vertex 2019-05-24 19:38:02 -04:00
wandererfan
59e47de506 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
Franck Jullien
36d341f3df [TD] Add TaskPanel for Balloons
TaskPanel can be open by double clicking either Balloon label on drawing
page or Balloon object in tree view.
2019-05-22 12:50:47 -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
wandererfan
a537e34077 Fix duplicate child claiming 2019-05-14 15:38:51 +02:00
wandererfan
75d43757c4 Fix crash on malformed python script 2019-05-13 12:29:15 -04:00
wandererfan
d42c79c146 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
ef912cfea8 Improve radius/diameter dims for ellipse,spline 2019-05-13 12:29:15 -04:00
wmayer
3bf6c1bc32 fix -Winconsistent-missing-override 2019-05-11 19:46:47 +02:00
wmayer
9ab8915c9a fix -Woverloaded-virtual 2019-05-11 18:41:45 +02:00
wmayer
42aa095154 fix -Winconsistent-missing-override 2019-05-11 10:48:02 +02: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
wandererfan
408ac94416 Fix handling of orphan objects during Page delete 2019-04-26 06:36:56 -04:00
wandererfan
a0250a7be3 Fix Error messages for bad references 2019-04-26 06:36:56 -04:00
wandererfan
fbc542738c Fix Error when OCC projection returns nothing 2019-04-25 08:02:28 -04:00
wandererfan
ede3bd2210 Fix crash on Dimension with corrupted References 2019-04-24 19:52:39 -04:00
babaroga
dde241bb32 FIX:TD-If "Show units" is off degree symbol is missing on angular dimensions
+ Remove space between dimension value and degree symbol
2019-04-21 19:51:57 -04:00
wandererfan
06962535fa Fix missing radius/dia on ft-in dimensions 2019-04-19 19:15:52 -04:00
Yorik van Havre
ea0c7694cd Arch/TechDraw: TD Arch views now have a 'fillSpaces' property to show Arch spaces as color-filled areas 2019-04-19 18:20:33 -03:00
wandererfan
9d296194e8 Fix Detail Highlight when Detail has no Geometry
- Detail circles were no drawn if detail area did not
  produce any geometry (detail anchor point + radius not
  over original part.
2019-04-18 18:47:03 -04:00
wandererfan
0679d73092 Fix non-Delete of Graphic on DocObject delete
- While the source document obj was "removing", the
  graphic was being deleted and readded by the view
  provider.
2019-04-18 18:47:03 -04:00
babaroga
c779f34fee FIX: Prevent situation where default format entered in preferences, overwrites prefixes on eg. circular dimensions 2019-04-17 08:26:47 -04:00
wmayer
cd4269e6af rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options 2019-04-15 13:31:31 +02:00
wandererfan
40d9a13055 DrawBalloon clean up
- resolve linker errors after merge
- expose useful properties
- resolve "ambiguous ancestor" messages after merge
2019-04-05 19:35:26 -04:00
wandererfan
afe21f739c Add default parameter for Page Scale 2019-04-05 19:35:26 -04:00
wandererfan
827f6c420e Fix search for subShapes
- this is mainly for Arch objects. the search for shapes
  is more difficult.
2019-04-05 19:35:26 -04:00
wandererfan
1f6b2daefc Fix coverity CID 151722 2019-04-05 19:35:26 -04:00
wandererfan
175966a6f7 Improve error messages for invalid shapes 2019-04-05 19:35:26 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
3370d0902a Add Preference for Dimension Format 2019-03-28 10:44:33 -03:00
wandererfan
87ffd12016 Fix TD Dfx export - spline conversion 2019-03-28 10:44:33 -03:00
wandererfan
749e8aaf11 Fix OCC error handling
- GeometryObject.cpp used OCC "Raise" to signal error
  condition, but this is only caught in GuiDocument.cpp.
  Changed to catch exception locally.
2019-03-22 11:00:14 -03:00