The QetGraphicsHandlerItem class This graphics item represents a point, destined to be used as an handler, for modifie the geometrie of a another graphics item (like shapes). The graphics item to be modified, must call "installSceneEventFilter" of this item with itself for argument,. The ghraphics item to be modified, need to reimplement "sceneEventFilter" for create the modification behavior.
More...
#include <qetgraphicshandleritem.h>
Inherits QGraphicsItem.
|
| enum | { Type = UserType + 1200
} |
| |
The QetGraphicsHandlerItem class This graphics item represents a point, destined to be used as an handler, for modifie the geometrie of a another graphics item (like shapes). The graphics item to be modified, must call "installSceneEventFilter" of this item with itself for argument,. The ghraphics item to be modified, need to reimplement "sceneEventFilter" for create the modification behavior.
◆ anonymous enum
◆ QetGraphicsHandlerItem()
| QetGraphicsHandlerItem::QetGraphicsHandlerItem |
( |
qreal |
size = 10 | ) |
|
◆ boundingRect()
| QRectF QetGraphicsHandlerItem::boundingRect |
( |
| ) |
const |
|
override |
◆ handlerForPoint()
| QVector< QetGraphicsHandlerItem * > QetGraphicsHandlerItem::handlerForPoint |
( |
const QVector< QPointF > & |
points, |
|
|
int |
size = 10 |
|
) |
| |
|
static |
◆ paint()
| void QetGraphicsHandlerItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
|
overrideprotected |
◆ setColor()
| void QetGraphicsHandlerItem::setColor |
( |
QColor |
color | ) |
|
◆ type()
| int QetGraphicsHandlerItem::type |
( |
| ) |
const |
|
inlineoverride |
◆ m_br
| QRectF QetGraphicsHandlerItem::m_br |
|
private |
◆ m_color
| QColor QetGraphicsHandlerItem::m_color |
|
private |
◆ m_handler_rect
| QRectF QetGraphicsHandlerItem::m_handler_rect |
|
private |
◆ m_pen
| QPen QetGraphicsHandlerItem::m_pen |
|
private |
◆ m_size
| qreal QetGraphicsHandlerItem::m_size |
|
private |
The documentation for this class was generated from the following files: