22 #include <QPlainTextEdit> 
   31 LogWindow::LogWindow(
QWidget* parent)
 
   34         m_log_widget = 
new QPlainTextEdit(
this);
 
   35         m_log_widget->setReadOnly(
true);
 
   36         m_log_widget->setMaximumBlockCount(100);
 
   37         m_log_widget->setCenterOnScroll(
true);
 
   38         setWindowTitle(
"Log");
 
   39         setWidget(m_log_widget);
 
   44 LogWindow::~LogWindow()
 
   48 void LogWindow::AddLine(
const string& line)
 
   50         m_log_widget->appendPlainText(QString::fromStdString(line));
 
Namespace for miscellaneous utilities. 
 
see the online Qt documentation 
 
see the online Qt documentation 
 
Namespace for generic graphical shell for simulators.