]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBox.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiBox.h
index 25b6bfa9b35fae5c739b465678d9db59eab3a477..5020f5c19a671089a9a35e1a1d42c744e13cd6ed 100644 (file)
@@ -28,17 +28,18 @@ public:
        GuiBox(QWidget * parent = 0);
 
 private Q_SLOTS:
-       void on_innerBoxCO_activated(QString const &);
+       void on_innerBoxCO_activated(int);
        void on_typeCO_activated(int);
        void initDialog();
+       void on_widthCB_stateChanged(int state);
        void on_heightCB_stateChanged(int state);
        void on_pagebreakCB_stateChanged();
 
 private:
        /// \name DialogView inherited methods
        //@{
-       InsetCode insetCode() { return BOX_CODE; }
-       FuncCode creationCode() { return LFUN_BOX_INSERT; }
+       InsetCode insetCode() const { return BOX_CODE; }
+       FuncCode creationCode() const { return LFUN_BOX_INSERT; }
        void paramsToDialog(Inset const *);
        docstring dialogToParams() const;
        //@}
@@ -46,7 +47,7 @@ private:
        /// add and remove special lengths
        void setSpecial(bool ibox);
        /// only show valid inner box items
-       void setInnerType(bool frameless, int i);
+       void setInnerType(bool frameless, QString const & type);
 
        QStringList ids_;
        ///