4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
15 #include "InsetParamsWidget.h"
16 #include "insets/InsetInfo.h"
17 #include "ui_InfoUi.h"
25 class GuiInfo : public InsetParamsWidget, public Ui::InfoUi
30 void updateArguments(int i);
33 GuiInfo(QWidget * parent = 0);
36 /// \name InsetParamsWidget inherited methods
38 InsetCode insetCode() const { return INFO_CODE; }
39 FuncCode creationCode() const { return LFUN_INFO_INSERT; }
40 QString dialogTitle() const { return qt_("Field Settings"); }
41 void paramsToDialog(Inset const *);
42 docstring dialogToParams() const;
43 bool initialiseParams(std::string const &);
44 bool checkWidgets(bool readonly) const;
46 InsetInfoParams params_;
49 } // namespace frontend