]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiBibitem.h
the fun begins....
[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 John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUIBIBITEM_H
13 #define GUIBIBITEM_H
14
15 #include "GuiDialog.h"
16 #include "ControlCommand.h"
17 #include "ui_BibitemUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiBibitemDialog : public GuiDialog, public Ui::BibitemUi
23 {
24         Q_OBJECT
25
26 public:
27         GuiBibitemDialog(LyXView & lv);
28
29 private Q_SLOTS:
30         void change_adaptor();
31
32 private:
33         ///
34         void closeEvent(QCloseEvent * e);
35         /// parent controller
36         ControlCommand & controller() const;
37
38 private:
39         ///
40         bool isValid();
41         /// Apply changes
42         void applyView();
43         /// update
44         void update_contents();
45 };
46
47 } // namespace frontend
48 } // namespace lyx
49
50 #endif // GUIBIBITEM_H