SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
This graphics item allows the user to mark the task as completed using a check-box approach - when inside this item the cursor will be a normal arrow. More...
Public Member Functions | |
qtTaskCompletionCheckBoxItem (double size, qtTaskNode *node, QGraphicsItem *parent) | |
QRectF | boundingRect () const override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
This graphics item allows the user to mark the task as completed using a check-box approach - when inside this item the cursor will be a normal arrow.
Note that the requested size should be greater than 2!