Loading isis/src/qisis/objs/ControlHealthMonitorWidget/ControlHealthMonitorWidget.cpp +22 −7 Original line number Diff line number Diff line Loading @@ -68,7 +68,6 @@ namespace Isis { * @param parent (QWidget *) Pointer to parent widget */ ControlHealthMonitorWidget::ControlHealthMonitorWidget(ControlNetVitals *vitals, QWidget *parent) : QWidget(parent) { createGui(); m_vitals = vitals; connect (m_vitals, SIGNAL(networkChanged()), Loading @@ -76,6 +75,7 @@ namespace Isis { update(); } /** * 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 Loading Loading @@ -130,6 +130,7 @@ namespace Isis { viewPointAll(); } void ControlHealthMonitorWidget::broken() { updateStatus(0); m_statusLabel->setText("Broken!"); Loading @@ -149,6 +150,7 @@ namespace Isis { m_statusDetails->setText("This network is healthy."); } /* * This SLOT is designed to update the values in the gui to properly represent * The current state of the Control Network. This SLOT is triggered whenever the Loading Loading @@ -179,6 +181,7 @@ namespace Isis { m_statusBar->setPalette(p); } /** * This method is responsible for creating all of the components that comprise the GUI. */ Loading Loading @@ -274,6 +277,7 @@ namespace Isis { gridLayout->addWidget(tabs); } /** * Initializes all member variables to NULL. * Loading Loading @@ -301,6 +305,7 @@ namespace Isis { m_vitals = NULL; } /* * This method creates the Overview tab. * Loading Loading @@ -354,7 +359,6 @@ namespace Isis { overviewLayout->addWidget(m_historyTable); QWidget *tempWidget = new QWidget; QHBoxLayout *tempLayout = new QHBoxLayout; Loading @@ -375,12 +379,11 @@ namespace Isis { tempWidget->setLayout(tempLayout); overviewLayout->addWidget(tempWidget); overview->setLayout(overviewLayout); return overview; } /* * This method creates the Images tab. * Loading @@ -389,7 +392,6 @@ namespace Isis { QFont fontSmall("Arial", 12); QFont fontMedium("Arial", 14); // This is the parent QWidget for the images tab. QWidget *imagesTab = new QWidget(); QVBoxLayout *imagesLayout = new QVBoxLayout; Loading Loading @@ -430,7 +432,6 @@ namespace Isis { tempLayout->addWidget(button2, 1, 2); temp->setLayout(tempLayout); imagesLayout->addWidget(temp); // Create the table. Loading Loading @@ -463,6 +464,7 @@ namespace Isis { return imagesTab; } /* * This method creates the Points tab. * Loading @@ -471,7 +473,6 @@ namespace Isis { QFont fontSmall("Arial", 12); QFont fontMedium("Arial", 14); QFont searchFont("Seqoe UI Symbol", 12); // This is the main parent widget for the points tab. Loading Loading @@ -594,6 +595,7 @@ namespace Isis { return pointsTab; } /* * This method creates the Graph tab. * Loading Loading @@ -621,6 +623,7 @@ namespace Isis { } /* * This method loads a QList of cube serials into the images table. * Loading @@ -634,6 +637,7 @@ namespace Isis { } } /* * This method loads a QList of ControlPoint* into the points table. * Loading @@ -652,6 +656,7 @@ namespace Isis { } } /* * This SLOT is designed to view all points in the Control Network. * Loading @@ -663,6 +668,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view ignored points in the Control Network. * Loading @@ -674,6 +680,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view free points in the Control Network. * Loading @@ -685,6 +692,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view fixed points in the Control Network. * Loading @@ -696,6 +704,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view constrained points in the Control Network. * Loading @@ -707,6 +716,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view locked points in the Control Network. * Loading @@ -719,6 +729,7 @@ namespace Isis { } /* * This SLOT is designed to view points with less than 3 valid measures in the Control Network. * Loading @@ -730,6 +741,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view all images in the Control Network. * Loading @@ -741,6 +753,7 @@ namespace Isis { " / " + toString(m_vitals->numImages()) + "</sup>"); } /* * This SLOT is designed to view images with less than 3 valid measures in the Control Network. * Loading @@ -752,6 +765,7 @@ namespace Isis { " / " + toString(m_vitals->numImages()) + "</sup>"); } /* * This SLOT is designed to view images below the Convex Hull Tolerance in the Control Network. * Loading @@ -763,6 +777,7 @@ namespace Isis { " / " + toString(m_vitals->numImages()) + "</sup>"); } /** * Destructor */ Loading Loading
isis/src/qisis/objs/ControlHealthMonitorWidget/ControlHealthMonitorWidget.cpp +22 −7 Original line number Diff line number Diff line Loading @@ -68,7 +68,6 @@ namespace Isis { * @param parent (QWidget *) Pointer to parent widget */ ControlHealthMonitorWidget::ControlHealthMonitorWidget(ControlNetVitals *vitals, QWidget *parent) : QWidget(parent) { createGui(); m_vitals = vitals; connect (m_vitals, SIGNAL(networkChanged()), Loading @@ -76,6 +75,7 @@ namespace Isis { update(); } /** * 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 Loading Loading @@ -130,6 +130,7 @@ namespace Isis { viewPointAll(); } void ControlHealthMonitorWidget::broken() { updateStatus(0); m_statusLabel->setText("Broken!"); Loading @@ -149,6 +150,7 @@ namespace Isis { m_statusDetails->setText("This network is healthy."); } /* * This SLOT is designed to update the values in the gui to properly represent * The current state of the Control Network. This SLOT is triggered whenever the Loading Loading @@ -179,6 +181,7 @@ namespace Isis { m_statusBar->setPalette(p); } /** * This method is responsible for creating all of the components that comprise the GUI. */ Loading Loading @@ -274,6 +277,7 @@ namespace Isis { gridLayout->addWidget(tabs); } /** * Initializes all member variables to NULL. * Loading Loading @@ -301,6 +305,7 @@ namespace Isis { m_vitals = NULL; } /* * This method creates the Overview tab. * Loading Loading @@ -354,7 +359,6 @@ namespace Isis { overviewLayout->addWidget(m_historyTable); QWidget *tempWidget = new QWidget; QHBoxLayout *tempLayout = new QHBoxLayout; Loading @@ -375,12 +379,11 @@ namespace Isis { tempWidget->setLayout(tempLayout); overviewLayout->addWidget(tempWidget); overview->setLayout(overviewLayout); return overview; } /* * This method creates the Images tab. * Loading @@ -389,7 +392,6 @@ namespace Isis { QFont fontSmall("Arial", 12); QFont fontMedium("Arial", 14); // This is the parent QWidget for the images tab. QWidget *imagesTab = new QWidget(); QVBoxLayout *imagesLayout = new QVBoxLayout; Loading Loading @@ -430,7 +432,6 @@ namespace Isis { tempLayout->addWidget(button2, 1, 2); temp->setLayout(tempLayout); imagesLayout->addWidget(temp); // Create the table. Loading Loading @@ -463,6 +464,7 @@ namespace Isis { return imagesTab; } /* * This method creates the Points tab. * Loading @@ -471,7 +473,6 @@ namespace Isis { QFont fontSmall("Arial", 12); QFont fontMedium("Arial", 14); QFont searchFont("Seqoe UI Symbol", 12); // This is the main parent widget for the points tab. Loading Loading @@ -594,6 +595,7 @@ namespace Isis { return pointsTab; } /* * This method creates the Graph tab. * Loading Loading @@ -621,6 +623,7 @@ namespace Isis { } /* * This method loads a QList of cube serials into the images table. * Loading @@ -634,6 +637,7 @@ namespace Isis { } } /* * This method loads a QList of ControlPoint* into the points table. * Loading @@ -652,6 +656,7 @@ namespace Isis { } } /* * This SLOT is designed to view all points in the Control Network. * Loading @@ -663,6 +668,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view ignored points in the Control Network. * Loading @@ -674,6 +680,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view free points in the Control Network. * Loading @@ -685,6 +692,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view fixed points in the Control Network. * Loading @@ -696,6 +704,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view constrained points in the Control Network. * Loading @@ -707,6 +716,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view locked points in the Control Network. * Loading @@ -719,6 +729,7 @@ namespace Isis { } /* * This SLOT is designed to view points with less than 3 valid measures in the Control Network. * Loading @@ -730,6 +741,7 @@ namespace Isis { " / " + toString(m_vitals->numPoints()) + "</sup>"); } /* * This SLOT is designed to view all images in the Control Network. * Loading @@ -741,6 +753,7 @@ namespace Isis { " / " + toString(m_vitals->numImages()) + "</sup>"); } /* * This SLOT is designed to view images with less than 3 valid measures in the Control Network. * Loading @@ -752,6 +765,7 @@ namespace Isis { " / " + toString(m_vitals->numImages()) + "</sup>"); } /* * This SLOT is designed to view images below the Convex Hull Tolerance in the Control Network. * Loading @@ -763,6 +777,7 @@ namespace Isis { " / " + toString(m_vitals->numImages()) + "</sup>"); } /** * Destructor */ Loading