mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07: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:
172
libs/qwt-6.1.5/doc/man/man3/QwtCompass.3
Normal file
172
libs/qwt-6.1.5/doc/man/man3/QwtCompass.3
Normal file
@ -0,0 +1,172 @@
|
||||
.TH "QwtCompass" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtCompass \- A Compass Widget\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_compass\&.h>\fP
|
||||
.PP
|
||||
Inherits \fBQwtDial\fP\&.
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtCompass\fP (QWidget *parent=NULL)"
|
||||
.br
|
||||
.RI "Constructor\&. "
|
||||
.ti -1c
|
||||
.RI "virtual \fB~QwtCompass\fP ()"
|
||||
.br
|
||||
.RI "Destructor\&. "
|
||||
.ti -1c
|
||||
.RI "void \fBsetRose\fP (\fBQwtCompassRose\fP *\fBrose\fP)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "const \fBQwtCompassRose\fP * \fBrose\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "\fBQwtCompassRose\fP * \fBrose\fP ()"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Protected Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "virtual void \fBdrawRose\fP (QPainter *, const QPointF ¢er, double radius, double north, QPalette::ColorGroup) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual void \fBdrawScaleContents\fP (QPainter *, const QPointF ¢er, double radius) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual void \fBkeyPressEvent\fP (QKeyEvent *)"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Additional Inherited Members"
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A Compass Widget\&.
|
||||
|
||||
\fBQwtCompass\fP is a widget to display and enter directions\&. It consists of a scale, an optional needle and rose\&.
|
||||
.PP
|
||||
.PP
|
||||
\fBNote\fP
|
||||
.RS 4
|
||||
The examples/dials example shows how to use \fBQwtCompass\fP\&.
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SH "Constructor & Destructor Documentation"
|
||||
.PP
|
||||
.SS "QwtCompass::QwtCompass (QWidget * parent = \fCNULL\fP)\fC [explicit]\fP"
|
||||
|
||||
.PP
|
||||
Constructor\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIparent\fP Parent widget
|
||||
.RE
|
||||
.PP
|
||||
Create a compass widget with a scale, no needle and no rose\&. The default origin is 270\&.0 with no valid value\&. It accepts mouse and keyboard inputs and has no step size\&. The default mode is \fBQwtDial::RotateNeedle\fP\&.
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "void QwtCompass::drawRose (QPainter * painter, const QPointF & center, double radius, double north, QPalette::ColorGroup cg) const\fC [protected]\fP, \fC [virtual]\fP"
|
||||
Draw the compass rose
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIcenter\fP Center of the compass
|
||||
.br
|
||||
\fIradius\fP of the circle, where to paint the rose
|
||||
.br
|
||||
\fInorth\fP Direction pointing north, in degrees counter clockwise
|
||||
.br
|
||||
\fIcg\fP Color group
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtCompass::drawScaleContents (QPainter * painter, const QPointF & center, double radius) const\fC [protected]\fP, \fC [virtual]\fP"
|
||||
Draw the contents of the scale
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIcenter\fP Center of the content circle
|
||||
.br
|
||||
\fIradius\fP Radius of the content circle
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Reimplemented from \fBQwtDial\fP\&.
|
||||
.SS "void QwtCompass::keyPressEvent (QKeyEvent * kev)\fC [protected]\fP, \fC [virtual]\fP"
|
||||
Handles key events
|
||||
.PP
|
||||
Beside the keys described in \fBQwtDial::keyPressEvent\fP numbers from 1-9 (without 5) set the direction according to their position on the num pad\&.
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBisReadOnly()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Reimplemented from \fBQwtAbstractSlider\fP\&.
|
||||
.SS "\fBQwtCompassRose\fP * QwtCompass::rose ()"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
rose
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetRose()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "const \fBQwtCompassRose\fP * QwtCompass::rose () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
rose
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBsetRose()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtCompass::setRose (\fBQwtCompassRose\fP * rose)"
|
||||
Set a rose for the compass
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIrose\fP Compass rose
|
||||
.RE
|
||||
.PP
|
||||
\fBWarning\fP
|
||||
.RS 4
|
||||
The rose will be deleted, when a different rose is set or in ~QwtCompass
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBrose()\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