4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
9 * \author Jürgen Spitzmüller
12 * Full author contact details are available in file CREDITS.
18 #include "InsetParamsWidget.h"
19 #include "ui_TabularUi.h"
20 #include "insets/InsetTabular.h"
25 class GuiTabular : public InsetParamsWidget, public Ui::TabularUi
30 GuiTabular(QWidget * parent = 0);
34 void borderSet_clicked();
35 void borderUnset_clicked();
38 /// \name InsetParamsWidget inherited methods
40 InsetCode insetCode() const { return TABULAR_CODE; }
41 FuncCode creationCode() const { return LFUN_TABULAR_INSERT; }
42 void paramsToDialog(Inset const *);
43 docstring dialogToParams() const;
47 void setHAlign(std::string & param_str) const;
49 void setVAlign(std::string & param_str) const;
51 void setTableAlignment(std::string & param_str) const;
53 void setWidthAndAlignment();
55 bool funcEnabled(Tabular::Feature f) const;
58 } // namespace frontend
61 #endif // GUITABULAR_H