SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::extension::qtTaskCompletionCheckBoxItem Class Reference

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...

Inheritance diagram for smtk::extension::qtTaskCompletionCheckBoxItem:
[legend]
Collaboration diagram for smtk::extension::qtTaskCompletionCheckBoxItem:
[legend]

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
 

Detailed Description

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!


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