]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FloatPlacement.h
Improve wording (#10670)
[lyx.git] / src / frontends / qt4 / FloatPlacement.h
index a720a4e20d164d650c5c8a5d0fac8692a0af1b00..c5f8dd7ef1a508f2f5618baa0607634e400bd73b 100644 (file)
@@ -35,6 +35,7 @@ public:
        //@{
        InsetCode insetCode() const { return FLOAT_CODE; }
        FuncCode creationCode() const { return LFUN_FLOAT_INSERT; }
+       QString dialogTitle() const { return qt_("Float Settings"); }
        void paramsToDialog(Inset const *);
        docstring dialogToParams() const;
        bool checkWidgets(bool readonly) const;
@@ -59,10 +60,18 @@ private:
        std::string const get(bool & wide, bool & sideways) const;
        ///
        void initFloatTypeCO(FloatList const & floats);
+       ///
+       bool possiblePlacement(char const & p) const;
 
        /// one of figure or table?
        bool standardfloat_;
        ///
+       std::string allowed_placement_;
+       ///
+       bool allows_wide_;
+       ///
+       bool allows_sideways_;
+       ///
        FloatList const * float_list_;
 };