Dhanya Thattil 38cd10d4e6
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)
2022-11-11 15:15:10 +01:00

99 lines
2.4 KiB
Groff

.TH "QwtPickerMachine" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtPickerMachine \- A state machine for \fBQwtPicker\fP selections\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_picker_machine\&.h>\fP
.PP
Inherited by \fBQwtPickerClickPointMachine\fP, \fBQwtPickerClickRectMachine\fP, \fBQwtPickerDragLineMachine\fP, \fBQwtPickerDragPointMachine\fP, \fBQwtPickerDragRectMachine\fP, \fBQwtPickerPolygonMachine\fP, and \fBQwtPickerTrackerMachine\fP\&.
.SS "Public Types"
.in +1c
.ti -1c
.RI "enum \fBSelectionType\fP { \fBNoSelection\fP = -1, \fBPointSelection\fP, \fBRectSelection\fP, \fBPolygonSelection\fP }"
.br
.ti -1c
.RI "enum \fBCommand\fP { \fBBegin\fP, \fBAppend\fP, \fBMove\fP, \fBRemove\fP, \fBEnd\fP }"
.br
.RI "Commands - the output of a state machine\&. "
.in -1c
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtPickerMachine\fP (\fBSelectionType\fP)"
.br
.RI "Constructor\&. "
.ti -1c
.RI "virtual \fB~QwtPickerMachine\fP ()"
.br
.RI "Destructor\&. "
.ti -1c
.RI "virtual QList< \fBCommand\fP > \fBtransition\fP (const \fBQwtEventPattern\fP &, const QEvent *)=0"
.br
.RI "Transition\&. "
.ti -1c
.RI "void \fBreset\fP ()"
.br
.RI "Set the current state to 0\&. "
.ti -1c
.RI "int \fBstate\fP () const"
.br
.RI "Return the current state\&. "
.ti -1c
.RI "void \fBsetState\fP (int)"
.br
.RI "Change the current state\&. "
.ti -1c
.RI "\fBSelectionType\fP \fBselectionType\fP () const"
.br
.RI "Return the selection type\&. "
.in -1c
.SH "Detailed Description"
.PP
A state machine for \fBQwtPicker\fP selections\&.
\fBQwtPickerMachine\fP accepts key and mouse events and translates them into selection commands\&.
.PP
\fBSee also\fP
.RS 4
\fBQwtEventPattern::MousePatternCode\fP, \fBQwtEventPattern::KeyPatternCode\fP
.RE
.PP
.SH "Member Enumeration Documentation"
.PP
.SS "enum \fBQwtPickerMachine::SelectionType\fP"
Type of a selection\&.
.PP
\fBSee also\fP
.RS 4
\fBselectionType()\fP
.RE
.PP
.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fINoSelection \fP\fP
The state machine not usable for any type of selection\&.
.TP
\fB\fIPointSelection \fP\fP
The state machine is for selecting a single point\&.
.TP
\fB\fIRectSelection \fP\fP
The state machine is for selecting a rectangle (2 points)\&.
.TP
\fB\fIPolygonSelection \fP\fP
The state machine is for selecting a polygon (many points)\&.
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.