#define GUI_INFO_H
#include "InsetParamsWidget.h"
+#include "insets/InsetInfo.h"
#include "ui_InfoUi.h"
namespace lyx {
{
Q_OBJECT
+protected Q_SLOTS:
+ void updateArguments(int i);
+
public:
GuiInfo(QWidget * parent = 0);
//@{
InsetCode insetCode() const { return INFO_CODE; }
FuncCode creationCode() const { return LFUN_INFO_INSERT; }
+ QString dialogTitle() const { return qt_("Field Settings"); }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
- bool checkWidgets(bool readonly = false) const;
+ bool initialiseParams(std::string const &);
+ bool checkWidgets(bool readonly) const;
//@}
+ InsetInfoParams params_;
};
} // namespace frontend