]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiBibitem.h
some refactoring
[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 "GuiDialog.h"
17 #include "ui_BibitemUi.h"
18
19 #include "controllers/Dialog.h"
20
21 #include "insets/InsetCommandParams.h"
22
23 namespace lyx {
24 namespace frontend {
25
26 class GuiBibitem : public GuiCommand, public Ui::BibitemUi
27 {
28         Q_OBJECT
29
30 public:
31         GuiBibitem(LyXView & lv);
32
33 private Q_SLOTS:
34         void change_adaptor();
35
36 private:
37         ///
38         void closeEvent(QCloseEvent * e);
39
40 private:
41         ///
42         bool isValid();
43         /// Apply changes
44         void applyView();
45         /// update
46         void updateContents();
47 };
48
49 } // namespace frontend
50 } // namespace lyx
51
52 #endif // GUIBIBITEM_H