tilde~
Puredata Qt-based GUI
|
gui object: standard object box More...
#include <UIBox.h>
Public Slots | |
void | propertyEmbed () |
Public Slots inherited from tilde::UIObject | |
void | slotResizeDeselectedBox (int dx, int dy) |
void | slotRepaint () |
>deprecated More... | |
Signals | |
void | mouseMoved () |
void | rightClicked () |
Signals inherited from tilde::UIObject | |
void | signalEditObject (void *box) |
More... | |
void | signalCallRepaint () |
this is needed for proper threading More... | |
void | signalSendMessage (ObjectId obj, QString msg) |
void | signalOpenPropertiesWindow () |
void | signalOpenHelpWindow () |
void | signalObjectHoverEnter () |
void | signalObjectHoverLeave () |
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 | |
UIBox () | |
PatchWindowController * | subpatchController () |
virtual void | setSubpatchController (PatchWindowController *cwindow) |
virtual void | paint (QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *) |
More... | |
void | objectPressEvent (QGraphicsSceneMouseEvent *event) |
mouse down More... | |
void | objectMoveEvent (QGraphicsSceneMouseEvent *event) |
More... | |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *ev) |
More... | |
void | fromQString (QString message) |
More... | |
void | sync () |
virtual string | asPdFileString () |
More... | |
virtual void | autoResize () |
More... | |
Public Member Functions inherited from tilde::UIObject | |
UIObject (UIItem *parent=0) | |
CanvasView * | parentCanvasView () |
virtual void | setParentCanvasView (CanvasView *v) |
PatchWindowController * | parentController () |
void | setParentController (PatchWindowController *p) |
void | setObjectData (UIObjectData *m) |
UIObjectData * | objectData () |
virtual ObjectId | serverObjectId () |
virtual void | setServerObjectId (ObjectId o) |
ObjectObserverPtr | observer () |
virtual void | initProperties () |
PropertyList * | properties () |
>init properties for the class - called from constructor More... | |
QString | toQString () |
More... | |
QString | objectClass () |
More... | |
void | createPopupMenu () |
void | showPopupMenu (QPoint pos) |
More... | |
void | doSetSize (QSize size) |
virtual void | resizeEvent () |
void | setEditModeRef (t_editMode *canvasEditMode) |
>returns object's text for client-based file saving More... | |
SizeBox * | sizeBox () |
void | hideSizeBox () |
bool | errorBox () |
void | setErrorBox (bool val) |
More... | |
void | setHelpName (QString name) |
More... | |
QString | fullHelpName () |
More... | |
virtual void | setInletsPos () |
More... | |
virtual void | setOutletsPos () |
More... | |
virtual void | addInlet () |
More... | |
virtual void | addInlet (int _portClass_) |
More... | |
virtual void | addOutlet () |
virtual void | addOutlet (int _portClass_) |
More... | |
Port * | inletAt (int idx) |
Port * | outletAt (int idx) |
More... | |
int | inletCount () |
More... | |
int | outletCount () |
int | pdInletClass (int idx) |
int | pdOutletClass (int idx) |
More... | |
void | removeXLets () |
More... | |
virtual void | objectReleaseEvent (QGraphicsSceneMouseEvent *) |
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
virtual void | updateUI (t_cpd_list *) |
PdObject * | serverObjectPtr () |
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 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 *) |
Static Public Member Functions | |
static UIObject * | createObj (QString data) |
Additional Inherited Members | |
Public Attributes inherited from tilde::UIItem | |
QPoint | dragOffset |
Protected Member Functions inherited from tilde::UIObject | |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *) |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
gui object: standard object box
|
explicit |
|
virtual |
call this after setting object data
Reimplemented from tilde::UIObject.
|
virtual |
custom resize event
Reimplemented from tilde::UIObject.
|
static |
|
virtual |
|
signal |
|
virtual |
object mouse move
mouse up
Reimplemented from tilde::UIObject.
Reimplemented in tilde::UIClass, and tilde::UIMethod.
|
virtual |
|
virtual |
|
virtual |
UIObject properties
Reimplemented from tilde::UIObject.
Reimplemented in tilde::UIClass, tilde::UIScriptBox, tilde::UIMethod, tilde::UIArray, and tilde::UIScript.
|
slot |
|
signal |
|
inlinevirtual |
|
inline |
|
virtual |
Reimplemented from tilde::UIObject.
Reimplemented in tilde::UIScriptBox, and tilde::UIScript.