4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jürgen Spitzmüller
9 * Full author contact details are available in file CREDITS.
15 #include "InsetParamsWidget.h"
16 #include "ui_HSpaceUi.h"
21 class GuiHSpace : public InsetParamsWidget, public Ui::HSpaceUi
26 GuiHSpace(bool math_mode, QWidget * parent = 0);
35 /// \name InsetParamsWidget inherited methods
37 InsetCode insetCode() const { return math_mode_ ? MATH_SPACE_CODE : SPACE_CODE; }
38 FuncCode creationCode() const { return LFUN_INSET_INSERT; }
39 void paramsToDialog(Inset const *);
40 docstring dialogToParams() const;
41 bool checkWidgets() const;
44 bool const math_mode_;
47 } // namespace frontend