3 * \file GuiTabularCreate.h
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.
12 #ifndef GUITABULARCREATE_H
13 #define GUITABULARCREATE_H
15 #include "GuiDialogView.h"
16 #include "ControlTabularCreate.h"
17 #include "ui_TabularCreateUi.h"
24 class GuiTabularCreate;
26 class GuiTabularCreateDialog : public QDialog, public Ui::TabularCreateUi
30 GuiTabularCreateDialog(GuiTabularCreate * form);
32 virtual void columnsChanged(int);
33 virtual void rowsChanged(int);
35 GuiTabularCreate * form_;
39 class GuiTabularCreate : public GuiView<GuiTabularCreateDialog>
43 friend class GuiTabularCreateDialog;
45 GuiTabularCreate(Dialog &);
47 ControlTabularCreate & controller()
48 { return static_cast<ControlTabularCreate &>(this->getController()); }
50 ControlTabularCreate const & controller() const
51 { return static_cast<ControlTabularCreate const &>(this->getController()); }
56 virtual void update_contents() {}
58 virtual void build_dialog();
61 } // namespace frontend
64 #endif // GUITABULARCREATE_H