mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
2a31934f38
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
62 lines
1.1 KiB
C++
62 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QCitationDialog.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Kalle Dalheimer
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef QCITATIONDIALOG_H
|
|
#define QCITATIONDIALOG_H
|
|
|
|
#include "ui/QCitationDialogBase.h"
|
|
#include "controllers/biblio.h"
|
|
|
|
class QCitationFindDialogBase;
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class QCitation;
|
|
|
|
class QCitationDialog : public QCitationDialogBase {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QCitationDialog(QCitation * form);
|
|
|
|
~QCitationDialog();
|
|
|
|
void setButtons();
|
|
/// open the find dialog if nothing selected
|
|
void openFind();
|
|
|
|
QCitationFindDialogBase * add_;
|
|
|
|
protected slots:
|
|
|
|
virtual void availableChanged();
|
|
virtual void selectedChanged();
|
|
virtual void up();
|
|
virtual void down();
|
|
virtual void del();
|
|
virtual void addCitation();
|
|
virtual void add();
|
|
virtual void previous();
|
|
virtual void next();
|
|
virtual void changed_adaptor();
|
|
|
|
private:
|
|
void find(biblio::Direction dir);
|
|
|
|
QCitation * form_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // QCITATIOINDIALOG_H
|