#include <ddtCornergrabber.hpp>
◆ anonymous enum
Define the mouse states
| Enumerator |
|---|
| CG_MOUSE_RELEASED | |
| CG_MOUSE_DOWN | |
| CG_MOUSE_MOVING | |
◆ CornerGrabber()
| CornerGrabber::CornerGrabber |
( |
QGraphicsItem * |
parent = nullptr, |
|
|
const int |
corner = 0 |
|
) |
| |
|
explicit |
◆ GetCorner()
| int CornerGrabber::GetCorner |
( |
| ) |
const |
Check which corner was selected
◆ GetMouseState()
| int CornerGrabber::GetMouseState |
( |
| ) |
const |
Get the current mouse state
◆ SetMouseState()
| void CornerGrabber::SetMouseState |
( |
const int |
state | ) |
|
Record the current mouse state
◆ mouse_down_x
| qreal CornerGrabber::mouse_down_x |
◆ mouse_down_y
| qreal CornerGrabber::mouse_down_y |
The documentation for this class was generated from the following files: