3 * \file QBibtexDialog.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef QBIBTEXDIALOG_H
13 #define QBIBTEXDIALOG_H
15 #include "ui/QBibtexUi.h"
16 #include "ui/QBibtexAddUi.h"
18 #include "ButtonController.h"
20 #include <QCloseEvent>
29 class UiDialog: public QDialog, public UI
32 UiDialog(QWidget * parent=0, bool modal=false, Qt::WFlags f=0)
36 QDialog::setModal(modal);
40 class QBibtexDialog : public QDialog, public Ui::QBibtexUi {
44 QBibtexDialog(QBibtex * form);
47 UiDialog<Ui::QBibtexAddUi> * add_;
50 virtual void change_adaptor();
51 virtual void browsePressed();
52 virtual void browseBibPressed();
53 virtual void addPressed();
54 virtual void addDatabase();
55 virtual void deletePressed();
56 virtual void databaseChanged();
57 virtual void availableChanged();
61 virtual void closeEvent(QCloseEvent * e);
65 ButtonController add_bc_;
68 } // namespace frontend
71 #endif // QBIBTEXDIALOG_H