13 class ServerPatchcord;
47 ServerPatchcord* _serverPatchcord;
53 void paint(QPainter* painter,
const QStyleOptionGraphicsItem*, QWidget*);
88 #endif // CM_PATCHCORD_H
patchcordTypeEnum
patchcord type - message / signal, can be extended later
Definition: UIPatchcord.h:29
QPoint endPoint()
Definition: UIPatchcord.cpp:108
void hoverLeaveEvent(QGraphicsSceneHoverEvent *)
Definition: UIPatchcord.cpp:167
Definition: UIPatchcord.h:29
void mousePressEvent(QGraphicsSceneMouseEvent *)
Definition: UIPatchcord.cpp:173
void hoverEnterEvent(QGraphicsSceneHoverEvent *)
Definition: UIPatchcord.cpp:160
UIItem QGraphicsObject class.
Definition: UIItem.h:15
void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
Definition: UIPatchcord.cpp:37
Patchcord QGraphicsObject class.
Definition: UIPatchcord.h:36
int out1
Definition: UIPatchcord.h:23
int in2
Definition: UIPatchcord.h:24
UIPatchcord(UIItem *_obj1, UIItem *_out1, UIItem *_obj2, UIItem *_in2)
Definition: UIPatchcord.cpp:9
bool isConnectedToObject(UIItem *obj)
Definition: UIPatchcord.cpp:155
~UIPatchcord()
Definition: UIPatchcord.cpp:27
void altClicked()
deletes object and makes new line from obj2 out 'new line'
QPoint startPoint()
Definition: UIPatchcord.cpp:94
patchcord as numbers
Definition: UIPatchcord.h:20
UIObject * obj2()
Definition: UIPatchcord.cpp:141
Definition: UIPatchcord.h:30
int outletIndex()
Definition: UIPatchcord.cpp:146
int obj1
Definition: UIPatchcord.h:21
ServerPatchcord * serverPatchcord()
Definition: UIPatchcord.h:77
void setServerPatchcord(ServerPatchcord *p)
Definition: UIPatchcord.h:76
Definition: UIObject.h:44
void setPatchcordType(patchcordTypeEnum v)
Definition: UIPatchcord.cpp:125
struct tilde::_patchcordAsNumbers t_patchcordAsNumbers
patchcord as numbers
int inletIndex()
Definition: UIPatchcord.cpp:150
int obj2
Definition: UIPatchcord.h:22
UIObject * obj1()
Definition: UIPatchcord.cpp:137
void shiftClicked()
basic select signal - same as in UIObject class