QwtPlotMagnifier.3 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. .TH "QwtPlotMagnifier" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtPlotMagnifier \- \fBQwtPlotMagnifier\fP provides zooming, by magnifying in steps\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_plot_magnifier\&.h>\fP
  11. .PP
  12. Inherits \fBQwtMagnifier\fP\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBQwtPlotMagnifier\fP (QWidget *)"
  17. .br
  18. .ti -1c
  19. .RI "virtual \fB~QwtPlotMagnifier\fP ()"
  20. .br
  21. .RI "Destructor\&. "
  22. .ti -1c
  23. .RI "void \fBsetAxisEnabled\fP (int axis, bool on)"
  24. .br
  25. .RI "En/Disable an axis\&. "
  26. .ti -1c
  27. .RI "bool \fBisAxisEnabled\fP (int axis) const"
  28. .br
  29. .ti -1c
  30. .RI "QWidget * \fBcanvas\fP ()"
  31. .br
  32. .RI "Return observed plot canvas\&. "
  33. .ti -1c
  34. .RI "const QWidget * \fBcanvas\fP () const"
  35. .br
  36. .RI "Return Observed plot canvas\&. "
  37. .ti -1c
  38. .RI "\fBQwtPlot\fP * \fBplot\fP ()"
  39. .br
  40. .RI "Return plot widget, containing the observed plot canvas\&. "
  41. .ti -1c
  42. .RI "const \fBQwtPlot\fP * \fBplot\fP () const"
  43. .br
  44. .RI "Return plot widget, containing the observed plot canvas\&. "
  45. .in -1c
  46. .SS "Protected Member Functions"
  47. .in +1c
  48. .ti -1c
  49. .RI "virtual void \fBrescale\fP (double factor)"
  50. .br
  51. .in -1c
  52. .SH "Detailed Description"
  53. .PP
  54. \fBQwtPlotMagnifier\fP provides zooming, by magnifying in steps\&.
  55. Using \fBQwtPlotMagnifier\fP a plot can be zoomed in/out in steps using keys, the mouse wheel or moving a mouse button in vertical direction\&.
  56. .PP
  57. Together with \fBQwtPlotZoomer\fP and \fBQwtPlotPanner\fP it is possible to implement individual and powerful navigation of the plot canvas\&.
  58. .PP
  59. \fBSee also\fP
  60. .RS 4
  61. \fBQwtPlotZoomer\fP, \fBQwtPlotPanner\fP, \fBQwtPlot\fP
  62. .RE
  63. .PP
  64. .SH "Constructor & Destructor Documentation"
  65. .PP
  66. .SS "QwtPlotMagnifier::QwtPlotMagnifier (QWidget * canvas)\fC [explicit]\fP"
  67. Constructor
  68. .PP
  69. \fBParameters\fP
  70. .RS 4
  71. \fIcanvas\fP Plot canvas to be magnified
  72. .RE
  73. .PP
  74. .SH "Member Function Documentation"
  75. .PP
  76. .SS "bool QwtPlotMagnifier::isAxisEnabled (int axis) const"
  77. Test if an axis is enabled
  78. .PP
  79. \fBParameters\fP
  80. .RS 4
  81. \fIaxis\fP Axis, see \fBQwtPlot::Axis\fP
  82. .RE
  83. .PP
  84. \fBReturns\fP
  85. .RS 4
  86. True, if the axis is enabled
  87. .RE
  88. .PP
  89. \fBSee also\fP
  90. .RS 4
  91. \fBsetAxisEnabled()\fP
  92. .RE
  93. .PP
  94. .SS "void QwtPlotMagnifier::rescale (double factor)\fC [protected]\fP, \fC [virtual]\fP"
  95. Zoom in/out the axes scales
  96. .PP
  97. \fBParameters\fP
  98. .RS 4
  99. \fIfactor\fP A value < 1\&.0 zooms in, a value > 1\&.0 zooms out\&.
  100. .RE
  101. .PP
  102. .PP
  103. Implements \fBQwtMagnifier\fP\&.
  104. .SS "void QwtPlotMagnifier::setAxisEnabled (int axis, bool on)"
  105. .PP
  106. En/Disable an axis\&. Only Axes that are enabled will be zoomed\&. All other axes will remain unchanged\&.
  107. .PP
  108. \fBParameters\fP
  109. .RS 4
  110. \fIaxis\fP Axis, see \fBQwtPlot::Axis\fP
  111. .br
  112. \fIon\fP On/Off
  113. .RE
  114. .PP
  115. \fBSee also\fP
  116. .RS 4
  117. \fBisAxisEnabled()\fP
  118. .RE
  119. .PP
  120. .SH "Author"
  121. .PP
  122. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.