The DVEventInterface class This class is the main interface for manage event of a Diagram View. This does nothing, to create new event behavior, we must create new class from this. Each method returns a bool: True if the method does something, else return false. Each method of DVEventInterface returns false; isRunning() returns true if action is started but not finished. By default: return false. isFinish() returns true when the action is finished, or not started. By default: return true.
More...
#include <dveventinterface.h>
Inherits QObject.
|
void | finish () |
| finish emitted when the interface finishes its job
|
|
The DVEventInterface class This class is the main interface for manage event of a Diagram View. This does nothing, to create new event behavior, we must create new class from this. Each method returns a bool: True if the method does something, else return false. Each method of DVEventInterface returns false; isRunning() returns true if action is started but not finished. By default: return false. isFinish() returns true when the action is finished, or not started. By default: return true.
◆ DVEventInterface()
◆ ~DVEventInterface()
DVEventInterface::~DVEventInterface |
( |
| ) |
|
|
overridepure virtual |
◆ finish
void DVEventInterface::finish |
( |
| ) |
|
|
signal |
finish emitted when the interface finishes its job
◆ isFinish()
bool DVEventInterface::isFinish |
( |
| ) |
const |
|
virtual |
◆ isRunning()
bool DVEventInterface::isRunning |
( |
| ) |
const |
|
virtual |
◆ keyPressEvent()
bool DVEventInterface::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
virtual |
◆ KeyReleaseEvent()
bool DVEventInterface::KeyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
virtual |
◆ mouseDoubleClickEvent()
bool DVEventInterface::mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ mouseMoveEvent()
bool DVEventInterface::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ mousePressEvent()
bool DVEventInterface::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ mouseReleaseEvent()
bool DVEventInterface::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ wheelEvent()
bool DVEventInterface::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
virtual |
◆ m_abort
bool DVEventInterface::m_abort |
|
protected |
◆ m_diagram
Diagram* DVEventInterface::m_diagram |
|
protected |
◆ m_dv
◆ m_running
bool DVEventInterface::m_running |
|
protected |
The documentation for this class was generated from the following files: