NCL Composer
0.1
|
Public Slots | |
void | performArea () |
void | performProperty () |
Signals | |
void | entityAdded (QnstGraphicsEntity *entity) |
void | entityRemoved (QnstGraphicsEntity *entity) |
void | entityChanged (QnstGraphicsEntity *entity) |
void | entityChanged () |
void | entityAboutToChange (QnstGraphicsEntity *entity, QMap< QString, QString > properties) |
void | entityAboutToChange (QMap< QString, QString > properties) |
void | entitySelected (QnstGraphicsEntity *entity) |
void | entitySelected () |
void | undoRequested () |
void | redoRequested () |
void | cutRequested () |
void | copyRequested () |
void | pasteRequested () |
void | deleteRequested () |
void | exportRequested () |
void | zoominRequested () |
void | zoomoutRequested () |
void | zoomresetRequested () |
void | fullscreenRequested () |
Public Member Functions | |
QnstGraphicsAudio (QnstGraphicsNode *parent=0) | |
QString | getIcon () const |
void | setIcon (QString icon) |
void | setSource (QString source) |
void | setnstId (QString id) |
QString | getSource () const |
QString | getRefer () const |
void | setRefer (QString refer) |
QString | getReferUID () const |
void | setReferUID (QString refetUID) |
QString | getInstance () const |
void | setInstance (QString instance) |
void | updateToolTip () |
QVector< QnstGraphicsEdge * > | getnstGraphicsEdges () |
void | addnstGraphicsEdge (QnstGraphicsEdge *edge) |
void | removenstGraphicsEdge (QnstGraphicsEdge *edge) |
virtual void | fit (qreal padding) |
virtual void | inside () |
void | adjust (bool avoidCollision=true) |
QnstGraphicsEntity * | getnstGraphicsParent () const |
void | setnstGraphicsParent (QnstGraphicsEntity *parent) |
QMap< QString, QSet< int > > | getAngles () |
void | addAngle (QString uid, int angle) |
void | removeAngle (QString uid, int angle) |
QVector< QnstGraphicsEntity * > | getnstGraphicsEntities () |
void | addnstGraphicsEntity (QnstGraphicsEntity *entity) |
void | removenstGraphicsEntity (QnstGraphicsEntity *entity) |
bool | hasMouseHover () |
void | setMouseHover (bool hover) |
bool | isDraggable () |
void | setDraggable (bool isDraggable) |
void | setError (bool hasError) |
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 (QString uid) |
QnstType | getnstType () const |
void | setnstType (QnstType type) |
QMap< QString, QString > | getUsrData () |
void | setUsrData (QMap< QString, QString > userData) |
QnstEntity * | getnstParent () const |
void | setnstParent (QnstEntity *parent) |
QVector< QnstEntity * > | getnstEntities () |
void | addnstEntity (QnstEntity *entity) |
void | removenstEntity (QnstEntity *entity) |
Public Attributes | |
QnstMenu * | menu |
Protected Slots | |
void | requestEntityChange () |
void | requestEntityPreparation (QMap< QString, QString > properties) |
void | requestEntitySelection () |
Protected Member Functions | |
virtual void | draw (QPainter *painter) |
virtual void | delineate (QPainterPath *painter) const |
virtual void | mousePressEvent (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 | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
virtual void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) |
Protected Attributes | |
bool | hover |
bool | hasError |
Definition at line 6 of file qnstgraphicsaudio.h.