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 "GuiDialog.h"
18 #include "insets/InsetBox.h"
26 class GuiBox : public GuiDialog, public Ui::BoxUi
34 void change_adaptor();
35 void innerBoxChanged(const QString &);
36 void typeChanged(int);
37 void restoreClicked();
38 void pagebreakClicked();
41 /// add and remove special lengths
42 void setSpecial(bool ibox);
43 /// only show valid inner box items
44 void setInnerType(bool frameless, int i);
49 void updateContents();
52 bool initialiseParams(std::string const & data);
56 void dispatchParams();
58 bool isBufferDependent() const { return true; }
61 std::vector<std::string> ids_;
63 std::vector<docstring> gui_names_;
65 std::vector<std::string> ids_spec_;
67 std::vector<docstring> gui_names_spec_;
70 InsetBoxParams params_;
73 } // namespace frontend