2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-08-26 03:20:52 +00:00
|
|
|
/**
|
|
|
|
* \file QBibtexDialog.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-26 03:20:52 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-08-26 03:20:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QBIBTEXDIALOG_H
|
|
|
|
#define QBIBTEXDIALOG_H
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
#include "ui/QBibtexDialogBase.h"
|
|
|
|
|
2003-04-12 03:08:08 +00:00
|
|
|
class QBibtexAddDialogBase;
|
2001-08-26 03:20:52 +00:00
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
class QBibtex;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QBibtexDialog : public QBibtexDialogBase {
|
2002-09-24 13:57:09 +00:00
|
|
|
Q_OBJECT
|
2003-04-12 03:08:08 +00:00
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
public:
|
|
|
|
QBibtexDialog(QBibtex * form);
|
2003-04-12 03:08:08 +00:00
|
|
|
|
|
|
|
QBibtexAddDialogBase * add_;
|
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
protected slots:
|
|
|
|
virtual void change_adaptor();
|
|
|
|
virtual void browsePressed();
|
2002-12-17 17:28:04 +00:00
|
|
|
virtual void browseBibPressed();
|
2001-08-26 03:20:52 +00:00
|
|
|
virtual void addPressed();
|
2003-04-12 03:08:08 +00:00
|
|
|
virtual void addDatabase();
|
2001-08-27 20:41:45 +00:00
|
|
|
virtual void deletePressed();
|
2002-03-21 21:21:28 +00:00
|
|
|
virtual void databaseChanged();
|
2003-04-12 03:08:08 +00:00
|
|
|
virtual void availableChanged();
|
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
protected:
|
|
|
|
virtual void closeEvent(QCloseEvent * e);
|
2003-04-12 03:08:08 +00:00
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
private:
|
|
|
|
QBibtex * form_;
|
|
|
|
};
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
#endif // QBIBTEXDIALOG_H
|