2 * \file QErrorListDialog.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Alfredo Braunstein
8 * Full author contact details are available in file CREDITS.
13 #include "QErrorListDialog.h"
14 #include "QErrorList.h"
16 #include <QListWidget>
17 #include <QPushButton>
18 #include <QCloseEvent>
23 QErrorListDialog::QErrorListDialog(QErrorList * form)
27 connect(closePB, SIGNAL(clicked()),
28 form, SLOT(slotClose()));
29 connect(errorsLW, SIGNAL( itemActivated(QListWidgetItem *)),
30 form, SLOT(slotClose()));
31 connect( errorsLW, SIGNAL( itemClicked(QListWidgetItem *) ),
32 this, SLOT( select_adaptor(QListWidgetItem *) ) );
36 QErrorListDialog::~QErrorListDialog()
40 void QErrorListDialog::select_adaptor(QListWidgetItem * item)
46 void QErrorListDialog::closeEvent(QCloseEvent * e)
52 } // namespace frontend