QwtPickerMachine Class Reference

A state machine for QwtPicker selections. More...

#include <qwt_picker_machine.h>

Inheritance diagram for QwtPickerMachine:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Command {
  Begin,
  Append,
  Move,
  End
}
typedef QList< CommandCommandList

Public Member Functions

virtual ~QwtPickerMachine ()
virtual CommandList transition (const QwtEventPattern &, const QEvent *)=0
void reset ()
int state () const
void setState (int)

Protected Member Functions

 QwtPickerMachine ()

Detailed Description

A state machine for QwtPicker selections.

QwtPickerMachine accepts key and mouse events and translates them into selection commands.

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

Member Enumeration Documentation

Commands - the output of the state machine.


Constructor & Destructor Documentation

QwtPickerMachine::~QwtPickerMachine (  )  [virtual]

Destructor.

QwtPickerMachine::QwtPickerMachine (  )  [protected]

Constructor.


Member Function Documentation

void QwtPickerMachine::reset (  ) 

Set the current state to 0.

void QwtPickerMachine::setState ( int  state  ) 

Change the current state.

int QwtPickerMachine::state (  )  const

Return the current state.

virtual CommandList QwtPickerMachine::transition ( const QwtEventPattern ,
const QEvent *   
) [pure virtual]
Generated on Sun Apr 11 11:55:56 2010 for Qwt User's Guide by  doxygen 1.6.3