NCL Composer
0.1.5
|
Public Types | |
enum | QnlyResizeType { Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, TopLeft } |
Signals | |
void | regionAdditionRequested (QnlyGraphicsRegion *parent) |
void | regionSelectionRequested (QnlyGraphicsRegion *region) |
void | regionDeletionRequested (QnlyGraphicsRegion *region) |
void | regionChangeRequested (QnlyGraphicsRegion *region, QMap< QString, QString > attributes) |
void | dragMediaOverRegion (QString mediaid, QnlyGraphicsRegion *region) |
void | regionbasePerformed () |
Public Member Functions | |
QnlyGraphicsRegion (QMenu *switchMenu, QnlyGraphicsRegion *parent=0) | |
bool | isMoving () const |
void | setMoving (bool moving) |
bool | isResizing () const |
void | setParent (QnlyGraphicsRegion *region) |
void | setResizing (bool resizing) |
bool | isSelected () const |
void | setSelected (bool selected) |
bool | isPainted () const |
void | setPainted (bool painted) |
bool | hasChanged () const |
void | setChanged (bool changed) |
bool | isValidated () const |
void | setValidated (bool validated) |
QString | getId () const |
void | setId (const QString &id) |
QString | getUid () const |
void | setUid (const QString &uid) |
QString | getTitle () const |
void | setTitle (const QString &title) |
QString | getColor () const |
void | setColor (const QString &color) |
int | getzIndex () const |
void | setzIndex (int zindex) |
qreal | getzIndexTop () const |
qreal | getTop () const |
qreal | getMoveTop () const |
qreal | getPressTop () const |
qreal | getResizeTop () const |
qreal | getRelativeTop () const |
void | setRelativeTop (qreal relativeTop) |
qreal | getLeft () const |
qreal | getMoveLeft () const |
qreal | getPressLeft () const |
qreal | getResizeLeft () const |
qreal | getRelativeLeft () const |
void | setRelativeLeft (qreal relativeLeft) |
qreal | getRight () const |
qreal | getRelativeRight () const |
void | setRelativeRight (qreal relativeRight) |
qreal | getBottom () const |
qreal | getRelativeBottom () const |
void | setRelativeBottom (qreal relativeBottom) |
qreal | getWidth () const |
qreal | getPressWidth () const |
qreal | getResizeWidth () const |
qreal | getRelativeWidth () const |
void | setRelativeWidth (qreal relativeWidth) |
qreal | getHeight () const |
qreal | getPressHeight () const |
qreal | getResizeHeight () const |
qreal | getRelativeHeight () const |
void | setRelativeHeight (qreal relativeHeight) |
QnlyResizeType | getResizeType () const |
void | adjust (bool repaint=true) |
void | addRegion (QnlyGraphicsRegion *region) |
void | removeRegion (QnlyGraphicsRegion *region) |
void | hideRegion (QnlyGraphicsRegion *region) |
void | updateActionText (QnlyGraphicsRegion *region) |
void | updateCursor (QGraphicsSceneMouseEvent *event) |
void | setGridAction (QAction *action) |
Protected Slots | |
void | performShow (QAction *action) |
void | performRegion () |
void | performHide () |
void | performDelete () |
void | performExport () |
Definition at line 46 of file qnlygraphicsregion.h.