Public Member Functions
QwtPickerDragRectMachine Class Reference

A state machine for rectangle selections. More...

#include <qwt_picker_machine.h>

Inheritance diagram for QwtPickerDragRectMachine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QwtPickerDragRectMachine ()
 Constructor.
virtual QList< Commandtransition (const QwtEventPattern &, const QEvent *)
 Transition.

Detailed Description

A state machine for rectangle selections.

Pressing QwtEventPattern::MouseSelect1 selects the first point, releasing it the second point. Pressing QwtEventPattern::KeySelect1 also selects the first point, a second press selects the second point and terminates the selection.

See also:
QwtEventPattern::MousePatternCode, QwtEventPattern::KeyPatternCode

Definition at line 161 of file qwt_picker_machine.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 311 of file qwt_picker_machine.cpp.


Member Function Documentation

QList< QwtPickerMachine::Command > QwtPickerDragRectMachine::transition ( const QwtEventPattern eventPattern,
const QEvent *  event 
) [virtual]

Transition.

Implements QwtPickerMachine.

Definition at line 317 of file qwt_picker_machine.cpp.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:57