Isis 3 Programmer Reference
Isis::ControlHealthMonitorWidget Class Reference

Interface that allows real-time evaluation of the state of a Control Network. More...

#include <ControlHealthMonitorWidget.h>

Inheritance diagram for Isis::ControlHealthMonitorWidget:
Inheritance graph
Collaboration diagram for Isis::ControlHealthMonitorWidget:
Collaboration graph

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

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.
 
 ~ControlHealthMonitorWidget ()
 Destructor.
 
void createGui ()
 This method is responsible for creating all of the components that comprise the GUI.
 
QWidgetcreateImagesTab ()
 
QWidgetcreatePointsTab ()
 
QWidgetcreateOverviewTab ()
 
QWidgetcreateGraphTab ()
 
void setVitals (ControlNetVitals *vitals)
 
void initializeEverything ()
 Initializes all member variables to NULL.
 

Private Member Functions

void updateStatus (int code)
 
void updateImageTable (QList< QString > serials)
 
void updatePointTable (QList< ControlPoint * > points)
 

Private Attributes

ControlNetVitalsm_vitals
 
QProgressBarm_statusBar
 
QProgressBarm_pointsFreeProgressbar
 
QProgressBarm_pointsConstrainedProgressbar
 
QProgressBarm_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
 

Detailed Description

Interface that allows real-time evaluation of the state of a Control Network.

Author
2018-05-28 Adam Goins
History
2018-05-28 Adam Goins - Initial Creation.

Definition at line 29 of file ControlHealthMonitorWidget.h.

Constructor & Destructor Documentation

◆ ControlHealthMonitorWidget()

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.

Parameters
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().

◆ ~ControlHealthMonitorWidget()

Isis::ControlHealthMonitorWidget::~ControlHealthMonitorWidget ( )

Destructor.

Definition at line 847 of file ControlHealthMonitorWidget.cpp.

Member Function Documentation

◆ createGraphTab()

QWidget * Isis::ControlHealthMonitorWidget::createGraphTab ( )

Definition at line 666 of file ControlHealthMonitorWidget.cpp.

◆ createGui()

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

◆ createImagesTab()

QWidget * Isis::ControlHealthMonitorWidget::createImagesTab ( )

Definition at line 353 of file ControlHealthMonitorWidget.cpp.

◆ createOverviewTab()

QWidget * Isis::ControlHealthMonitorWidget::createOverviewTab ( )

Definition at line 293 of file ControlHealthMonitorWidget.cpp.

◆ createPointsTab()

QWidget * Isis::ControlHealthMonitorWidget::createPointsTab ( )

Definition at line 449 of file ControlHealthMonitorWidget.cpp.

◆ emitOpenImageEditor

void Isis::ControlHealthMonitorWidget::emitOpenImageEditor ( )
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.

◆ emitOpenPointEditor

void Isis::ControlHealthMonitorWidget::emitOpenPointEditor ( )
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().

◆ historyEntry

void Isis::ControlHealthMonitorWidget::historyEntry ( QString entry,
QString id,
QVariant oldValue,
QVariant newValue,
QString timeStamp )
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.

Parameters
entryThe history comment to be displayed.
idThe id of the Control Point, Measure, or Network that was modified.
oldValueThe old value before the modification was made.
newValueThe new value after the modification was made.
timeStampThe timestamp of when the modification was made.

Definition at line 647 of file ControlHealthMonitorWidget.cpp.

Referenced by ControlHealthMonitorWidget().

◆ initializeEverything()

void Isis::ControlHealthMonitorWidget::initializeEverything ( )

Initializes all member variables to NULL.

Definition at line 266 of file ControlHealthMonitorWidget.cpp.

Referenced by createGui().

◆ update

◆ updateImageTable()

void Isis::ControlHealthMonitorWidget::updateImageTable ( QList< QString > serials)
private

Definition at line 694 of file ControlHealthMonitorWidget.cpp.

◆ updatePointTable()

void Isis::ControlHealthMonitorWidget::updatePointTable ( QList< ControlPoint * > points)
private

Definition at line 708 of file ControlHealthMonitorWidget.cpp.

◆ updateStatus()

void Isis::ControlHealthMonitorWidget::updateStatus ( int code)
private

Definition at line 149 of file ControlHealthMonitorWidget.cpp.

◆ viewImageAll

void Isis::ControlHealthMonitorWidget::viewImageAll ( )
slot

Definition at line 812 of file ControlHealthMonitorWidget.cpp.

◆ viewImageFewMeasures

void Isis::ControlHealthMonitorWidget::viewImageFewMeasures ( )
slot

Definition at line 824 of file ControlHealthMonitorWidget.cpp.

◆ viewImageHullTolerance

void Isis::ControlHealthMonitorWidget::viewImageHullTolerance ( )
slot

Definition at line 836 of file ControlHealthMonitorWidget.cpp.

◆ viewPointAll

void Isis::ControlHealthMonitorWidget::viewPointAll ( )
slot

Definition at line 727 of file ControlHealthMonitorWidget.cpp.

◆ viewPointConstrained

void Isis::ControlHealthMonitorWidget::viewPointConstrained ( )
slot

Definition at line 775 of file ControlHealthMonitorWidget.cpp.

◆ viewPointEditLocked

void Isis::ControlHealthMonitorWidget::viewPointEditLocked ( )
slot

Definition at line 787 of file ControlHealthMonitorWidget.cpp.

◆ viewPointFewMeasures

void Isis::ControlHealthMonitorWidget::viewPointFewMeasures ( )
slot

Definition at line 800 of file ControlHealthMonitorWidget.cpp.

◆ viewPointFixed

void Isis::ControlHealthMonitorWidget::viewPointFixed ( )
slot

Definition at line 763 of file ControlHealthMonitorWidget.cpp.

◆ viewPointFree

void Isis::ControlHealthMonitorWidget::viewPointFree ( )
slot

Definition at line 751 of file ControlHealthMonitorWidget.cpp.

◆ viewPointIgnored

void Isis::ControlHealthMonitorWidget::viewPointIgnored ( )
slot

Definition at line 739 of file ControlHealthMonitorWidget.cpp.

Member Data Documentation

◆ m_historyTable

QTableWidget* Isis::ControlHealthMonitorWidget::m_historyTable
private

Definition at line 84 of file ControlHealthMonitorWidget.h.

◆ m_imagesHullValue

QLabel* Isis::ControlHealthMonitorWidget::m_imagesHullValue
private

Definition at line 88 of file ControlHealthMonitorWidget.h.

◆ m_imagesMeasuresValue

QLabel* Isis::ControlHealthMonitorWidget::m_imagesMeasuresValue
private

Definition at line 89 of file ControlHealthMonitorWidget.h.

◆ m_imagesShowingLabel

QLabel* Isis::ControlHealthMonitorWidget::m_imagesShowingLabel
private

Definition at line 90 of file ControlHealthMonitorWidget.h.

◆ m_imagesTable

QTableWidget* Isis::ControlHealthMonitorWidget::m_imagesTable
private

Definition at line 85 of file ControlHealthMonitorWidget.h.

◆ m_lastModLabel

QLabel* Isis::ControlHealthMonitorWidget::m_lastModLabel
private

Definition at line 91 of file ControlHealthMonitorWidget.h.

◆ m_netLabel

QLabel* Isis::ControlHealthMonitorWidget::m_netLabel
private

Definition at line 92 of file ControlHealthMonitorWidget.h.

◆ m_numImagesLabel

QLabel* Isis::ControlHealthMonitorWidget::m_numImagesLabel
private

Definition at line 93 of file ControlHealthMonitorWidget.h.

◆ m_numMeasuresLabel

QLabel* Isis::ControlHealthMonitorWidget::m_numMeasuresLabel
private

Definition at line 94 of file ControlHealthMonitorWidget.h.

◆ m_numPointsLabel

QLabel* Isis::ControlHealthMonitorWidget::m_numPointsLabel
private

Definition at line 95 of file ControlHealthMonitorWidget.h.

◆ m_pointsConstrainedLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsConstrainedLabel
private

Definition at line 96 of file ControlHealthMonitorWidget.h.

◆ m_pointsConstrainedProgressbar

QProgressBar* Isis::ControlHealthMonitorWidget::m_pointsConstrainedProgressbar
private

Definition at line 80 of file ControlHealthMonitorWidget.h.

◆ m_pointsEditLockedLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsEditLockedLabel
private

Definition at line 97 of file ControlHealthMonitorWidget.h.

◆ m_pointsFewMeasuresLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsFewMeasuresLabel
private

Definition at line 98 of file ControlHealthMonitorWidget.h.

◆ m_pointsFixedLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsFixedLabel
private

Definition at line 99 of file ControlHealthMonitorWidget.h.

◆ m_pointsFixedProgressbar

QProgressBar* Isis::ControlHealthMonitorWidget::m_pointsFixedProgressbar
private

Definition at line 81 of file ControlHealthMonitorWidget.h.

◆ m_pointsFreeLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsFreeLabel
private

Definition at line 100 of file ControlHealthMonitorWidget.h.

◆ m_pointsFreeProgressbar

QProgressBar* Isis::ControlHealthMonitorWidget::m_pointsFreeProgressbar
private

Definition at line 79 of file ControlHealthMonitorWidget.h.

◆ m_pointsIgnoredLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsIgnoredLabel
private

Definition at line 101 of file ControlHealthMonitorWidget.h.

◆ m_pointsShowingLabel

QLabel* Isis::ControlHealthMonitorWidget::m_pointsShowingLabel
private

Definition at line 102 of file ControlHealthMonitorWidget.h.

◆ m_pointsTable

QTableWidget* Isis::ControlHealthMonitorWidget::m_pointsTable
private

Definition at line 86 of file ControlHealthMonitorWidget.h.

◆ m_statusBar

QProgressBar* Isis::ControlHealthMonitorWidget::m_statusBar
private

Definition at line 78 of file ControlHealthMonitorWidget.h.

◆ m_statusDetails

QLabel* Isis::ControlHealthMonitorWidget::m_statusDetails
private

Definition at line 103 of file ControlHealthMonitorWidget.h.

◆ m_statusLabel

QLabel* Isis::ControlHealthMonitorWidget::m_statusLabel
private

Definition at line 104 of file ControlHealthMonitorWidget.h.

◆ m_vitals

ControlNetVitals* Isis::ControlHealthMonitorWidget::m_vitals
private

Definition at line 77 of file ControlHealthMonitorWidget.h.


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