#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
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