|
| QnstGraphicsComposition (QnstGraphicsEntity *parent=0) |
|
QString | getColor () const |
|
void | setColor (QString color) |
|
void | setCollapsed (bool collapsed) |
|
qreal | getLastW () |
|
qreal | getLastH () |
|
void | setLastW (qreal lastW) |
|
void | setLastH (qreal lastH) |
|
bool | isCollapsed () |
|
void | collapse () |
|
virtual void | updateToolTip () |
|
virtual void | setProperties (const QMap< QString, QString > &properties) |
|
virtual void | getProperties (QMap< QString, QString > &properties) |
|
virtual void | fit (qreal padding) |
|
virtual void | inside () |
|
void | adjust (bool avoidCollision=true) |
|
QVector< QnstGraphicsEdge * > | getnstGraphicsEdges () |
|
void | addnstGraphicsEdge (QnstGraphicsEdge *edge) |
|
void | removenstGraphicsEdge (QnstGraphicsEdge *edge) |
|
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) |
|
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 | dragEnterEvent (QGraphicsSceneDragDropEvent *event) |
|
virtual void | dropEvent (QGraphicsSceneDragDropEvent *event) |
|
virtual void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) |
|
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 18 of file qnstgraphicscomposition.h.