]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QCitationDialog.h
fix math fonts with LyX/Mac
[lyx.git] / src / frontends / qt2 / QCitationDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QCitationDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Kalle Dalheimer
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QCITATIONDIALOG_H
13 #define QCITATIONDIALOG_H
14
15 #include "ui/QCitationDialogBase.h"
16 #include "controllers/biblio.h"
17
18 class QCitationFindDialogBase;
19
20 namespace lyx {
21 namespace frontend {
22
23 class QCitation;
24
25 class QCitationDialog : public QCitationDialogBase {
26         Q_OBJECT
27
28 public:
29         QCitationDialog(QCitation * form);
30
31         ~QCitationDialog();
32
33         void setButtons();
34         /// open the find dialog if nothing selected
35         void openFind();
36
37         QCitationFindDialogBase * add_;
38
39 protected slots:
40
41         virtual void availableChanged();
42         virtual void selectedChanged();
43         virtual void up();
44         virtual void down();
45         virtual void del();
46         virtual void addCitation();
47         virtual void add();
48         virtual void previous();
49         virtual void next();
50         virtual void changed_adaptor();
51
52 private:
53         void find(biblio::Direction dir);
54
55         QCitation * form_;
56 };
57
58 } // namespace frontend
59 } // namespace lyx
60
61 #endif // QCITATIOINDIALOG_H