Commit 7577a59a authored by Adam Goins's avatar Adam Goins
Browse files

Removed dummy methods in ControlHealthMonitorWidget

parent 7edbb84a
Loading
Loading
Loading
Loading
+1 −42
Original line number Diff line number Diff line
@@ -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
@@ -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);
@@ -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;
  }

+0 −4
Original line number Diff line number Diff line
@@ -76,10 +76,6 @@ namespace Isis {
      void viewImageFewMeasures();
      void viewImageHullTolerance();

      void broken();
      void weak();
      void healthy();

      void update();

    signals: