///
void changedSlot();
///
- void enableWidgets();
+ void enableWidgets() const;
private:
/// \name InsetParamsWidget inherited methods
//@{
- InsetCode insetCode() const { return SPACE_CODE; }
+ InsetCode insetCode() const { return math_mode_ ? MATH_SPACE_CODE : SPACE_CODE; }
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
- bool checkWidgets() const;
+ bool checkWidgets(bool readonly) const;
//@}
///
- docstring dialogToMathParams() const;
- ///
bool const math_mode_;
};