ddt  1.0.0
Classes
ddtCornergrabber.hpp File Reference

Corner grabber for resizable graphical elements. Class for the corners of resizable graphical elements. More...

#include <math.h>
#include <QGraphicsItem>
#include <QGraphicsSceneDragDropEvent>
#include <QPainter>
#include <QPen>

Go to the source code of this file.

Classes

class  CornerGrabber
 
enum  MouseStates { CG_MOUSE_RELEASED , CG_MOUSE_DOWN , CG_MOUSE_MOVING }
 
const int DDT_CORNER_GRABBER_SIZE = 20
 

Detailed Description

Corner grabber for resizable graphical elements. Class for the corners of resizable graphical elements.

Author
Carsten Mannel, CGI
Since
2021/03/16

Enumeration Type Documentation

◆ MouseStates

Define the mouse states

Enumerator
CG_MOUSE_RELEASED 
CG_MOUSE_DOWN 
CG_MOUSE_MOVING 

Variable Documentation

◆ DDT_CORNER_GRABBER_SIZE

const int DDT_CORNER_GRABBER_SIZE = 20