tilde~
Puredata Qt-based GUI
|
gui object: slider (ui.slider) More...
#include <UISlider.h>
Public Member Functions | |
UISlider () | |
virtual void | paint (QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *) |
More... | |
void | mousePressEvent (QGraphicsSceneMouseEvent *ev) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *) |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
void | setPdMessage (QString message) |
void | updateUI (t_cpd_list *msg) |
void | resizeEvent () |
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 () |
PropertyList * | properties () |
>init properties for the class - called from constructor More... | |
virtual void | fromQString (QString objData) |
More... | |
QString | toQString () |
More... | |
QString | objectClass () |
More... | |
void | createPopupMenu () |
void | showPopupMenu (QPoint pos) |
More... | |
void | doSetSize (QSize size) |
virtual void | autoResize () |
More... | |
virtual std::string | asPdFileString () |
More... | |
void | setEditModeRef (t_editMode *canvasEditMode) |
>returns object's text for client-based file saving More... | |
SizeBox * | sizeBox () |
void | hideSizeBox () |
virtual void | sync () |
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 | objectPressEvent (QGraphicsSceneMouseEvent *) |
virtual void | objectMoveEvent (QGraphicsSceneMouseEvent *) |
virtual void | objectReleaseEvent (QGraphicsSceneMouseEvent *) |
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 Slots inherited from tilde::UIObject | |
void | slotResizeDeselectedBox (int dx, int dy) |
void | slotRepaint () |
>deprecated More... | |
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 Attributes inherited from tilde::UIItem | |
QPoint | dragOffset |
Protected Member Functions inherited from tilde::UIObject | |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *) |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
gui object: slider (ui.slider)
|
explicit |
|
static |
|
virtual |
Reimplemented from tilde::UIObject.
|
virtual |
Reimplemented from tilde::UIObject.
|
virtual |
Reimplemented from tilde::UIObject.
|
virtual |
UIObject properties
Reimplemented from tilde::UIObject.
|
virtual |
Reimplemented from tilde::UIObject.
void tilde::UISlider::setPdMessage | ( | QString | message | ) |
|
virtual |
Reimplemented from tilde::UIObject.