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 "GuiDialog.h"
16 #include "ui_TabularCreateUi.h"
24 class GuiTabularCreate
25 : public GuiDialog, public Ui::TabularCreateUi, public Controller
30 GuiTabularCreate(LyXView & lv);
33 void columnsChanged(int);
34 void rowsChanged(int);
37 Controller & controller() { return *this; }
43 bool initialiseParams(std::string const & data);
47 void dispatchParams();
49 bool isBufferDependent() const { return true; }
51 kb_action getLfun() const { return LFUN_TABULAR_INSERT; }
54 typedef std::pair<size_t, size_t> rowsCols;
56 rowsCols & params() { return params_; }
63 } // namespace frontend
66 #endif // GUITABULARCREATE_H