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

176 lines
3.8 KiB
Groff

.TH "QwtSeriesStore< T >" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtSeriesStore< T > \- Class storing a \fBQwtSeriesData\fP object\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_series_store\&.h>\fP
.PP
Inherits \fBQwtAbstractSeriesStore\fP\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtSeriesStore\fP ()"
.br
.RI "Constructor The store contains no series\&. "
.ti -1c
.RI "\fB~QwtSeriesStore\fP ()"
.br
.RI "Destructor\&. "
.ti -1c
.RI "void \fBsetData\fP (\fBQwtSeriesData\fP< T > *series)"
.br
.ti -1c
.RI "\fBQwtSeriesData\fP< T > * \fBdata\fP ()"
.br
.ti -1c
.RI "const \fBQwtSeriesData\fP< T > * \fBdata\fP () const"
.br
.ti -1c
.RI "T \fBsample\fP (int index) const"
.br
.ti -1c
.RI "virtual size_t \fBdataSize\fP () const"
.br
.ti -1c
.RI "virtual QRectF \fBdataRect\fP () const"
.br
.ti -1c
.RI "virtual void \fBsetRectOfInterest\fP (const QRectF &rect)"
.br
.ti -1c
.RI "\fBQwtSeriesData\fP< T > * \fBswapData\fP (\fBQwtSeriesData\fP< T > *series)"
.br
.in -1c
.SS "Additional Inherited Members"
.SH "Detailed Description"
.PP
.SS "template<typename T>
.br
class QwtSeriesStore< T >"
Class storing a \fBQwtSeriesData\fP object\&.
\fBQwtSeriesStore\fP and \fBQwtPlotSeriesItem\fP are intended as base classes for all plot items iterating over a series of samples\&. Both classes share a virtual base class ( \fBQwtAbstractSeriesStore\fP ) to bridge between them\&.
.PP
\fBQwtSeriesStore\fP offers the template based part for the plot item API, so that \fBQwtPlotSeriesItem\fP can be derived without any hassle with templates\&.
.SH "Member Function Documentation"
.PP
.SS "template<typename T > \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::data ()\fC [inline]\fP"
.PP
\fBReturns\fP
.RS 4
the the series data
.RE
.PP
.SS "template<typename T > const \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::data () const\fC [inline]\fP"
.PP
\fBReturns\fP
.RS 4
the the series data
.RE
.PP
.SS "template<typename T > QRectF \fBQwtSeriesStore\fP< T >::dataRect () const\fC [virtual]\fP"
.PP
\fBReturns\fP
.RS 4
Bounding rectangle of the series or an invalid rectangle, when no series is stored
.RE
.PP
\fBSee also\fP
.RS 4
\fBQwtSeriesData<T>::boundingRect()\fP
.RE
.PP
.PP
Implements \fBQwtAbstractSeriesStore\fP\&.
.SS "template<typename T > size_t \fBQwtSeriesStore\fP< T >::dataSize () const\fC [virtual]\fP"
.PP
\fBReturns\fP
.RS 4
Number of samples of the series
.RE
.PP
\fBSee also\fP
.RS 4
\fBsetData()\fP, \fBQwtSeriesData<T>::size()\fP
.RE
.PP
.PP
Implements \fBQwtAbstractSeriesStore\fP\&.
.SS "template<typename T > T \fBQwtSeriesStore\fP< T >::sample (int index) const\fC [inline]\fP"
.PP
\fBParameters\fP
.RS 4
\fIindex\fP Index
.RE
.PP
\fBReturns\fP
.RS 4
Sample at position index
.RE
.PP
.SS "template<typename T> void \fBQwtSeriesStore\fP< T >::setData (\fBQwtSeriesData\fP< T > * series)"
Assign a series of samples
.PP
\fBParameters\fP
.RS 4
\fIseries\fP Data
.RE
.PP
\fBWarning\fP
.RS 4
The item takes ownership of the data object, deleting it when its not used anymore\&.
.RE
.PP
.SS "template<typename T > void \fBQwtSeriesStore\fP< T >::setRectOfInterest (const QRectF & rect)\fC [virtual]\fP"
Set a the 'rect of interest' for the series
.PP
\fBParameters\fP
.RS 4
\fIrect\fP Rectangle of interest
.RE
.PP
\fBSee also\fP
.RS 4
\fBQwtSeriesData<T>::setRectOfInterest()\fP
.RE
.PP
.PP
Implements \fBQwtAbstractSeriesStore\fP\&.
.SS "template<typename T> \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::swapData (\fBQwtSeriesData\fP< T > * series)"
Replace a series without deleting the previous one
.PP
\fBParameters\fP
.RS 4
\fIseries\fP New series
.RE
.PP
\fBReturns\fP
.RS 4
Previously assigned series
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.