Commit Graph

62 Commits

Author SHA1 Message Date
Tomas Pavlicek
a562f6a129 TechDraw: SVG export refactoring - All XML modifications via DOM 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
3e7249318f TechDraw: Fix font size issues when exporting to SVG 2019-05-27 22:18:14 -04:00
wandererfan
e759f91d68 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
ad3666cd6e [TD] Fix cursor behavior 2019-05-24 09:09:56 -04:00
Franck Jullien
bcfbd990a7 [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
79f8d4a7cd [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
925145a8b7 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
c1f9f11c27 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
abf419f68c Text Leader initial version 2019-05-05 21:01:31 -04:00
babaroga
cc823c429c FIX:TD-fixed baloon cursor hotspot to be on arrow tip 2019-04-18 06:56:46 -04:00
Franck Jullien
1136c5d16d TechDraw: force user to place its balloon 2019-04-17 08:42:51 -04:00
Franck Jullien
c5942d6a78 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
86cc2641bc Ensure ProjGroup is created before child 2019-03-07 10:58:29 +01:00
wandererfan
db3a69ba11 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
bb18d499a8 Implement kb scroll and pan 2019-02-25 17:52:46 +01:00
wandererfan
964bc5ab82 Implment ctl+/- zoomin on Page 2019-02-25 17:52:46 +01:00
wmayer
58bcee0e04 PVS: V595 The pointer was utilized before it was verified against nullptr 2019-02-17 20:55:52 +01:00
luz.paz
e10d38a0cc Crowdin: More grammatical and whitespace fixes 2019-01-24 13:30:03 +01:00
wandererfan
c654ef4e2b Add id=PageName to exported Svg
- add id attribute to output of QSvgGenerator.
2018-12-07 08:53:08 -03:00
wandererfan
89275b883b Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02:00
wandererfan
fca8034b18 Fix delayed painting
- Annotation and Image were not being painted
  immediately, but had to wait for a page
  refresh.
2018-05-16 18:58:10 -04: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
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
58e8cefc56 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
950ac44f9f TechDraw: Tidy, and fix Qt5 template text edition 2017-04-26 18:23:21 +12:00
WandererFan
219f126674 fix wrong size svg export page 2017-04-01 16:41:50 +02:00
WandererFan
b20d51e1b4 Cleanup orphan features on DVP delete 2017-02-09 15:45:04 -05:00
WandererFan
75f3566812 Fix #2888 Crash on Delete View 2017-02-09 15:45:04 -05:00
WandererFan
f782719363 Feature Request 1880 - hide Template 2017-02-07 10:51:42 -02:00
WandererFan
6772a3b12a Avoid issue if ViewProvider deleted while graphic still active 2017-01-29 19:40:34 -05:00
WandererFan
d6419b5a7e 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
af4bedf441 Correct handling of deleted Features in QGraphicsScene 2017-01-29 19:40:33 -05:00
WandererFan
34a044b969 Fix Svg export page & text size in HiRez 2017-01-29 19:40:32 -05:00
WandererFan
fbe97ec247 Basic working HiResolution TD 2017-01-29 19:40:32 -05:00
WandererFan
64a7c3f0e9 Basic working ViewImage 2016-11-07 17:20:20 -05:00
WandererFan
e810ba81bb Fix print size issue from pan/zoom mods 2016-10-07 14:55:58 -03:00
WandererFan
90c3f719ec Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
wmayer
6148bf4df5 fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
2ed026e173 reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan
773a7b0092 minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
Ian Rees
48c8f1cf60 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
WandererFan
9c99584682 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan
381c1e120e Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
7969b677a9 Correct pageSize determination
remove obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
9b81ea1cc9 Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
5591161e82 dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
aee2b622b6 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
449cbbd5bd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan
a7dac4721c Hatch using svgItem 2016-07-11 15:32:16 +02:00