mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17: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:
212
libs/qwt-6.1.5/doc/man/man3/QwtPlotSvgItem.3
Normal file
212
libs/qwt-6.1.5/doc/man/man3/QwtPlotSvgItem.3
Normal file
@ -0,0 +1,212 @@
|
||||
.TH "QwtPlotSvgItem" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtPlotSvgItem \- A plot item, which displays data in Scalable Vector Graphics (SVG) format\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_plot_svgitem\&.h>\fP
|
||||
.PP
|
||||
Inherits \fBQwtPlotItem\fP\&.
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtPlotSvgItem\fP (const QString &\fBtitle\fP=QString())"
|
||||
.br
|
||||
.RI "Constructor\&. "
|
||||
.ti -1c
|
||||
.RI "\fBQwtPlotSvgItem\fP (const \fBQwtText\fP &\fBtitle\fP)"
|
||||
.br
|
||||
.RI "Constructor\&. "
|
||||
.ti -1c
|
||||
.RI "virtual \fB~QwtPlotSvgItem\fP ()"
|
||||
.br
|
||||
.RI "Destructor\&. "
|
||||
.ti -1c
|
||||
.RI "bool \fBloadFile\fP (const QRectF &, const QString &fileName)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "bool \fBloadData\fP (const QRectF &, const QByteArray &)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual QRectF \fBboundingRect\fP () const"
|
||||
.br
|
||||
.RI "Bounding rectangle of the item\&. "
|
||||
.ti -1c
|
||||
.RI "virtual void \fBdraw\fP (QPainter *, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual int \fBrtti\fP () const"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Protected Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "const QSvgRenderer & \fBrenderer\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "QSvgRenderer & \fBrenderer\fP ()"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "void \fBrender\fP (QPainter *, const QRectF &\fBviewBox\fP, const QRectF &rect) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "QRectF \fBviewBox\fP (const QRectF &rect) const"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Additional Inherited Members"
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A plot item, which displays data in Scalable Vector Graphics (SVG) format\&.
|
||||
|
||||
SVG images are often used to display maps
|
||||
.SH "Constructor & Destructor Documentation"
|
||||
.PP
|
||||
.SS "QwtPlotSvgItem::QwtPlotSvgItem (const QString & title = \fCQString()\fP)\fC [explicit]\fP"
|
||||
|
||||
.PP
|
||||
Constructor\&. Sets the following item attributes:
|
||||
.IP "\(bu" 2
|
||||
\fBQwtPlotItem::AutoScale\fP: true
|
||||
.IP "\(bu" 2
|
||||
\fBQwtPlotItem::Legend\fP: false
|
||||
.PP
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fItitle\fP Title
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "QwtPlotSvgItem::QwtPlotSvgItem (const \fBQwtText\fP & title)\fC [explicit]\fP"
|
||||
|
||||
.PP
|
||||
Constructor\&. Sets the following item attributes:
|
||||
.IP "\(bu" 2
|
||||
\fBQwtPlotItem::AutoScale\fP: true
|
||||
.IP "\(bu" 2
|
||||
\fBQwtPlotItem::Legend\fP: false
|
||||
.PP
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fItitle\fP Title
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "void QwtPlotSvgItem::draw (QPainter * painter, const \fBQwtScaleMap\fP & xMap, const \fBQwtScaleMap\fP & yMap, const QRectF & canvasRect) const\fC [virtual]\fP"
|
||||
Draw the SVG item
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIxMap\fP X-Scale Map
|
||||
.br
|
||||
\fIyMap\fP Y-Scale Map
|
||||
.br
|
||||
\fIcanvasRect\fP Contents rect of the plot canvas
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtPlotItem\fP\&.
|
||||
.SS "bool QwtPlotSvgItem::loadData (const QRectF & rect, const QByteArray & data)"
|
||||
Load SVG data
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIrect\fP Bounding rectangle
|
||||
.br
|
||||
\fIdata\fP in SVG format
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
true, if the SVG data could be loaded
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "bool QwtPlotSvgItem::loadFile (const QRectF & rect, const QString & fileName)"
|
||||
Load a SVG file
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIrect\fP Bounding rectangle
|
||||
.br
|
||||
\fIfileName\fP SVG file name
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
true, if the SVG file could be loaded
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtPlotSvgItem::render (QPainter * painter, const QRectF & viewBox, const QRectF & rect) const\fC [protected]\fP"
|
||||
Render the SVG data
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIviewBox\fP View Box, see QSvgRenderer::viewBox()
|
||||
.br
|
||||
\fIrect\fP Target rectangle on the paint device
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "QSvgRenderer & QwtPlotSvgItem::renderer ()\fC [protected]\fP"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Renderer used to render the SVG data
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "const QSvgRenderer & QwtPlotSvgItem::renderer () const\fC [protected]\fP"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Renderer used to render the SVG data
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "int QwtPlotSvgItem::rtti () const\fC [virtual]\fP"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
\fBQwtPlotItem::Rtti_PlotSVG\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Reimplemented from \fBQwtPlotItem\fP\&.
|
||||
.SS "QRectF QwtPlotSvgItem::viewBox (const QRectF & rect) const\fC [protected]\fP"
|
||||
Calculate the view box from rect and \fBboundingRect()\fP\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIrect\fP Rectangle in scale coordinates
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
View box, see QSvgRenderer::viewBox()
|
||||
.RE
|
||||
.PP
|
||||
|
||||
|
||||
.SH "Author"
|
||||
.PP
|
||||
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|
Reference in New Issue
Block a user