3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
14 #pragma implementation
17 #include "ControlError.h"
20 #include <qtextview.h>
21 #include <qpushbutton.h>
23 #include "QErrorDialog.h"
27 typedef Qt2CB<ControlError, Qt2DB<QErrorDialog> > base_class;
30 : base_class(_("LaTeX Error"))
35 void QError::build_dialog()
37 dialog_.reset(new QErrorDialog(this));
39 bc().setCancel(dialog_->closePB);
43 void QError::update_contents()
45 dialog_->errorTV->setText(controller().params().c_str());