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:
146
libs/qwt-6.1.5/doc/man/man3/QwtPixelMatrix.3
Normal file
146
libs/qwt-6.1.5/doc/man/man3/QwtPixelMatrix.3
Normal file
@ -0,0 +1,146 @@
|
||||
.TH "QwtPixelMatrix" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtPixelMatrix \- A bit field corresponding to the pixels of a rectangle\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_pixel_matrix\&.h>\fP
|
||||
.PP
|
||||
Inherits QBitArray\&.
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtPixelMatrix\fP (const QRect &\fBrect\fP)"
|
||||
.br
|
||||
.RI "Constructor\&. "
|
||||
.ti -1c
|
||||
.RI "\fB~QwtPixelMatrix\fP ()"
|
||||
.br
|
||||
.RI "Destructor\&. "
|
||||
.ti -1c
|
||||
.RI "void \fBsetRect\fP (const QRect &\fBrect\fP)"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "QRect \fBrect\fP () const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "bool \fBtestPixel\fP (int x, int y) const"
|
||||
.br
|
||||
.RI "Test if a pixel has been set\&. "
|
||||
.ti -1c
|
||||
.RI "bool \fBtestAndSetPixel\fP (int x, int y, bool on)"
|
||||
.br
|
||||
.RI "Set a pixel and test if a pixel has been set before\&. "
|
||||
.ti -1c
|
||||
.RI "int \fBindex\fP (int x, int y) const"
|
||||
.br
|
||||
.RI "Calculate the index in the bit field corresponding to a position\&. "
|
||||
.in -1c
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A bit field corresponding to the pixels of a rectangle\&.
|
||||
|
||||
\fBQwtPixelMatrix\fP is intended to filter out duplicates in an unsorted array of points\&.
|
||||
.SH "Constructor & Destructor Documentation"
|
||||
.PP
|
||||
.SS "QwtPixelMatrix::QwtPixelMatrix (const QRect & rect)"
|
||||
|
||||
.PP
|
||||
Constructor\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIrect\fP Bounding rectangle for the matrix
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "int QwtPixelMatrix::index (int x, int y) const\fC [inline]\fP"
|
||||
|
||||
.PP
|
||||
Calculate the index in the bit field corresponding to a position\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIx\fP X-coordinate
|
||||
.br
|
||||
\fIy\fP Y-coordinate
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Index, when \fBrect()\fP contains pos - otherwise -1\&.
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "QRect QwtPixelMatrix::rect () const"
|
||||
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Bounding rectangle
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "void QwtPixelMatrix::setRect (const QRect & rect)"
|
||||
Set the bounding rectangle of the matrix
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIrect\fP Bounding rectangle
|
||||
.RE
|
||||
.PP
|
||||
\fBNote\fP
|
||||
.RS 4
|
||||
All bits are cleared
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "bool QwtPixelMatrix::testAndSetPixel (int x, int y, bool on)\fC [inline]\fP"
|
||||
|
||||
.PP
|
||||
Set a pixel and test if a pixel has been set before\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIx\fP X-coordinate
|
||||
.br
|
||||
\fIy\fP Y-coordinate
|
||||
.br
|
||||
\fIon\fP Set/Clear the pixel
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
true, when pos is outside of \fBrect()\fP, or when the pixel was set before\&.
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.SS "bool QwtPixelMatrix::testPixel (int x, int y) const\fC [inline]\fP"
|
||||
|
||||
.PP
|
||||
Test if a pixel has been set\&.
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIx\fP X-coordinate
|
||||
.br
|
||||
\fIy\fP Y-coordinate
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
true, when pos is outside of \fBrect()\fP, or when the pixel has already been set\&.
|
||||
.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