Dhanya Thattil 38cd10d4e6
Qt5 built in qwt (#570)
- qt4->qt5
- in built qt5 6.1.5 because rhel7 is not upto date with qt5, removed findqwt.cmake
- made a fix in qwt lib (qwt_plot_layout.h) to work with 5.15 and lower versions for qrect constr.
- qt5 forms fixed, qt4 many hard coding forms switched to forms including qtabwidget, scrolls etc, fonts moved to forms
 - docking option enabled by default, removed option to disable docking feature from "Mode"
- added qVersionResolve utility functions to handle compatibility before and after qt5.12
- qtplots (ian's code) takes in gain mode enable to set some settings within the class, with proper gain plot ticks
- ensure gain plots have no zooming of z axis in 2d and y axis in 1d
- removed placeholder text in qpalette in main window form as its not supportd until 5.12 (so using qt5.9 designer insted of qt5.15 to cope)
- tab order
Servers:
- fixed some error messages that were empty for fail in funcs (mostly minor as if this error, major issues)
2022-11-11 15:15:10 +01:00

134 lines
2.8 KiB
Groff

.TH "QwtPlotMagnifier" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtPlotMagnifier \- \fBQwtPlotMagnifier\fP provides zooming, by magnifying in steps\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_plot_magnifier\&.h>\fP
.PP
Inherits \fBQwtMagnifier\fP\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtPlotMagnifier\fP (QWidget *)"
.br
.ti -1c
.RI "virtual \fB~QwtPlotMagnifier\fP ()"
.br
.RI "Destructor\&. "
.ti -1c
.RI "void \fBsetAxisEnabled\fP (int axis, bool on)"
.br
.RI "En/Disable an axis\&. "
.ti -1c
.RI "bool \fBisAxisEnabled\fP (int axis) const"
.br
.ti -1c
.RI "QWidget * \fBcanvas\fP ()"
.br
.RI "Return observed plot canvas\&. "
.ti -1c
.RI "const QWidget * \fBcanvas\fP () const"
.br
.RI "Return Observed plot canvas\&. "
.ti -1c
.RI "\fBQwtPlot\fP * \fBplot\fP ()"
.br
.RI "Return plot widget, containing the observed plot canvas\&. "
.ti -1c
.RI "const \fBQwtPlot\fP * \fBplot\fP () const"
.br
.RI "Return plot widget, containing the observed plot canvas\&. "
.in -1c
.SS "Protected Member Functions"
.in +1c
.ti -1c
.RI "virtual void \fBrescale\fP (double factor)"
.br
.in -1c
.SH "Detailed Description"
.PP
\fBQwtPlotMagnifier\fP provides zooming, by magnifying in steps\&.
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\&.
.PP
Together with \fBQwtPlotZoomer\fP and \fBQwtPlotPanner\fP it is possible to implement individual and powerful navigation of the plot canvas\&.
.PP
\fBSee also\fP
.RS 4
\fBQwtPlotZoomer\fP, \fBQwtPlotPanner\fP, \fBQwtPlot\fP
.RE
.PP
.SH "Constructor & Destructor Documentation"
.PP
.SS "QwtPlotMagnifier::QwtPlotMagnifier (QWidget * canvas)\fC [explicit]\fP"
Constructor
.PP
\fBParameters\fP
.RS 4
\fIcanvas\fP Plot canvas to be magnified
.RE
.PP
.SH "Member Function Documentation"
.PP
.SS "bool QwtPlotMagnifier::isAxisEnabled (int axis) const"
Test if an axis is enabled
.PP
\fBParameters\fP
.RS 4
\fIaxis\fP Axis, see \fBQwtPlot::Axis\fP
.RE
.PP
\fBReturns\fP
.RS 4
True, if the axis is enabled
.RE
.PP
\fBSee also\fP
.RS 4
\fBsetAxisEnabled()\fP
.RE
.PP
.SS "void QwtPlotMagnifier::rescale (double factor)\fC [protected]\fP, \fC [virtual]\fP"
Zoom in/out the axes scales
.PP
\fBParameters\fP
.RS 4
\fIfactor\fP A value < 1\&.0 zooms in, a value > 1\&.0 zooms out\&.
.RE
.PP
.PP
Implements \fBQwtMagnifier\fP\&.
.SS "void QwtPlotMagnifier::setAxisEnabled (int axis, bool on)"
.PP
En/Disable an axis\&. Only Axes that are enabled will be zoomed\&. All other axes will remain unchanged\&.
.PP
\fBParameters\fP
.RS 4
\fIaxis\fP Axis, see \fBQwtPlot::Axis\fP
.br
\fIon\fP On/Off
.RE
.PP
\fBSee also\fP
.RS 4
\fBisAxisEnabled()\fP
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.