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();
42 void closeEvent(QCloseEvent * e);
44 /// add and remove special lengths
45 void setSpecial(bool ibox);
46 /// only show valid inner box items
47 void setInnerType(bool frameless, int i);
52 void updateContents();
55 bool initialiseParams(std::string const & data);
59 void dispatchParams();
61 bool isBufferDependent() const { return true; }
64 std::vector<std::string> ids_;
66 std::vector<docstring> gui_names_;
68 std::vector<std::string> ids_spec_;
70 std::vector<docstring> gui_names_spec_;
73 InsetBoxParams params_;
76 } // namespace frontend