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(QWidget * parent = 0);
33 void paramsToDialog(Inset const *);
35 docstring dialogToParams() const;
41 void set(std::string const & placement);
44 std::string const get(bool & wide, bool & sideways) const;
45 std::string const get() const;
50 void on_spanCB_clicked();
51 void on_heredefinitelyCB_clicked();
52 void on_sidewaysCB_clicked();
58 /// one of figure or table?
65 #endif // FLOATPLACEMENT_H