2001-08-29 00:37:04 +00:00
|
|
|
/**
|
|
|
|
* \file QVCLogDialog.C
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-29 00:37:04 +00:00
|
|
|
*
|
2002-10-20 01:48:28 +00:00
|
|
|
* \author John Levon
|
2002-09-24 13:57:09 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-29 00:37:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
2002-09-24 13:57:09 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
2001-08-29 00:37:04 +00:00
|
|
|
#include <vector>
|
|
|
|
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "LyXView.h"
|
2002-03-21 21:21:28 +00:00
|
|
|
#include "ControlVCLog.h"
|
2001-08-29 00:37:04 +00:00
|
|
|
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "QVCLog.h"
|
|
|
|
#include "QVCLogDialog.h"
|
|
|
|
|
|
|
|
#include <qpushbutton.h>
|
|
|
|
#include <qtextview.h>
|
2002-10-20 01:48:28 +00:00
|
|
|
|
|
|
|
|
2001-08-29 00:37:04 +00:00
|
|
|
QVCLogDialog::QVCLogDialog(QVCLog * form)
|
|
|
|
: QVCLogDialogBase(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 QVCLogDialog::closeEvent(QCloseEvent * e)
|
|
|
|
{
|
|
|
|
form_->slotWMHide();
|
|
|
|
e->accept();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void QVCLogDialog::updateClicked()
|
|
|
|
{
|
|
|
|
form_->update_contents();
|
|
|
|
}
|