3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
12 #include "ControlLog.h"
16 LogDialog::LogDialog (FormLog * f, QWidget * parent, char const * name)
17 : LogDialogData(parent, name), form_(f)
19 line_viewer->setMinimumWidth(50);
20 line_viewer->setMinimumHeight(50);
24 void LogDialog::setLogText(string const & text)
26 setUpdatesEnabled(false);
27 line_viewer->setText(text.c_str());
28 setUpdatesEnabled(true);
32 void LogDialog::closePressed()
34 form_->CancelButton();
38 void LogDialog::updatePressed()
41 //form_->controller().setParams();
45 void LogDialog::closeEvent(QCloseEvent * e)
47 form_->CancelButton();