2001-08-29 00:37:04 +00:00
|
|
|
/**
|
|
|
|
* \file QLogDialog.C
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
#include <vector>
|
|
|
|
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "LyXView.h"
|
|
|
|
#include "ControlLog.h"
|
|
|
|
|
2001-08-29 00:37:04 +00:00
|
|
|
#include <qpushbutton.h>
|
|
|
|
#include <qtextview.h>
|
2002-06-19 03:38:44 +00:00
|
|
|
|
2001-08-29 00:37:04 +00:00
|
|
|
#include "QLogDialog.h"
|
|
|
|
#include "QLog.h"
|
|
|
|
|
|
|
|
QLogDialog::QLogDialog(QLog * form)
|
|
|
|
: QLogDialogBase(0, 0, false, 0),
|
|
|
|
form_(form)
|
|
|
|
{
|
|
|
|
connect(closePB, SIGNAL(clicked()),
|
|
|
|
form, SLOT(slotClose()));
|
|
|
|
}
|
|
|
|
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-29 00:37:04 +00:00
|
|
|
void QLogDialog::closeEvent(QCloseEvent * e)
|
|
|
|
{
|
|
|
|
form_->slotWMHide();
|
|
|
|
e->accept();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void QLogDialog::updateClicked()
|
|
|
|
{
|
|
|
|
form_->update_contents();
|
|
|
|
}
|