tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Signals | Public Member Functions | List of all members
tilde::SizeBox Class Reference

SizeBox QGraphicsObject class. More...

#include <SizeBox.h>

Inheritance diagram for tilde::SizeBox:
tilde::UIItem

Signals

void resizeBoxEvent (int dx, int dy)
 
- 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

 SizeBox (UIItem *parent=0)
 
void paint (QPainter *p, const QStyleOptionGraphicsItem *, QWidget *)
 
void mousePressEvent (QGraphicsSceneMouseEvent *ev)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *ev)
 
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *ev)
 
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *ev)
 
- 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 ()
 

select object

More...
 
bool isSelected ()
 

deselect object

More...
 
virtual void setEditModeRef (t_editMode *canvasEditModeRef)
 

get object's selected flag

More...
 
virtual t_editModegetEditModeRef ()
 
t_editMode getEditMode ()
 

get edit mode pointer - for inlets/outlets

More...
 
QRectF boundingRect () const
 

get edit mode flag value

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
 

Detailed Description

SizeBox QGraphicsObject class.

resize widget for all object boxes in the patch

Constructor & Destructor Documentation

tilde::SizeBox::SizeBox ( UIItem parent = 0)
explicit

Member Function Documentation

void tilde::SizeBox::hoverEnterEvent ( QGraphicsSceneHoverEvent *  ev)
virtual
void tilde::SizeBox::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  ev)
virtual
void tilde::SizeBox::mouseMoveEvent ( QGraphicsSceneMouseEvent *  ev)
void tilde::SizeBox::mousePressEvent ( QGraphicsSceneMouseEvent *  ev)
void tilde::SizeBox::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
void tilde::SizeBox::paint ( QPainter *  p,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
void tilde::SizeBox::resizeBoxEvent ( int  dx,
int  dy 
)
signal

The documentation for this class was generated from the following files: