]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiBox.h
Fix completion in math when inline completion was not yet shown
[lyx.git] / src / frontends / qt / GuiBox.h
index 4c32dcf8fa81b42d189fa3a818091c586c3a444c..86bfe05c875812000091015995c317b76ce8032b 100644 (file)
@@ -13,9 +13,9 @@
 #ifndef GUIBOX_H
 #define GUIBOX_H
 
+#include "ColorCode.h"
 #include "InsetParamsWidget.h"
 #include "ui_BoxUi.h"
-#include "Font.h"
 
 namespace lyx {
 namespace frontend {
@@ -39,12 +39,12 @@ private Q_SLOTS:
 private:
        /// \name DialogView inherited methods
        //@{
-       InsetCode insetCode() const { return BOX_CODE; }
-       FuncCode creationCode() const { return LFUN_BOX_INSERT; }
-       QString dialogTitle() const { return qt_("Box Settings"); }
-       void paramsToDialog(Inset const *);
-       docstring dialogToParams() const;
-       bool checkWidgets(bool readonly) const;
+       InsetCode insetCode() const override { return BOX_CODE; }
+       FuncCode creationCode() const override { return LFUN_BOX_INSERT; }
+       QString dialogTitle() const override { return qt_("Box Settings"); }
+       void paramsToDialog(Inset const *) override;
+       docstring dialogToParams() const override;
+       bool checkWidgets(bool readonly) const override;
        //@}
 
        /// Fill the color combos