mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
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)
This commit is contained in:
126
libs/qwt-6.1.5/doc/man/man3/QwtTransform.3
Normal file
126
libs/qwt-6.1.5/doc/man/man3/QwtTransform.3
Normal file
@ -0,0 +1,126 @@
|
||||
.TH "QwtTransform" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtTransform \- A transformation between coordinate systems\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_transform\&.h>\fP
|
||||
.PP
|
||||
Inherited by \fBQwtLogTransform\fP, \fBQwtNullTransform\fP, and \fBQwtPowerTransform\fP\&.
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtTransform\fP ()"
|
||||
.br
|
||||
.RI "Constructor\&. "
|
||||
.ti -1c
|
||||
.RI "virtual \fB~QwtTransform\fP ()"
|
||||
.br
|
||||
.RI "Destructor\&. "
|
||||
.ti -1c
|
||||
.RI "virtual double \fBbounded\fP (double value) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual double \fBtransform\fP (double value) const =0"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual double \fBinvTransform\fP (double value) const =0"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual \fBQwtTransform\fP * \fBcopy\fP () const =0"
|
||||
.br
|
||||
.RI "Virtualized copy operation\&. "
|
||||
.in -1c
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A transformation between coordinate systems\&.
|
||||
|
||||
\fBQwtTransform\fP manipulates values, when being mapped between the scale and the paint device coordinate system\&.
|
||||
.PP
|
||||
A transformation consists of 2 methods:
|
||||
.PP
|
||||
.IP "\(bu" 2
|
||||
transform
|
||||
.IP "\(bu" 2
|
||||
invTransform
|
||||
.PP
|
||||
.PP
|
||||
where one is is the inverse function of the other\&.
|
||||
.PP
|
||||
When p1, p2 are the boundaries of the paint device coordinates and s1, s2 the boundaries of the scale, \fBQwtScaleMap\fP uses the following calculations:
|
||||
.PP
|
||||
.IP "\(bu" 2
|
||||
p = p1 + ( p2 - p1 ) * ( T( s ) - T( s1 ) / ( T( s2 ) - T( s1 ) );
|
||||
.IP "\(bu" 2
|
||||
s = invT ( T( s1 ) + ( T( s2 ) - T( s1 ) ) * ( p - p1 ) / ( p2 - p1 ) );
|
||||
.PP
|
||||
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "double QwtTransform::bounded (double value) const\fC [virtual]\fP"
|
||||
Modify value to be a valid value for the transformation\&. The default implementation does nothing\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIvalue\fP Value to be bounded
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
value unmodified
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Reimplemented in \fBQwtLogTransform\fP\&.
|
||||
.SS "virtual double QwtTransform::invTransform (double value) const\fC [pure virtual]\fP"
|
||||
Inverse transformation function
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIvalue\fP Value
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Modified value
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBtransform()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implemented in \fBQwtPowerTransform\fP, \fBQwtLogTransform\fP, and \fBQwtNullTransform\fP\&.
|
||||
.SS "virtual double QwtTransform::transform (double value) const\fC [pure virtual]\fP"
|
||||
Transformation function
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIvalue\fP Value
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Modified value
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBinvTransform()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implemented in \fBQwtPowerTransform\fP, \fBQwtLogTransform\fP, and \fBQwtNullTransform\fP\&.
|
||||
|
||||
.SH "Author"
|
||||
.PP
|
||||
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|
Reference in New Issue
Block a user