Exemplo n.º 1
0
 void Process::emitStatusChanged(const openstudio::runmanager::AdvancedStatus &status)
 {
   if (status != m_status)
   {
     LOG(Trace, "New Process State: " << status.description());
     m_status = status;
     emit statusChanged(m_status);
   }
 }
void DataPointJobHeaderView::setStatus(const openstudio::runmanager::AdvancedStatus& status, bool isCanceled)
{
  if (!isCanceled)
  {
    std::string s = status.toString();
    m_status->setText(toQString(s));
  } else {
    m_status->setText("Canceled");
  }
}
Exemplo n.º 3
0
void DataPointJobHeaderView::setStatus(const openstudio::runmanager::AdvancedStatus& status)
{
  m_status->setText(toQString(status.toString()));
}