mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
41 lines
663 B
C++
41 lines
663 B
C++
|
/**
|
||
|
* \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"
|
||
|
#include "ControlVCLog.h"
|
||
|
|
||
|
QVCLogDialog::QVCLogDialog(QVCLog * form)
|
||
|
: QVCLogDialogBase(0, 0, false, 0),
|
||
|
form_(form)
|
||
|
{
|
||
|
connect(closePB, SIGNAL(clicked()),
|
||
|
form, SLOT(slotClose()));
|
||
|
}
|
||
|
|
||
|
|
||
|
void QVCLogDialog::closeEvent(QCloseEvent * e)
|
||
|
{
|
||
|
form_->slotWMHide();
|
||
|
e->accept();
|
||
|
}
|
||
|
|
||
|
|
||
|
void QVCLogDialog::updateClicked()
|
||
|
{
|
||
|
form_->update_contents();
|
||
|
}
|