3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
12 #include "FormVCLog.h"
13 #include "ControlVCLog.h"
17 VCLogDialog::VCLogDialog (FormVCLog * f, QWidget * parent, char const * name)
18 : LogDialogData(parent, name), form_(f)
20 line_viewer->setMinimumWidth(50);
21 line_viewer->setMinimumHeight(50);
25 void VCLogDialog::setLogText(string const & text)
27 setUpdatesEnabled(false);
28 line_viewer->setText(text.c_str());
29 setUpdatesEnabled(true);
33 void VCLogDialog::closePressed()
35 form_->CancelButton();
39 void VCLogDialog::updatePressed()
42 //form_->controller().setParams();