mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00

- 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)
126 lines
2.5 KiB
Groff
126 lines
2.5 KiB
Groff
.TH "QwtOHLCSample" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
QwtOHLCSample \- Open-High-Low-Close sample used in financial charts\&.
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.PP
|
|
\fC#include <qwt_samples\&.h>\fP
|
|
.SS "Public Member Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBQwtOHLCSample\fP (double \fBtime\fP=0\&.0, double \fBopen\fP=0\&.0, double \fBhigh\fP=0\&.0, double \fBlow\fP=0\&.0, double \fBclose\fP=0\&.0)"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBQwtInterval\fP \fBboundingInterval\fP () const"
|
|
.br
|
|
.RI "Calculate the bounding interval of the OHLC values\&. "
|
|
.ti -1c
|
|
.RI "bool \fBisValid\fP () const"
|
|
.br
|
|
.RI "Check if a sample is valid\&. "
|
|
.in -1c
|
|
.SS "Public Attributes"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "double \fBtime\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "double \fBopen\fP"
|
|
.br
|
|
.RI "Opening price\&. "
|
|
.ti -1c
|
|
.RI "double \fBhigh\fP"
|
|
.br
|
|
.RI "Highest price\&. "
|
|
.ti -1c
|
|
.RI "double \fBlow\fP"
|
|
.br
|
|
.RI "Lowest price\&. "
|
|
.ti -1c
|
|
.RI "double \fBclose\fP"
|
|
.br
|
|
.RI "Closing price\&. "
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
Open-High-Low-Close sample used in financial charts\&.
|
|
|
|
In financial charts the movement of a price in a time interval is often represented by the opening/closing prices and the lowest/highest prices in this interval\&.
|
|
.PP
|
|
\fBSee also\fP
|
|
.RS 4
|
|
\fBQwtTradingChartData\fP
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Constructor & Destructor Documentation"
|
|
.PP
|
|
.SS "QwtOHLCSample::QwtOHLCSample (double t = \fC0\&.0\fP, double o = \fC0\&.0\fP, double h = \fC0\&.0\fP, double l = \fC0\&.0\fP, double c = \fC0\&.0\fP)\fC [inline]\fP"
|
|
Constructor
|
|
.PP
|
|
\fBParameters\fP
|
|
.RS 4
|
|
\fIt\fP Time value
|
|
.br
|
|
\fIo\fP Open value
|
|
.br
|
|
\fIh\fP High value
|
|
.br
|
|
\fIl\fP Low value
|
|
.br
|
|
\fIc\fP Close value
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Member Function Documentation"
|
|
.PP
|
|
.SS "\fBQwtInterval\fP QwtOHLCSample::boundingInterval () const\fC [inline]\fP"
|
|
|
|
.PP
|
|
Calculate the bounding interval of the OHLC values\&. For valid samples the limits of this interval are always low/high\&.
|
|
.PP
|
|
\fBReturns\fP
|
|
.RS 4
|
|
Bounding interval
|
|
.RE
|
|
.PP
|
|
\fBSee also\fP
|
|
.RS 4
|
|
\fBisValid()\fP
|
|
.RE
|
|
.PP
|
|
|
|
.SS "bool QwtOHLCSample::isValid () const\fC [inline]\fP"
|
|
|
|
.PP
|
|
Check if a sample is valid\&. A sample is valid, when all of the following checks are true:
|
|
.PP
|
|
.IP "\(bu" 2
|
|
low <= high
|
|
.IP "\(bu" 2
|
|
low <= open <= high
|
|
.IP "\(bu" 2
|
|
low <= close <= high
|
|
.PP
|
|
.PP
|
|
\fBReturns\fP
|
|
.RS 4
|
|
True, when the sample is valid
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Member Data Documentation"
|
|
.PP
|
|
.SS "double QwtOHLCSample::time"
|
|
Time of the sample, usually a number representing a specific interval - like a day\&.
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|