4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jürgen Spitzmüller
8 * \author Martin Vermeer (with useful hints from Angus Leeming)
10 * Full author contact details are available in file CREDITS.
16 #include "InsetDialog.h"
18 #include "insets/InsetBox.h"
24 class GuiBox : public InsetDialog, public Ui::BoxUi
32 void on_innerBoxCO_activated(QString const &);
33 void on_typeCO_activated(int);
35 void on_heightCB_stateChanged(int state);
36 void on_pagebreakCB_stateChanged();
39 /// \name Dialog inerited methods
41 void enableView(bool enable);
44 /// \name InsetDialog inherited methods
46 void paramsToDialog(Inset const *);
47 docstring dialogToParams() const;
50 /// add and remove special lengths
51 void setSpecial(bool ibox);
52 /// only show valid inner box items
53 void setInnerType(bool frameless, int i);
57 QStringList gui_names_;
59 QStringList ids_spec_;
61 QStringList gui_names_spec_;
64 } // namespace frontend