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:
231
libs/qwt-6.1.5/doc/man/man3/QwtSimpleCompassRose.3
Normal file
231
libs/qwt-6.1.5/doc/man/man3/QwtSimpleCompassRose.3
Normal file
@ -0,0 +1,231 @@
|
||||
.TH "QwtSimpleCompassRose" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtSimpleCompassRose \- A simple rose for \fBQwtCompass\fP\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_compass_rose\&.h>\fP
|
||||
.PP
|
||||
Inherits \fBQwtCompassRose\fP\&.
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtSimpleCompassRose\fP (int \fBnumThorns\fP=8, int \fBnumThornLevels\fP=\-1)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual \fB~QwtSimpleCompassRose\fP ()"
|
||||
.br
|
||||
.RI "Destructor\&. "
|
||||
.ti -1c
|
||||
.RI "void \fBsetWidth\fP (double)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "double \fBwidth\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "void \fBsetNumThorns\fP (int)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "int \fBnumThorns\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "void \fBsetNumThornLevels\fP (int)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "int \fBnumThornLevels\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "void \fBsetShrinkFactor\fP (double factor)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "double \fBshrinkFactor\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual void \fBdraw\fP (QPainter *, const QPointF ¢er, double radius, double north, QPalette::ColorGroup=QPalette::Active) const"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Static Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "static void \fBdrawRose\fP (QPainter *, const QPalette &, const QPointF ¢er, double radius, double north, double \fBwidth\fP, int \fBnumThorns\fP, int \fBnumThornLevels\fP, double \fBshrinkFactor\fP)"
|
||||
.br
|
||||
.in -1c
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A simple rose for \fBQwtCompass\fP\&.
|
||||
.SH "Constructor & Destructor Documentation"
|
||||
.PP
|
||||
.SS "QwtSimpleCompassRose::QwtSimpleCompassRose (int numThorns = \fC8\fP, int numThornLevels = \fC\-1\fP)"
|
||||
Constructor
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fInumThorns\fP Number of thorns
|
||||
.br
|
||||
\fInumThornLevels\fP Number of thorn levels
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "void QwtSimpleCompassRose::draw (QPainter * painter, const QPointF & center, double radius, double north, QPalette::ColorGroup cg = \fCQPalette::Active\fP) const\fC [virtual]\fP"
|
||||
Draw the rose
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIcenter\fP Center point
|
||||
.br
|
||||
\fIradius\fP Radius of the rose
|
||||
.br
|
||||
\fInorth\fP Position
|
||||
.br
|
||||
\fIcg\fP Color group
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtCompassRose\fP\&.
|
||||
.SS "void QwtSimpleCompassRose::drawRose (QPainter * painter, const QPalette & palette, const QPointF & center, double radius, double north, double width, int numThorns, int numThornLevels, double shrinkFactor)\fC [static]\fP"
|
||||
Draw the rose
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIpalette\fP Palette
|
||||
.br
|
||||
\fIcenter\fP Center of the rose
|
||||
.br
|
||||
\fIradius\fP Radius of the rose
|
||||
.br
|
||||
\fInorth\fP Position pointing to north
|
||||
.br
|
||||
\fIwidth\fP Width of the rose
|
||||
.br
|
||||
\fInumThorns\fP Number of thorns
|
||||
.br
|
||||
\fInumThornLevels\fP Number of thorn levels
|
||||
.br
|
||||
\fIshrinkFactor\fP Factor to shrink the thorns with each level
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "int QwtSimpleCompassRose::numThornLevels () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Number of thorn levels
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "int QwtSimpleCompassRose::numThorns () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Number of thorns
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtSimpleCompassRose::setNumThornLevels (int numThornLevels)"
|
||||
Set the of thorns levels
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fInumThornLevels\fP Number of thorns levels
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetNumThorns()\fP, \fBnumThornLevels()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtSimpleCompassRose::setNumThorns (int numThorns)"
|
||||
Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fInumThorns\fP Number of thorns
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBnumThorns()\fP, \fBsetNumThornLevels()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtSimpleCompassRose::setShrinkFactor (double factor)"
|
||||
Set the Factor how to shrink the thorns with each level The default value is 0\&.9\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIfactor\fP Shrink factor
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBshrinkFactor()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtSimpleCompassRose::setWidth (double width)"
|
||||
Set the width of the rose heads\&. Lower value make thinner heads\&. The range is limited from 0\&.03 to 0\&.4\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIwidth\fP Width
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "double QwtSimpleCompassRose::shrinkFactor () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Factor how to shrink the thorns with each level
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetShrinkFactor()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "double QwtSimpleCompassRose::width () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Width of the rose
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetWidth()\fP
|
||||
.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