]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiInfo.h
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiInfo.h
index 4d3e2965313ec105466807b88575d208e07f5ebb..03973c11ad68e83ef0217908953ce6eed17dee87 100644 (file)
@@ -13,6 +13,7 @@
 #define GUI_INFO_H
 
 #include "InsetParamsWidget.h"
+#include "insets/InsetInfo.h"
 #include "ui_InfoUi.h"
 
 namespace lyx {
@@ -25,6 +26,9 @@ class GuiInfo : public InsetParamsWidget, public Ui::InfoUi
 {
        Q_OBJECT
 
+protected Q_SLOTS:
+       void updateArguments(int i);
+
 public:
        GuiInfo(QWidget * parent = 0);
 
@@ -33,10 +37,13 @@ private:
        //@{
        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