3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
15 #include "FloatPlacement.h"
17 #include "FuncRequest.h"
19 #include <QPushButton>
26 GuiFloat::GuiFloat(GuiView & lv)
27 : InsetDialog(lv, FLOAT_CODE, LFUN_FLOAT_INSERT, "float", "Float Settings")
31 // enable span columns checkbox
33 // enable sideways checkbox
34 floatFP->useSideways();
36 connect(floatFP, SIGNAL(changed()), this, SLOT(applyView()));
40 void GuiFloat::enableView(bool enable)
42 floatFP->setEnabled(enable);
46 void GuiFloat::paramsToDialog(Inset const * inset)
48 floatFP->paramsToDialog(inset);
52 docstring GuiFloat::dialogToParams() const
54 return floatFP->dialogToParams();
57 Dialog * createGuiFloat(GuiView & lv) { return new GuiFloat(lv); }
59 } // namespace frontend
62 #include "moc_GuiFloat.cpp"