Loading isis/src/qisis/objs/ControlHealthMonitorWidget/ControlHealthMonitorWidget.cpp +1 −42 Original line number Diff line number Diff line Loading @@ -149,26 +149,6 @@ namespace Isis { } void ControlHealthMonitorWidget::broken() { updateStatus(0); m_statusLabel->setText("Broken!"); m_statusDetails->setText("This network has more than one island."); } void ControlHealthMonitorWidget::weak() { updateStatus(1); m_statusLabel->setText("Weak!"); m_statusDetails->setText("This network has " + toString(m_vitals->numPointsBelowMeasureThreshold()) + " points " + "with less than 3 measures."); } void ControlHealthMonitorWidget::healthy() { updateStatus(2); m_statusLabel->setText("Healthy!"); 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 @@ -362,7 +342,6 @@ namespace Isis { headers.append("New Value"); headers.append("Timestamp"); m_historyTable = new QTableWidget(); m_historyTable->setColumnCount(5); m_historyTable->setHorizontalHeaderLabels(headers); Loading @@ -375,28 +354,8 @@ namespace Isis { m_historyTable->setGeometry(QApplication::desktop()->screenGeometry()); overviewLayout->addWidget(m_historyTable); QWidget *tempWidget = new QWidget; QHBoxLayout *tempLayout = new QHBoxLayout; tempLayout->setSpacing(15); QPushButton *broken = new QPushButton("Broken"); QPushButton *weak = new QPushButton("Weak"); QPushButton *healthy = new QPushButton("Healthy"); connect (broken, SIGNAL(clicked()), this, SLOT(broken())); connect (weak, SIGNAL(clicked()), this, SLOT(weak())); connect (healthy, SIGNAL(clicked()), this, SLOT(healthy())); tempLayout->addWidget(broken); tempLayout->addWidget(weak); tempLayout->addWidget(healthy); tempWidget->setLayout(tempLayout); overviewLayout->addWidget(tempWidget); overview->setLayout(overviewLayout); return overview; } Loading isis/src/qisis/objs/ControlHealthMonitorWidget/ControlHealthMonitorWidget.h +0 −4 Original line number Diff line number Diff line Loading @@ -76,10 +76,6 @@ namespace Isis { void viewImageFewMeasures(); void viewImageHullTolerance(); void broken(); void weak(); void healthy(); void update(); signals: Loading Loading
isis/src/qisis/objs/ControlHealthMonitorWidget/ControlHealthMonitorWidget.cpp +1 −42 Original line number Diff line number Diff line Loading @@ -149,26 +149,6 @@ namespace Isis { } void ControlHealthMonitorWidget::broken() { updateStatus(0); m_statusLabel->setText("Broken!"); m_statusDetails->setText("This network has more than one island."); } void ControlHealthMonitorWidget::weak() { updateStatus(1); m_statusLabel->setText("Weak!"); m_statusDetails->setText("This network has " + toString(m_vitals->numPointsBelowMeasureThreshold()) + " points " + "with less than 3 measures."); } void ControlHealthMonitorWidget::healthy() { updateStatus(2); m_statusLabel->setText("Healthy!"); 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 @@ -362,7 +342,6 @@ namespace Isis { headers.append("New Value"); headers.append("Timestamp"); m_historyTable = new QTableWidget(); m_historyTable->setColumnCount(5); m_historyTable->setHorizontalHeaderLabels(headers); Loading @@ -375,28 +354,8 @@ namespace Isis { m_historyTable->setGeometry(QApplication::desktop()->screenGeometry()); overviewLayout->addWidget(m_historyTable); QWidget *tempWidget = new QWidget; QHBoxLayout *tempLayout = new QHBoxLayout; tempLayout->setSpacing(15); QPushButton *broken = new QPushButton("Broken"); QPushButton *weak = new QPushButton("Weak"); QPushButton *healthy = new QPushButton("Healthy"); connect (broken, SIGNAL(clicked()), this, SLOT(broken())); connect (weak, SIGNAL(clicked()), this, SLOT(weak())); connect (healthy, SIGNAL(clicked()), this, SLOT(healthy())); tempLayout->addWidget(broken); tempLayout->addWidget(weak); tempLayout->addWidget(healthy); tempWidget->setLayout(tempLayout); overviewLayout->addWidget(tempWidget); overview->setLayout(overviewLayout); return overview; } Loading
isis/src/qisis/objs/ControlHealthMonitorWidget/ControlHealthMonitorWidget.h +0 −4 Original line number Diff line number Diff line Loading @@ -76,10 +76,6 @@ namespace Isis { void viewImageFewMeasures(); void viewImageHullTolerance(); void broken(); void weak(); void healthy(); void update(); signals: Loading