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

A label each qtResourceDiagram owns and inserts into the qtDiagram's sidebar. More...

#include <qtResourceDiagramSummary.h>

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

Public Member Functions

 smtkSuperclassMacro (QLabel)
 
 qtResourceDiagramSummary (qtResourceDiagram *scene, QWidget *parent=nullptr)
 
void dataUpdated ()
 Deal with updates to the diagram (e.g., a change in the selection that the label should reflect).
 
bool setSubject (qtBaseNode *subject)
 Set the subject node this node describes.
 
qtResourceDiagramgenerator () const
 Return the diagram-generator this summary widget belongs to.
 
qtDiagramdiagram () const
 Return the diagram this summary widget belongs to.
 

Protected Member Functions

QString describe (qtBaseNode *node)
 Produce an HTML snippet describing a node.
 

Protected Attributes

QPointer< qtResourceDiagramm_generator
 The parent qtResourceDiagram.
 
QPointer< qtBaseNodem_subject
 The node which qtResourceDiagramSummary should show information about.
 

Detailed Description

A label each qtResourceDiagram owns and inserts into the qtDiagram's sidebar.

The label is used to show the name and type of nodes as the user hovers the pointer over them.


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