2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-08-19 13:25:15 +00:00
|
|
|
/**
|
|
|
|
* \file QCitationDialog.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-19 13:25:15 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author Kalle Dalheimer
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-19 13:25:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QCITATIONDIALOG_H
|
|
|
|
#define QCITATIONDIALOG_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "ui/QCitationDialogBase.h"
|
2001-08-19 13:25:15 +00:00
|
|
|
#include "controllers/biblio.h"
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
class QCitation;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QCitationDialog : public QCitationDialogBase {
|
|
|
|
Q_OBJECT
|
2001-08-19 13:25:15 +00:00
|
|
|
public:
|
2001-08-25 03:00:19 +00:00
|
|
|
QCitationDialog(QCitation * form);
|
2001-08-19 13:25:15 +00:00
|
|
|
~QCitationDialog();
|
|
|
|
protected slots:
|
2001-08-25 03:00:19 +00:00
|
|
|
virtual void slotBibHighlighted(int sel);
|
2001-08-19 13:25:15 +00:00
|
|
|
virtual void slotBibSelected(int sel);
|
2001-08-25 03:00:19 +00:00
|
|
|
virtual void slotCiteHighlighted(int sel);
|
2001-08-19 13:25:15 +00:00
|
|
|
virtual void slotAddClicked();
|
|
|
|
virtual void slotDelClicked();
|
|
|
|
virtual void slotUpClicked();
|
|
|
|
virtual void slotDownClicked();
|
|
|
|
virtual void slotPreviousClicked();
|
|
|
|
virtual void slotNextClicked();
|
2002-09-24 13:57:09 +00:00
|
|
|
virtual void changed_adaptor();
|
2001-08-19 13:25:15 +00:00
|
|
|
private:
|
|
|
|
void doFind(biblio::Direction dir);
|
|
|
|
private:
|
|
|
|
QCitation * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QCITATIOINDIALOG_H
|