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;
31 : base_class(_("LaTeX Error"))
36 void QError::build_dialog()
38 dialog_.reset(new QErrorDialog(this));
40 bc().setCancel(dialog_->closePB);
44 void QError::update_contents()
46 dialog_->errorTV->setText(controller().params().c_str());