|
tilde~
Puredata Qt-based GUI
|
Patchcord QGraphicsObject class. More...
#include <UIPatchcord.h>
Signals | |
| void | selected () |
| void | shiftClicked () |
More... | |
| void | altClicked () |
More... | |
Signals inherited from tilde::UIItem | |
| void | mousePressed (UIItem *obj, QGraphicsSceneMouseEvent *ev) |
| void | mouseReleased (UIItem *obj, QGraphicsSceneMouseEvent *ev) |
| void | mouseEntered (UIItem *obj, QGraphicsSceneHoverEvent *ev) |
| void | mouseLeaved (UIItem *obj, QGraphicsSceneHoverEvent *ev) |
| void | selectBox (UIItem *box, QGraphicsSceneMouseEvent *event) |
| void | moveBox (UIItem *box, QGraphicsSceneMouseEvent *event) |
Public Member Functions | |
| UIPatchcord (UIItem *_obj1, UIItem *_out1, UIItem *_obj2, UIItem *_in2) | |
| ~UIPatchcord () | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) |
| QPoint | startPoint () |
| QPoint | endPoint () |
| void | setPatchcordType (patchcordTypeEnum v) |
| void | remove () |
| UIObject * | obj1 () |
| UIObject * | obj2 () |
| int | outletIndex () |
| int | inletIndex () |
| bool | isConnectedToObject (UIItem *obj) |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *) |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
| void | mousePressEvent (QGraphicsSceneMouseEvent *) |
| void | setServerPatchcord (ServerPatchcord *p) |
| ServerPatchcord * | serverPatchcord () |
Public Member Functions inherited from tilde::UIItem | |
| UIItem (QGraphicsObject *parent=0) | |
| void | setSize (QSize size) |
| void | setSize (float w, float h) |
| void | setWidth (float w) |
| void | setHeight (float h) |
| void | setMinWidth (float w) |
| void | setMinHeight (float h) |
| float | width () |
| float | height () |
| float | minWidth () |
| float | minHeight () |
| QSize | size () |
| QColor | bgColor () |
| void | setBgColor (QColor bgc) |
| bool | hover () |
| void | setHover (bool h) |
| void | select () |
| void | deselect () |
More... | |
| bool | isSelected () |
More... | |
| virtual void | setEditModeRef (t_editMode *canvasEditModeRef) |
More... | |
| virtual t_editMode * | getEditModeRef () |
| t_editMode | getEditMode () |
More... | |
| QRectF | boundingRect () const |
More... | |
| QPainterPath | shape () const |
| virtual void | move (float x, float y) |
| virtual void | move (QPoint pos) |
| virtual void | move (QPointF pos) |
| void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) |
| virtual void | resizeEvent () |
Additional Inherited Members | |
Public Attributes inherited from tilde::UIItem | |
| QPoint | dragOffset |
Patchcord QGraphicsObject class.
gui representation of Pd patchcord
|
explicit |
| tilde::UIPatchcord::~UIPatchcord | ( | ) |
|
signal |
deletes object and makes new line from obj2 out 'new line'
| QPoint tilde::UIPatchcord::endPoint | ( | ) |
| void tilde::UIPatchcord::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | ) |
| void tilde::UIPatchcord::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | ) |
| int tilde::UIPatchcord::inletIndex | ( | ) |
| bool tilde::UIPatchcord::isConnectedToObject | ( | UIItem * | obj | ) |
| void tilde::UIPatchcord::mousePressEvent | ( | QGraphicsSceneMouseEvent * | ) |
| UIObject * tilde::UIPatchcord::obj1 | ( | ) |
| UIObject * tilde::UIPatchcord::obj2 | ( | ) |
| int tilde::UIPatchcord::outletIndex | ( | ) |
| void tilde::UIPatchcord::paint | ( | QPainter * | painter, |
| const QStyleOptionGraphicsItem * | , | ||
| QWidget * | |||
| ) |
| void tilde::UIPatchcord::remove | ( | ) |
|
signal |
|
inline |
| void tilde::UIPatchcord::setPatchcordType | ( | patchcordTypeEnum | v | ) |
|
inline |
|
signal |
basic select signal - same as in UIObject class
| QPoint tilde::UIPatchcord::startPoint | ( | ) |
1.8.6