2001-08-19 13:25:15 +00:00
|
|
|
/**
|
|
|
|
* \file QCitationDialog.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QCITATIONDIALOG_H
|
|
|
|
#define QCITATIONDIALOG_H
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
#include "support/lstrings.h"
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-25 03:00:19 +00:00
|
|
|
#include "QCitation.h"
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "ui/QCitationDialogBase.h"
|
2001-08-19 13:25:15 +00:00
|
|
|
#include "controllers/biblio.h"
|
|
|
|
|
|
|
|
class QCitationDialog : public QCitationDialogBase
|
|
|
|
{ Q_OBJECT
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
2001-08-25 03:00:19 +00:00
|
|
|
virtual void changed_adaptor() {
|
|
|
|
form_->changed();
|
|
|
|
}
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
private:
|
|
|
|
void doFind(biblio::Direction dir);
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
private:
|
|
|
|
QCitation * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QCITATIOINDIALOG_H
|