|
| smtkSuperclassMacro (qtBaseTaskNode) |
|
| smtkTypeMacro (smtk::extension::qtDefaultTaskNode) |
|
| qtDefaultTaskNode (qtDiagramGenerator *generator, smtk::task::Task *task, QGraphicsItem *parent=nullptr) |
|
void | setContentStyle (ContentStyle cs) override |
| Set how much data the node should render inside its boundary.
|
|
void | setOutlineStyle (OutlineStyle cs) override |
| Set how the node's boundary should be rendered.
|
|
QRectF | boundingRect () const override |
| Get the bounding box of the node, which includes the border width and the label.
|
|
void | updateTaskState (smtk::task::State prev, smtk::task::State next, bool active) override |
| Deals with state updates.
|
|
void | dataUpdated () override |
| Handle renames, etc.
|
|
bool | setupContextMenu (QMenu *) override |
| Setup a context menu for this type of node.
|
|
| smtkSuperclassMacro (qtBaseObjectNode) |
|
| smtkTypeMacro (smtk::extension::qtBaseTaskNode) |
|
| qtBaseTaskNode (qtDiagramGenerator *generator, smtk::task::Task *task, QGraphicsItem *parent=nullptr) |
|
smtk::common::UUID | nodeId () const override |
| Return the task's UUID as the node's UUID.
|
|
smtk::resource::PersistentObject * | object () const override |
| Return the task as this node's persistent object.
|
|
smtk::task::Task * | task () const |
| Return the task this node represents.
|
|
OutlineStyle | outlineStyle () const |
|
bool | isActive () const |
| Return true if the task is currently active (i.e., being worked on by the user).
|
|
virtual void | updateToMatchModifiedTask () |
| Deal with task updates (e.g., name or other configuration change). More...
|
|
| smtkSuperclassMacro (qtBaseNode) |
|
| smtkTypeMacro (smtk::extension::qtBaseObjectNode) |
|
| qtBaseObjectNode (qtDiagramGenerator *generator, smtk::resource::PersistentObject *obj, QGraphicsItem *parent=nullptr) |
|
std::string | name () const override |
| Return the object's name as the node's name.
|
|
| smtkSuperclassMacro (QGraphicsItem) |
|
| smtkTypeMacroBase (smtk::extension::qtBaseNode) |
|
| qtBaseNode (qtDiagramGenerator *scene, QGraphicsItem *parent=nullptr) |
|
QRectF | boundingRect () const override |
| Return a dummy bounding-rect. More...
|
|
qtDiagramGenerator * | generator () const |
| Return the generator responsible for this node.
|
|
qtDiagram * | diagram () const |
| Return the diagram which owns the generator of this node.
|
|
qtDiagramScene * | scene () const |
| Return the scene this node belongs to.
|
|
ContentStyle | contentStyle () const |
|
A implementation of a qtBaseTaskNode.