]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiERT.h
Transfer LyXfunc code to GuiApplication::dispatch() and getStatus(). Now
[lyx.git] / src / frontends / qt4 / GuiERT.h
1 // -*- C++ -*-
2 /**
3  * \file GuiERT.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 GUIERT_H
13 #define GUIERT_H
14
15 #include "InsetDialog.h"
16 #include "ui_ERTUi.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 class GuiERT : public InsetDialog, public Ui::ERTUi
22 {
23         Q_OBJECT
24
25 public:
26         GuiERT(GuiView & lv);
27
28 private:
29         /// \name Dialog inerited methods
30         //@{
31         void enableView(bool enable);
32         //@}
33
34         /// \name InsetDialog inherited methods
35         //@{
36         void paramsToDialog(Inset const *);
37         docstring dialogToParams() const;
38         //@}
39 };
40
41 } // namespace frontend
42 } // namespace lyx
43
44 #endif // GUIERT_H