#include <qetgraphicsitem.h>
◆ QetGraphicsItem()
QetGraphicsItem::QetGraphicsItem |
( |
QGraphicsItem * |
parent = nullptr | ) |
|
◆ ~QetGraphicsItem()
QetGraphicsItem::~QetGraphicsItem |
( |
| ) |
|
|
overridepure virtual |
◆ diagram()
Diagram * QetGraphicsItem::diagram |
( |
| ) |
const |
@brief QetGraphicsItem::diagram
return the diagram of this item
◆ editProperty()
virtual void QetGraphicsItem::editProperty |
( |
| ) |
|
|
inlinevirtual |
◆ isMovable()
virtual bool QetGraphicsItem::isMovable |
( |
| ) |
const |
|
inlinevirtual |
◆ mouseDoubleClickEvent()
void QetGraphicsItem::mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
@brief QetGraphicsItem::mouseDoubleClickEvent
handle the mouse double click
- Parameters
-
◆ mouseMoveEvent()
void QetGraphicsItem::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
@brief QetGraphicsItem::mouseMoveEvent
handle mouse movement
- Parameters
-
◆ mousePressEvent()
void QetGraphicsItem::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
@brief QetGraphicsItem::mousePressEvent
handle the mouse click
- Parameters
-
◆ mouseReleaseEvent()
void QetGraphicsItem::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ name()
virtual QString QetGraphicsItem::name |
( |
| ) |
const |
|
inlinevirtual |
◆ setMovable()
virtual void QetGraphicsItem::setMovable |
( |
bool |
movable | ) |
|
|
inlinevirtual |
◆ setPos() [1/2]
void QetGraphicsItem::setPos |
( |
const QPointF & |
p | ) |
|
|
virtual |
@brief QetGraphicsItem::setPos
set the position of the item to p
- Parameters
-
p | the new position of item |
◆ setPos() [2/2]
void QetGraphicsItem::setPos |
( |
qreal |
x, |
|
|
qreal |
y |
|
) |
| |
|
virtual |
@brief QetGraphicsItem::setPos
set the position of the item
- Parameters
-
x | new abscisse of item |
y | new ordonne of item |
◆ state()
◆ is_movable_
bool QetGraphicsItem::is_movable_ |
|
protected |
◆ m_first_move
bool QetGraphicsItem::m_first_move |
|
protected |
◆ m_mouse_to_origin_movement
QPointF QetGraphicsItem::m_mouse_to_origin_movement |
|
protected |
◆ m_state
◆ snap_to_grid_
bool QetGraphicsItem::snap_to_grid_ |
|
protected |
The documentation for this class was generated from the following files: