/// \name DialogView inherited methods
//@{
- InsetCode insetCode() { return FLOAT_CODE; }
- FuncCode creationCode() { return LFUN_FLOAT_INSERT; }
+ InsetCode insetCode() const { return FLOAT_CODE; }
+ FuncCode creationCode() const { return LFUN_FLOAT_INSERT; }
+ QString dialogTitle() const { return qt_("Float Settings"); }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
+ bool checkWidgets(bool readonly) const;
//@}
///
void useWide();
private:
///
- void checkAllowed();
+ void checkAllowed() const;
///
std::string const get(bool & wide, bool & sideways) const;
///
void initFloatTypeCO(FloatList const & floats);
+ ///
+ bool possiblePlacement(char const & p) const;
/// one of figure or table?
bool standardfloat_;
///
+ std::string allowed_placement_;
+ ///
+ bool allows_wide_;
+ ///
+ bool allows_sideways_;
+ ///
FloatList const * float_list_;
};