Commit Graph

43 Commits

Author SHA1 Message Date
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
953304089a [TD]make page grid unit aware 2022-03-04 09:28:16 -05:00
Uwe
4184218284 [TD] fix compilation error introduced with https://github.com/FreeCAD/FreeCAD/pull/6465 2022-02-27 23:56:43 +01:00
Wanderer Fan
eb4a5384c0 [TD]add alignment grid to page 2022-02-27 14:34:35 -05:00
Tomas Pavlicek
c7cc7fa0fd TechDraw - Balloon updates 2021-10-03 13:43:53 +02:00
wandererfan
57bfc2e380 [TD]fix Svg hatch on export 2019-12-17 08:29:49 -05:00
Tomas Pavlicek
ffcac528d5 TechDraw: Middle button panning 2019-08-27 07:33:30 -04:00
wandererfan
178520fb4a [TD] fix stale pointer in scene 2019-08-22 17:11:55 -04:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
Tomas Pavlicek
f4ca09f985 TechDraw: SVG export refactoring - All XML modifications via DOM 2019-06-11 15:46:46 -04:00
wandererfan
0c429e3bc6 Fix regression in Caption handling 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
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
d42c79c146 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04: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
Franck Jullien
bbd9fbf892 TechDraw: force user to place its balloon 2019-04-17 08:42:51 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wmayer
2ccffbe406 fix -Winconsistent-missing-override 2019-02-28 22:55:46 +01:00
wandererfan
be45d5e7ba Implement kb scroll and pan 2019-02-25 17:52:46 +01:00
wandererfan
1c209d423f Implment ctl+/- zoomin on Page 2019-02-25 17:52:46 +01:00
wandererfan
0e26ce1f27 Add id=PageName to exported Svg
- add id attribute to output of QSvgGenerator.
2018-12-07 08:53:08 -03:00
wandererfan
4fa707f46d Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02: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
Ian Rees
6368b2f822 TechDraw: Tidy, and fix Qt5 template text edition 2017-04-26 18:23:21 +12:00
WandererFan
69163cb016 Fix #2888 Crash on Delete View 2017-02-09 15:45:04 -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
5bfdad804a Basic working ViewImage 2016-11-07 17:20:20 -05:00
WandererFan
664168992f Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
WandererFan
4d7f00860e reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04: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
dd5b461e35 Fix crash in dtor of QGVPage 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
665bea53cf Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
Ian Rees
268aa8b3ec Tidy up after bad merge 2016-07-11 15:32:16 +02:00
WandererFan
fb439b3d34 Handle multiple DrawPage in Document 2016-07-11 15:32:16 +02:00
Ian Rees
e4b5bba140 Move SVG output method from MDIViewPage to QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
a46fd856d4 more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
7c009c6def Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00