mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-16 01:08:42 +01: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:
144
libs/qwt-6.1.5/doc/man/man3/QwtDialSimpleNeedle.3
Normal file
144
libs/qwt-6.1.5/doc/man/man3/QwtDialSimpleNeedle.3
Normal file
@@ -0,0 +1,144 @@
|
||||
.TH "QwtDialSimpleNeedle" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtDialSimpleNeedle \- A needle for dial widgets\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_dial_needle\&.h>\fP
|
||||
.PP
|
||||
Inherits \fBQwtDialNeedle\fP\&.
|
||||
.SS "Public Types"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "enum \fBStyle\fP { \fBArrow\fP, \fBRay\fP }"
|
||||
.br
|
||||
.RI "Style of the needle\&. "
|
||||
.in -1c
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtDialSimpleNeedle\fP (\fBStyle\fP, bool hasKnob=true, const QColor &mid=Qt::gray, const QColor &base=Qt::darkGray)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "void \fBsetWidth\fP (double \fBwidth\fP)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "double \fBwidth\fP () const"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Protected Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "virtual void \fBdrawNeedle\fP (QPainter *, double length, QPalette::ColorGroup) const"
|
||||
.br
|
||||
.in -1c
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A needle for dial widgets\&.
|
||||
|
||||
The following colors are used:
|
||||
.PP
|
||||
.IP "\(bu" 2
|
||||
QPalette::Mid
|
||||
.br
|
||||
Pointer
|
||||
.IP "\(bu" 2
|
||||
QPalette::Base
|
||||
.br
|
||||
Knob
|
||||
.PP
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBQwtDial\fP, \fBQwtCompass\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SH "Member Enumeration Documentation"
|
||||
.PP
|
||||
.SS "enum \fBQwtDialSimpleNeedle::Style\fP"
|
||||
|
||||
.PP
|
||||
Style of the needle\&.
|
||||
.PP
|
||||
\fBEnumerator\fP
|
||||
.in +1c
|
||||
.TP
|
||||
\fB\fIArrow \fP\fP
|
||||
Arrow\&.
|
||||
.TP
|
||||
\fB\fIRay \fP\fP
|
||||
A straight line from the center\&.
|
||||
.SH "Constructor & Destructor Documentation"
|
||||
.PP
|
||||
.SS "QwtDialSimpleNeedle::QwtDialSimpleNeedle (\fBStyle\fP style, bool hasKnob = \fCtrue\fP, const QColor & mid = \fCQt::gray\fP, const QColor & base = \fCQt::darkGray\fP)"
|
||||
Constructor
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIstyle\fP Style
|
||||
.br
|
||||
\fIhasKnob\fP With/Without knob
|
||||
.br
|
||||
\fImid\fP Middle color
|
||||
.br
|
||||
\fIbase\fP Base color
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "void QwtDialSimpleNeedle::drawNeedle (QPainter * painter, double length, QPalette::ColorGroup colorGroup) const\fC [protected]\fP, \fC [virtual]\fP"
|
||||
Draw the needle
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIlength\fP Length of the needle
|
||||
.br
|
||||
\fIcolorGroup\fP Color group, used for painting
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtDialNeedle\fP\&.
|
||||
.SS "void QwtDialSimpleNeedle::setWidth (double width)"
|
||||
Set the width of the needle
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIwidth\fP Width
|
||||
.RE
|
||||
.PP
|
||||
\fBSee also\fP
|
||||
.RS 4
|
||||
\fBwidth()\fP
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "double QwtDialSimpleNeedle::width () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
the width of the needle
|
||||
.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