|
| QnstGraphicsReference (QnstGraphicsEntity *parent=0) |
|
bool | isInvalid () |
|
void | setInvalid (bool invalid) |
|
QnstGraphicsEntity * | getEntityA () const |
|
void | setEntityA (QnstGraphicsEntity *entity) |
|
QnstGraphicsEntity * | getEntityB () const |
|
void | setEntityB (QnstGraphicsEntity *entity) |
|
bool | isEntityAEnabled () const |
|
void | setEntityAEnabled (bool enable) |
|
bool | isEntityBEnabled () const |
|
void | setEntityBEnabled (bool enable) |
|
void | adjust (bool avoidCollision=false) |
|
void | aux_adjust (QPointF pointa, QPointF pointb) |
|
QPointF | arcPointAt (QLineF line, qreal at, bool toend=true) |
|
qreal | getAngle () |
|
void | setAngle (qreal angle) |
|
qreal | getAdjAngle () |
|
void | setAdjAngle (qreal adjangle) |
|
QnstGraphicsEntity * | getnstGraphicsParent () const |
|
void | setnstGraphicsParent (QnstGraphicsEntity *parent) |
|
void | addAngle (QString uid, int angle) |
|
void | removeAngle (QString uid, int angle) |
|
QSet< QnstGraphicsEntity * > | getnstGraphicsEntities () |
|
void | addnstGraphicsEntity (QnstGraphicsEntity *entity) |
|
void | removenstGraphicsEntity (QnstGraphicsEntity *entity) |
|
bool | hasMouseHover () |
|
void | setMouseHover (bool hover) |
|
virtual void | setnstId (const QString &id) |
|
virtual void | updateToolTip () |
|
virtual void | setProperties (const QMap< QString, QString > &properties) |
|
virtual void | getProperties (QMap< QString, QString > &properties) |
|
bool | isDraggable () |
|
void | setDraggable (bool isDraggable) |
|
void | setError (bool hasError) |
|
void | setErrorMsg (QString erroMsg) |
|
void | setMoveable (bool moveable) |
|
bool | isMoveable () const |
|
void | setSelectable (bool selected) |
|
bool | isSelectable () const |
|
void | setResizable (bool resizable) |
|
bool | isResizable () const |
|
void | setMoving (bool moving) |
|
bool | isMoving () const |
|
void | setResizing (bool resizing) |
|
bool | isResizing () const |
|
void | setSelected (bool selected) |
|
bool | isSelected () const |
|
qreal | getTop () const |
|
void | setTop (qreal top) |
|
qreal | getMoveTop () const |
|
void | setMoveTop (qreal moveTop) |
|
qreal | getPressTop () const |
|
void | setPressTop (qreal pressTop) |
|
qreal | getResizeTop () const |
|
void | setResizeTop (qreal resizeTop) |
|
qreal | getLeft () const |
|
void | setLeft (qreal left) |
|
qreal | getMoveLeft () const |
|
void | setMoveLeft (qreal moveLeft) |
|
qreal | getPressLeft () const |
|
void | setPressLeft (qreal pressLeft) |
|
qreal | getResizeLeft () const |
|
void | setResizeLeft (qreal resizeLeft) |
|
qreal | getWidth () const |
|
void | setWidth (qreal width) |
|
qreal | getPressWidth () const |
|
void | setPressWidth (qreal pressWidth) |
|
qreal | getResizeWidth () const |
|
void | setResizeWidth (qreal resizeWidth) |
|
qreal | getHeight () const |
|
void | setHeight (qreal height) |
|
qreal | getPressHeight () const |
|
void | setPressHeight (qreal pressHeight) |
|
qreal | getResizeHeight () const |
|
void | setResizeHeight (qreal resizeHeight) |
|
int | getzIndex () const |
|
void | setzIndex (int zindex) |
|
QncgResizeType | getncgResize () const |
|
void | setncgResize (QncgResizeType resizeType) |
|
QncgEntityType | getncgType () const |
|
void | setncgType (QncgEntityType entityType) |
|
QncgGraphicsEntity * | getncgGraphicsParent () const |
|
void | setncgGraphicsParent (QncgGraphicsEntity *parent) |
|
QVector< QncgGraphicsEntity * > | getncgGraphicsEntities () |
|
void | addncgGraphicsEntity (QncgGraphicsEntity *entity) |
|
void | removencgGraphicsEntity (QncgGraphicsEntity *entity) |
|
QString | getnstId () const |
|
QString | getnstUid () const |
|
void | setnstUid (const QString &uid) |
|
QnstType | getnstType () const |
|
virtual void | setnstType (QnstType type) |
|
QMap< QString, QString > | getUsrData () |
|
void | setUsrData (QMap< QString, QString > userData) |
|
QnstEntity * | getnstParent () const |
|
void | setnstParent (QnstEntity *parent) |
|
QSet< QnstEntity * > | getnstEntities () |
|
void | addnstEntity (QnstEntity *entity) |
|
void | removenstEntity (QnstEntity *entity) |
|
bool | isMedia () |
|
|
virtual void | draw (QPainter *painter) |
|
virtual void | delineate (QPainterPath *painter) const |
|
virtual void | move (QGraphicsSceneMouseEvent *event) |
|
virtual void | resize (QGraphicsSceneMouseEvent *event) |
|
virtual void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) |
|
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
|
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
|
virtual QPainterPath | shape () const |
|
virtual QRectF | boundingRect () const |
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
|
virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
|
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
|
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
|
virtual void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) |
|
Definition at line 6 of file qnstgraphicsreference.h.