]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QBibitemDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QBibitemDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QBibitemDialog.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  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QBIBITEMDIALOG_H
13 #define QBIBITEMDIALOG_H
14
15 #include "ui/QBibitemUi.h"
16
17 #include <QDialog>
18
19 #include <QCloseEvent>
20
21 #include "QBibitem.h"
22 //class QBibitem;
23
24 namespace lyx {
25 namespace frontend {
26
27 class QBibitemDialog : public QDialog, public Ui::QBibitemUi {
28         Q_OBJECT
29 public:
30
31         QBibitemDialog(QBibitem * form);
32 protected Q_SLOTS:
33         virtual void change_adaptor();
34 protected:
35         virtual void closeEvent(QCloseEvent * e);
36 private:
37         QBibitem * form_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QBIBITEMDIALOG_H