2001-08-29 00:37:04 +00:00
|
|
|
/**
|
|
|
|
* \file QVCLogDialog.C
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <qpushbutton.h>
|
|
|
|
#include <qtextview.h>
|
|
|
|
#include "QVCLogDialog.h"
|
|
|
|
#include "Dialogs.h"
|
|
|
|
#include "QVCLog.h"
|
|
|
|
|
|
|
|
#include "QtLyXView.h"
|
2002-03-21 21:21:28 +00:00
|
|
|
#include "ControlVCLog.h"
|
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();
|
|
|
|
}
|