X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiInfo.h;h=9094dc7e0c1af3e879431486009668a23496c0a6;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=4d24609a7cf9dfd6765180c4d698f42d97530d17;hpb=3c142cdd479343927b595e1bad0951347025c4c2;p=lyx.git diff --git a/src/frontends/qt4/GuiInfo.h b/src/frontends/qt4/GuiInfo.h index 4d24609a7c..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_cancelPB_clicked(); + 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