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 QGraphicsObject.
|
| 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 |
◆ currentSize()
| qreal QetGraphicsHandlerItem::currentSize |
( |
| ) |
const |
|
inlineprotected |
◆ handlerForPoint()
| QVector< QetGraphicsHandlerItem * > QetGraphicsHandlerItem::handlerForPoint |
( |
const QVector< QPointF > & |
points, |
|
|
int |
size = 10 |
|
) |
| |
|
static |
◆ hoverEnterEvent()
| void QetGraphicsHandlerItem::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ hoverLeaveEvent()
| void QetGraphicsHandlerItem::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ paint()
| void QetGraphicsHandlerItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
|
overrideprotected |
◆ setColor()
| void QetGraphicsHandlerItem::setColor |
( |
QColor |
color | ) |
|
◆ setCurrentSize()
| void QetGraphicsHandlerItem::setCurrentSize |
( |
qreal |
size | ) |
|
|
protected |
◆ setSize()
| void QetGraphicsHandlerItem::setSize |
( |
qreal |
size | ) |
|
◆ type()
| int QetGraphicsHandlerItem::type |
( |
| ) |
const |
|
inlineoverride |
◆ m_br
| QRectF QetGraphicsHandlerItem::m_br |
|
private |
◆ m_color
| QColor QetGraphicsHandlerItem::m_color |
|
private |
◆ m_current_size
| qreal QetGraphicsHandlerItem::m_current_size |
|
private |
◆ m_handler_rect
| QRectF QetGraphicsHandlerItem::m_handler_rect |
|
private |
◆ m_original_size
| qreal QetGraphicsHandlerItem::m_original_size |
|
private |
◆ m_pen
| QPen QetGraphicsHandlerItem::m_pen |
|
private |
◆ currentSize
| qreal QetGraphicsHandlerItem::currentSize |
|
readwrite |
The documentation for this class was generated from the following files: