|
Eneboo - Documentación para desarrolladores
|
A state machine for QwtPicker selections. Más...
#include <qwt_picker_machine.h>
Tipos públicos | |
| enum | Command { Begin, Append, Move, End } |
| Commands - the output of the state machine. Más... | |
| typedef QValueList< Command > | CommandList |
Métodos públicos | |
| virtual | ~QwtPickerMachine () |
| Destructor. | |
| virtual CommandList | transition (const QwtEventPattern &, const QEvent *)=0 |
| Transition. | |
| void | reset () |
| Set the current state to 0. | |
| int | state () const |
| Return the current state. | |
| void | setState (int) |
| Change the current state. | |
Métodos protegidos | |
| QwtPickerMachine () | |
| Constructor. | |
A state machine for QwtPicker selections.
QwtPickerMachine accepts key and mouse events and translates them into selection commands.
| QwtPickerMachine::~QwtPickerMachine | ( | ) | [virtual] |
Destructor.
| QwtPickerMachine::QwtPickerMachine | ( | ) | [protected] |
Constructor.
| void QwtPickerMachine::reset | ( | void | ) |
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] |
Transition.
Implementado en QwtPickerClickPointMachine, QwtPickerDragPointMachine, QwtPickerClickRectMachine, QwtPickerDragRectMachine y QwtPickerPolygonMachine.
1.7.4