SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A label each qtResourceDiagram owns and inserts into the qtDiagram's sidebar. More...
#include <qtResourceDiagramSummary.h>
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. | |
qtResourceDiagram * | generator () const |
Return the diagram-generator this summary widget belongs to. | |
qtDiagram * | diagram () 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< qtResourceDiagram > | m_generator |
The parent qtResourceDiagram. | |
QPointer< qtBaseNode > | m_subject |
The node which qtResourceDiagramSummary should show information about. | |
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.