Isis 3 Programmer Reference
|
Interface that allows real-time evaluation of the state of a Control Network. More...
#include <ControlHealthMonitorWidget.h>
Public Slots | |
void | emitOpenImageEditor () |
This method is designed to be called whenever a user double-clicks on an image in the image table of the images tab. More... | |
void | emitOpenPointEditor () |
This method is designed to be called whenever a user double-clicks on a point in the point table of the points tab. More... | |
void | historyEntry (QString, QString, QVariant, QVariant, QString) |
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class whenever a modification is made to the network. More... | |
void | viewPointAll () |
void | viewPointFree () |
void | viewPointFixed () |
void | viewPointConstrained () |
void | viewPointIgnored () |
void | viewPointEditLocked () |
void | viewPointFewMeasures () |
void | viewImageAll () |
void | viewImageFewMeasures () |
void | viewImageHullTolerance () |
void | update () |
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals object. More... | |
Signals | |
void | openPointEditor (ControlPoint *point) |
void | openImageEditor (QList< QString > serials) |
Public Member Functions | |
ControlHealthMonitorWidget (ControlNetVitals *vitals, QWidget *parent=0) | |
This class is the front end representation of a ControlNetVitals object. More... | |
~ControlHealthMonitorWidget () | |
Destructor. More... | |
void | createGui () |
This method is responsible for creating all of the components that comprise the GUI. More... | |
QWidget * | createImagesTab () |
QWidget * | createPointsTab () |
QWidget * | createOverviewTab () |
QWidget * | createGraphTab () |
void | setVitals (ControlNetVitals *vitals) |
void | initializeEverything () |
Initializes all member variables to NULL. More... | |
Private Member Functions | |
void | updateStatus (int code) |
void | updateImageTable (QList< QString > serials) |
void | updatePointTable (QList< ControlPoint * > points) |
Private Attributes | |
ControlNetVitals * | m_vitals |
QProgressBar * | m_statusBar |
QProgressBar * | m_pointsFreeProgressbar |
QProgressBar * | m_pointsConstrainedProgressbar |
QProgressBar * | m_pointsFixedProgressbar |
QTableWidget * | m_historyTable |
QTableWidget * | m_imagesTable |
QTableWidget * | m_pointsTable |
QLabel * | m_imagesHullValue |
QLabel * | m_imagesMeasuresValue |
QLabel * | m_imagesShowingLabel |
QLabel * | m_lastModLabel |
QLabel * | m_netLabel |
QLabel * | m_numImagesLabel |
QLabel * | m_numMeasuresLabel |
QLabel * | m_numPointsLabel |
QLabel * | m_pointsConstrainedLabel |
QLabel * | m_pointsEditLockedLabel |
QLabel * | m_pointsFewMeasuresLabel |
QLabel * | m_pointsFixedLabel |
QLabel * | m_pointsFreeLabel |
QLabel * | m_pointsIgnoredLabel |
QLabel * | m_pointsShowingLabel |
QLabel * | m_statusDetails |
QLabel * | m_statusLabel |
Interface that allows real-time evaluation of the state of a Control Network.
Definition at line 29 of file ControlHealthMonitorWidget.h.
Isis::ControlHealthMonitorWidget::ControlHealthMonitorWidget | ( | ControlNetVitals * | vitals, |
QWidget * | parent = 0 |
||
) |
This class is the front end representation of a ControlNetVitals object.
It will accept a ControlNetVitals object upon initialization and reflects the current real-time status of the embedded ControlNet in the ControlNetVitals object.
vitals | (ControlNetVitals *) The ControlNetVitals object that contains the ControlNet. |
parent | (QWidget *) Pointer to parent widget |
Definition at line 50 of file ControlHealthMonitorWidget.cpp.
References createGui(), historyEntry(), and update().
Isis::ControlHealthMonitorWidget::~ControlHealthMonitorWidget | ( | ) |
Destructor.
Definition at line 847 of file ControlHealthMonitorWidget.cpp.
void Isis::ControlHealthMonitorWidget::createGui | ( | ) |
This method is responsible for creating all of the components that comprise the GUI.
Definition at line 172 of file ControlHealthMonitorWidget.cpp.
References initializeEverything().
Referenced by ControlHealthMonitorWidget().
|
slot |
This method is designed to be called whenever a user double-clicks on an image in the image table of the images tab.
It will grab the selected images and emit the openImageEditor() signal, emitting with it the images that were selected.
The openImageEditor() signal is intercepted by the ControlHealthMonitorView and opens the CubeDnView with the images selected.
Definition at line 609 of file ControlHealthMonitorWidget.cpp.
|
slot |
This method is designed to be called whenever a user double-clicks on a point in the point table of the points tab.
It will grab the selected point and emit the openPointEditor() signal, emitting with it the point that was selected.
The openPointEditor() signal is intercepted by the ControlHealthMonitorView and opens the ControlPointEditWidget with that point selected.
Definition at line 627 of file ControlHealthMonitorWidget.cpp.
References Isis::ControlNetVitals::getPoint().
|
slot |
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class whenever a modification is made to the network.
The signal emits several details pertaining to the history entry.
entry | The history comment to be displayed. |
id | The id of the Control Point, Measure, or Network that was modified. |
oldValue | The old value before the modification was made. |
newValue | The new value after the modification was made. |
timeStamp | The timestamp of when the modification was made. |
Definition at line 647 of file ControlHealthMonitorWidget.cpp.
Referenced by ControlHealthMonitorWidget().
void Isis::ControlHealthMonitorWidget::initializeEverything | ( | ) |
Initializes all member variables to NULL.
Definition at line 266 of file ControlHealthMonitorWidget.cpp.
Referenced by createGui().
|
slot |
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals object.
Changes are detected via the networkChanged() signal which is emitted from the ControlNetVitals object which is triggered whenever networkStructureModified() is emitted from the embedded ControlNet.
Definition at line 70 of file ControlHealthMonitorWidget.cpp.
References Isis::ControlNetVitals::getNetworkId(), Isis::ControlNetVitals::getStatus(), Isis::ControlNetVitals::getStatusDetails(), Isis::ControlNetVitals::numConstrainedPoints(), Isis::ControlNetVitals::numFixedPoints(), Isis::ControlNetVitals::numFreePoints(), Isis::ControlNetVitals::numIgnoredPoints(), Isis::ControlNetVitals::numImages(), Isis::ControlNetVitals::numImagesBelowHullTolerance(), Isis::ControlNetVitals::numImagesBelowMeasureThreshold(), Isis::ControlNetVitals::numLockedPoints(), Isis::ControlNetVitals::numMeasures(), Isis::ControlNetVitals::numPoints(), Isis::ControlNetVitals::numPointsBelowMeasureThreshold(), and Isis::toString().
Referenced by ControlHealthMonitorWidget().