]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiERT.h
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiERT.h
index b9b7cccc033410df822c3da8b32652650b3a4b89..18a1a9163cee358ed343c6ce1fbf8d60bda80448 100644 (file)
 #ifndef GUIERT_H
 #define GUIERT_H
 
-#include "InsetDialog.h"
+#include "InsetParamsWidget.h"
 #include "ui_ERTUi.h"
 
 namespace lyx {
 namespace frontend {
 
-class GuiERT : public InsetDialog, public Ui::ERTUi
+class GuiERT : public InsetParamsWidget, public Ui::ERTUi
 {
        Q_OBJECT
 
 public:
-       GuiERT(GuiView & lv);
+       GuiERT(QWidget * parent = 0);
 
 private:
-       /// \name Dialog inerited methods
-       //@{
-       void enableView(bool enable);
-       //@}
-
-       /// \name InsetDialog inherited methods
+       /// \name InsetParamsWidget inherited methods
        //@{
+       InsetCode insetCode() const { return ERT_CODE; }
+       FuncCode creationCode() const { return LFUN_INSET_INSERT; }
        void paramsToDialog(Inset const *);
        docstring dialogToParams() const;
        //@}