]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FloatPlacement.h
Do not show master's errors if compiling child
[lyx.git] / src / frontends / qt4 / FloatPlacement.h
index 5aeecc2deda7b0df1dc6fbc084658b95dafdca13..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;
@@ -54,15 +55,23 @@ private Q_SLOTS:
 
 private:
        ///
-       void checkAllowed();
+       void checkAllowed() const;
        ///
        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_;
 };