]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBox.h
Consider class-provided citation engines
[lyx.git] / src / frontends / qt4 / GuiBox.h
index e40bcae4efe4eb884a802c3c2ed9274df2f75e5f..4c32dcf8fa81b42d189fa3a818091c586c3a444c 100644 (file)
@@ -20,8 +20,6 @@
 namespace lyx {
 namespace frontend {
 
-typedef std::pair<QString, ColorCode>  ColorPair;
-
 class GuiBox : public InsetParamsWidget, public Ui::BoxUi
 {
        Q_OBJECT
@@ -43,11 +41,14 @@ private:
        //@{
        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;
        //@}
 
+       /// Fill the color combos
+       void fillComboColor(QComboBox * combo, bool const is_none);
        /// add and remove special lengths
        void setSpecial(bool ibox);
        /// only show valid inner box items
@@ -61,7 +62,7 @@ private:
        ///
        QStringList gui_names_spec_;
        ///
-       QList<ColorPair> color;
+       QList<ColorCode> color_codes_;
 };
 
 } // namespace frontend