You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
4.4 KiB

Horizontal/vertical zoom for Simulator plots ADDED: Horizontal/vertical zoom for simulator plots, via mouse wheel, toolbar buttons, menu commands, and hotkeys. ADDED: Simulator preferences panel, populated with mouse wheel and trackpad settings that control pan and zoom of simulator plots. ADDED: Zoom In/Out Horizontally/Vertically commands that can be bound to hotkeys. CHANGED: Simulator plot scroll wheel gestures are no longer hard-coded and can now be configured via the new Simulator preferences panel. Fixes https://gitlab.com/kicad/code/kicad/-/issues/16597 Other unreported bugs that were fixed: - Fixed wierd, jumpy simulator plot view limiting behavior. - Fixed Zoom In Center and Zoom Out Center commands not preserving the simulator plot center point. - Fixed simulator plot nudging when exported as PNGs. - Fixed rectangular selection zoom being able to exceed simulator plot view limits. Notes: - Provided new SIM_PREFERENCES struct to be used for future simulator preferences set via the simulator preferences dialog. - Bundled pre-existing EESCHEMA_SETTINGS::SIMULATOR settings into EESCHEMA_SETTINGS::SIMULATOR::VIEW. - Replaced mpWindow::EnableMouseWheelPan with more general SetMouseWheelActions. - Refactored and tidied up wxMathPlot's mpWindow code involved with fitting, zooming, and panning. - Consolidated long lists of duplicated member variable initializers to a new mpWindow private delegated constructor. - Provided provisional Zoom In/Out Horizontally/Vertically toolbar icons that need improvement by a graphics designer. - Provided gitignore entries for the Qt Creator IDE
2 years ago
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <svg
  3. xmlns:dc="http://purl.org/dc/elements/1.1/"
  4. xmlns:cc="http://creativecommons.org/ns#"
  5. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6. xmlns:svg="http://www.w3.org/2000/svg"
  7. xmlns="http://www.w3.org/2000/svg"
  8. xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
  9. xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
  10. id="Слой_1"
  11. data-name="Слой 1"
  12. viewBox="0 0 24 24"
  13. version="1.1"
  14. sodipodi:docname="zoom_out_vertically.svg"
  15. inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
  16. <sodipodi:namedview
  17. pagecolor="#ffffff"
  18. bordercolor="#666666"
  19. borderopacity="1"
  20. objecttolerance="10"
  21. gridtolerance="10"
  22. guidetolerance="10"
  23. inkscape:pageopacity="0"
  24. inkscape:pageshadow="2"
  25. inkscape:window-width="1920"
  26. inkscape:window-height="1055"
  27. id="namedview30"
  28. showgrid="true"
  29. inkscape:zoom="16"
  30. inkscape:cx="0.89293055"
  31. inkscape:cy="10.807512"
  32. inkscape:window-x="0"
  33. inkscape:window-y="0"
  34. inkscape:window-maximized="1"
  35. inkscape:document-rotation="0"
  36. inkscape:current-layer="Слой_1">
  37. <inkscape:grid
  38. type="xygrid"
  39. id="grid_kicad"
  40. spacingx="0.5"
  41. spacingy="0.5"
  42. color="#9999ff"
  43. opacity="0.13"
  44. empspacing="2" />
  45. </sodipodi:namedview>
  46. <metadata
  47. id="metadata43">
  48. <rdf:RDF>
  49. <cc:Work
  50. rdf:about="">
  51. <cc:license
  52. rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
  53. <dc:format>image/svg+xml</dc:format>
  54. <dc:type
  55. rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
  56. <dc:title>zoom_in</dc:title>
  57. </cc:Work>
  58. <cc:License
  59. rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
  60. <cc:permits
  61. rdf:resource="http://creativecommons.org/ns#Reproduction" />
  62. <cc:permits
  63. rdf:resource="http://creativecommons.org/ns#Distribution" />
  64. <cc:requires
  65. rdf:resource="http://creativecommons.org/ns#Notice" />
  66. <cc:requires
  67. rdf:resource="http://creativecommons.org/ns#Attribution" />
  68. <cc:permits
  69. rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
  70. <cc:requires
  71. rdf:resource="http://creativecommons.org/ns#ShareAlike" />
  72. </cc:License>
  73. </rdf:RDF>
  74. </metadata>
  75. <defs
  76. id="defs160583">
  77. <style
  78. id="style160581">.cls-1{fill:#545454;}.cls-2{fill:none;stroke:#545454;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style>
  79. </defs>
  80. <title
  81. id="title160585">zoom_in</title>
  82. <path
  83. class="cls-1"
  84. d="m 12.030079,17.085044 a 5.0417076,5.0427552 0 1 1 3.566044,-8.6077709 v 0 a 5.0402266,5.041274 0 0 1 -3.566044,8.6077709 z m 0,-9.1210729 a 4.0790482,4.0798958 0 1 0 2.886163,1.1933245 4.0685378,4.0693832 0 0 0 -2.886163,-1.1931334 z"
  85. id="path160587"
  86. style="fill:#545454;fill-opacity:1;stroke-width:0.56030625;stroke-miterlimit:4;stroke-dasharray:none"
  87. inkscape:connector-curvature="0" />
  88. <path
  89. class="cls-1"
  90. d="m 18.722544,19.333092 a 0.60055078,0.60055078 0 0 1 -0.42591,-0.17651 L 14.835681,15.69563 A 0.61229794,0.61229794 0 0 1 15.6875,14.84375 l 3.461014,3.460954 a 0.60241827,0.60241827 0 0 1 -0.42597,1.028388 z"
  91. id="path160589"
  92. style="fill:#545454;stroke-width:0.56030625"
  93. inkscape:connector-curvature="0" />
  94. <line
  95. class="cls-2"
  96. x1="10.070324"
  97. y1="12.052376"
  98. x2="13.989662"
  99. y2="12.052376"
  100. id="line160591"
  101. style="fill:none;stroke:#545454;stroke-width:1.1206125px;stroke-linecap:round;stroke-linejoin:round" />
  102. <line
  103. class="cls-2"
  104. x1="12.031396"
  105. y1="10.092473"
  106. x2="12.031396"
  107. y2="14.011817"
  108. id="line160593"
  109. style="fill:none;stroke:#545454;stroke-width:1.1206125px;stroke-linecap:round;stroke-linejoin:round" />
  110. <path
  111. style="fill:#545454;stroke-width:0.45214424"
  112. d="M 12,0.5 5.5035003,3.6139863 H 9.552001 V 4.9985951 L 14.432054,5 V 3.614008 H 18.4965 Z"
  113. id="polygon27451"
  114. inkscape:connector-curvature="0"
  115. sodipodi:nodetypes="cccccccc" />
  116. <path
  117. style="fill:#545454;stroke-width:0.45214424"
  118. d="m 12,23.5 6.4965,-3.113986 h -4.048501 v -1.384609 l -4.8800527,-0.0014 v 1.385987 h -4.064446 z"
  119. id="polygon27451-8"
  120. inkscape:connector-curvature="0"
  121. sodipodi:nodetypes="cccccccc" />
  122. </svg>