]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiBibitem.h
17d901c1ff9a2f2643532ad88c8804068407c216
[lyx.git] / src / frontends / qt4 / GuiBibitem.h
1 // -*- C++ -*-
2 /**
3  * \file GuiBibitem.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUIBIBITEM_H
14 #define GUIBIBITEM_H
15
16 #include "InsetParamsWidget.h"
17 #include "ui_BibitemUi.h"
18
19
20 namespace lyx {
21 namespace frontend {
22
23 class GuiBibitem : public InsetParamsWidget, public Ui::BibitemUi
24 {
25         Q_OBJECT
26
27 public:
28         /// Constructor
29         GuiBibitem(QWidget * parent = 0);
30
31 private:
32         /// \name DialogView inherited methods
33         //@{
34         InsetCode insetCode() const { return BIBITEM_CODE; }
35         FuncCode creationCode() const { return LFUN_INSET_INSERT; }
36         void paramsToDialog(Inset const *);
37         docstring dialogToParams() const;
38         bool checkWidgets(bool readonly) const;
39         //@}
40 };
41
42 } // namespace frontend
43 } // namespace lyx
44
45 #endif // GUIBIBITEM_H