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"
24 class InsetFloatParams;
26 class FloatPlacement : public QWidget, public Ui::FloatPlacementUi {
29 FloatPlacement(QWidget * parent = 0);
34 void set(lyx::InsetFloatParams const & params);
35 void set(std::string const & placement);
38 std::string const get(bool & wide, bool & sideways) const;
39 std::string const get() const;
44 void on_spanCB_clicked();
45 void on_heredefinitelyCB_clicked();
46 void on_sidewaysCB_clicked();
52 /// one of figure or table?
59 #endif // FLOATPLACEMENT_H