|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
#include <qwt_picker_machine.h>
Public 类型 | |
| enum | SelectionType { NoSelection = -1 , PointSelection , RectSelection , PolygonSelection } |
| Type of a selection. 更多... | |
| enum | Command { Begin , Append , Move , Remove , End } |
| Commands - the output of a state machine | |
Public 成员函数 | |
| QwtPickerMachine (SelectionType) | |
| 构造函数 | |
| virtual | ~QwtPickerMachine () |
| 析构函数 | |
| virtual QList< Command > | transition (const QwtEventPattern &, const QEvent *)=0 |
| void | reset () |
| 将当前状态设置为 0(初始状态) | |
| int | state () const |
| 返回当前状态 | |
| void | setState (int) |
| 改变当前状态 | |
| SelectionType | selectionType () const |
| 返回选择类型 | |
QwtPicker 选择的状态机
Type of a selection.
|
explicit |
构造函数
|
virtual |
析构函数
| void QwtPickerMachine::reset | ( | ) |
将当前状态设置为 0(初始状态)
| QwtPickerMachine::SelectionType QwtPickerMachine::selectionType | ( | ) | const |
返回选择类型
| void QwtPickerMachine::setState | ( | int | state | ) |
改变当前状态
| int QwtPickerMachine::state | ( | ) | const |
返回当前状态
|
pure virtual |