4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialogView.h"
16 #include "ui_FloatUi.h"
17 #include "ControlFloat.h"
26 class GuiFloatDialog : public QDialog, public Ui::FloatUi {
29 GuiFloatDialog(GuiFloat * form);
32 virtual void change_adaptor();
35 virtual void closeEvent(QCloseEvent * e);
43 class GuiFloat : public GuiView<GuiFloatDialog> {
46 friend class GuiFloatDialog;
48 GuiFloat(GuiDialog &);
50 ControlFloat & controller()
51 { return static_cast<ControlFloat &>(this->getController()); }
53 ControlFloat const & controller() const
54 { return static_cast<ControlFloat const &>(this->getController()); }
57 virtual void applyView();
59 virtual void update_contents();
61 virtual void build_dialog();
64 } // namespace frontend