]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QNomenclDialog.h
Fix unreported bug related to 3246 by Richard Heck:
[lyx.git] / src / frontends / qt4 / QNomenclDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QNomenclDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author O. U. Baran
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QNOMENCLDIALOG_H
14 #define QNOMENCLDIALOG_H
15
16 #include "ui/QNomenclUi.h"
17
18 #include <QDialog>
19 #include <QCloseEvent>
20
21 namespace lyx {
22 namespace frontend {
23
24 class QNomencl;
25
26 class QNomenclDialog : public QDialog, public Ui::QNomenclUi {
27         Q_OBJECT
28 public:
29         QNomenclDialog(QNomencl * form);
30         virtual void show();
31 protected Q_SLOTS:
32         virtual void change_adaptor();
33         virtual void reject();
34 protected:
35         virtual void closeEvent(QCloseEvent * e);
36 private:
37         QNomencl * form_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QNOMENCLDIALOG_H