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

130 lines
2.5 KiB
Groff

.TH "QwtCPointerData" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtCPointerData \- Data class containing two pointers to memory blocks of doubles\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_point_data\&.h>\fP
.PP
Inherits \fBQwtSeriesData< QPointF >\fP\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtCPointerData\fP (const double *x, const double *y, size_t \fBsize\fP)"
.br
.ti -1c
.RI "virtual QRectF \fBboundingRect\fP () const"
.br
.RI "Calculate the bounding rectangle\&. "
.ti -1c
.RI "virtual size_t \fBsize\fP () const"
.br
.ti -1c
.RI "virtual QPointF \fBsample\fP (size_t index) const"
.br
.ti -1c
.RI "const double * \fBxData\fP () const"
.br
.ti -1c
.RI "const double * \fByData\fP () const"
.br
.in -1c
.SS "Additional Inherited Members"
.SH "Detailed Description"
.PP
Data class containing two pointers to memory blocks of doubles\&.
.SH "Constructor & Destructor Documentation"
.PP
.SS "QwtCPointerData::QwtCPointerData (const double * x, const double * y, size_t size)"
Constructor
.PP
\fBParameters\fP
.RS 4
\fIx\fP Array of x values
.br
\fIy\fP Array of y values
.br
\fIsize\fP Size of the x and y arrays
.RE
.PP
\fBWarning\fP
.RS 4
The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object\&.
.RE
.PP
\fBSee also\fP
.RS 4
\fBQwtPlotCurve::setData()\fP, \fBQwtPlotCurve::setRawSamples()\fP
.RE
.PP
.SH "Member Function Documentation"
.PP
.SS "QRectF QwtCPointerData::boundingRect () const\fC [virtual]\fP"
.PP
Calculate the bounding rectangle\&. The bounding rectangle is calculated once by iterating over all points and is stored for all following requests\&.
.PP
\fBReturns\fP
.RS 4
Bounding rectangle
.RE
.PP
.PP
Implements \fBQwtSeriesData< QPointF >\fP\&.
.SS "QPointF QwtCPointerData::sample (size_t index) const\fC [virtual]\fP"
Return the sample at position i
.PP
\fBParameters\fP
.RS 4
\fIindex\fP Index
.RE
.PP
\fBReturns\fP
.RS 4
Sample at position i
.RE
.PP
.PP
Implements \fBQwtSeriesData< QPointF >\fP\&.
.SS "size_t QwtCPointerData::size () const\fC [virtual]\fP"
.PP
\fBReturns\fP
.RS 4
Size of the data set
.RE
.PP
.PP
Implements \fBQwtSeriesData< QPointF >\fP\&.
.SS "const double * QwtCPointerData::xData () const"
.PP
\fBReturns\fP
.RS 4
Array of the x-values
.RE
.PP
.SS "const double * QwtCPointerData::yData () const"
.PP
\fBReturns\fP
.RS 4
Array of the y-values
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.