X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiInfo.h;h=9094dc7e0c1af3e879431486009668a23496c0a6;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=01fcffd40f51a51526caa1636343162933130456;hpb=ccea2a5cd9410ebe47a83a76fece3fa68b1d6419;p=lyx.git diff --git a/src/frontends/qt4/GuiInfo.h b/src/frontends/qt4/GuiInfo.h index 01fcffd40f..9094dc7e0c 100644 --- a/src/frontends/qt4/GuiInfo.h +++ b/src/frontends/qt4/GuiInfo.h @@ -17,8 +17,6 @@ namespace lyx { -class InsetInfo; - namespace frontend { class GuiInfo : public DialogView, public Ui::InfoUi @@ -28,17 +26,27 @@ class GuiInfo : public DialogView, public Ui::InfoUi public: GuiInfo(GuiView & lv); - /// Dialog inherited methods + /// \name Dialog inherited methods //@{ void applyView(); void updateView(); - void dispatchParams(); + void dispatchParams() {} void enableView(bool enable); bool isBufferDependent() const { return true; } + bool canApply() const { return true; } //@} private Q_SLOTS: + void on_newPB_clicked(); void on_closePB_clicked(); + void on_typeCO_currentIndexChanged(int); + void on_nameLE_textChanged(QString const &); + +private: + void paramsToDialog(); + void dialogToParams(); + QString type_; + QString name_; }; } // namespace frontend