|
tilde~
Puredata Qt-based GUI
|
#include <Grid.h>
Public Member Functions | |
| Grid () | |
| void | setGridStep (int gs) |
| int | gridStep () |
| void | paint (QPainter *p, const QStyleOptionGraphicsItem *, QWidget *) |
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 | |
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 |
Grid for the canvas.
| tilde::Grid::Grid | ( | ) |
|
inline |
| void tilde::Grid::paint | ( | QPainter * | p, |
| const QStyleOptionGraphicsItem * | , | ||
| QWidget * | |||
| ) |
|
inline |
1.8.6