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 QT_FLOATPLACEMENT_H
14 #define QT_FLOATPLACEMENT_H
16 #include "ui/FloatPlacementUi.h"
22 namespace lyx { class InsetFloatParams; }
24 class FloatPlacement : public QWidget, public Ui::FloatPlacementUi {
27 FloatPlacement(QWidget * parent = 0);
32 void set(lyx::InsetFloatParams const & params);
33 void set(std::string const & placement);
36 std::string const get(bool & wide, bool & sideways) const;
37 std::string const get() const;
42 void on_spanCB_clicked();
43 void on_heredefinitelyCB_clicked();
44 void on_sidewaysCB_clicked();