3 * \file FloatPlacement.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
13 #ifndef FLOATPLACEMENT_H
14 #define FLOATPLACEMENT_H
16 #include "ui_FloatPlacementUi.h"
20 #include "support/docstring.h"
25 class InsetFloatParams;
27 class FloatPlacement : public QWidget, public Ui::FloatPlacementUi {
30 FloatPlacement(bool show_options = false, QWidget * parent = 0);
33 void paramsToDialog(Inset const *);
35 docstring dialogToParams() const;
41 void set(std::string const & placement);
43 std::string const get() const;
46 void on_defaultsCB_stateChanged(int state);
56 std::string const get(bool & wide, bool & sideways) const;
58 /// one of figure or table?
61 std::string float_type_;
66 #endif // FLOATPLACEMENT_H