X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiLabel.h;h=64a9a0e8a1fa1bfb3a9ab9f86df474fd0bbf4f00;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=73c6654ffae4b1f94617b7f73c68094c9572d440;hpb=ba76bf5eb85db5a10839fccee3430d906d3f7b70;p=lyx.git diff --git a/src/frontends/qt4/GuiLabel.h b/src/frontends/qt4/GuiLabel.h index 73c6654ffa..64a9a0e8a1 100644 --- a/src/frontends/qt4/GuiLabel.h +++ b/src/frontends/qt4/GuiLabel.h @@ -16,10 +16,12 @@ #include "GuiDialog.h" #include "ui_LabelUi.h" +#include "insets/InsetCommandParams.h" + namespace lyx { namespace frontend { -class GuiLabel : public GuiCommand, public Ui::LabelUi +class GuiLabel : public GuiDialog, public Ui::LabelUi { Q_OBJECT @@ -37,10 +39,25 @@ private: void applyView(); /// update void updateContents(); -}; + /// + bool initialiseParams(std::string const & data); + /// clean-up on hide. + void clearParams() { params_.clear(); } + /// clean-up on hide. + void dispatchParams(); + /// + bool isBufferDependent() const { return true; } + /// + void enableView(bool enable); + /// + bool canApply() const { return true; } +private: + /// + InsetCommandParams params_; +}; } // namespace frontend } // namespace lyx -#endif // GUIINDEX_H +#endif // GUILABEL_H