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();
41 void closeEvent(QCloseEvent * e);
43 /// add and remove special lengths
44 void setSpecial(bool ibox);
45 /// only show valid inner box items
46 void setInnerType(bool frameless, int i);
51 void updateContents();
54 bool initialiseParams(std::string const & data);
58 void dispatchParams();
60 bool isBufferDependent() const { return true; }
63 std::vector<std::string> ids_;
65 std::vector<docstring> gui_names_;
67 std::vector<std::string> ids_spec_;
69 std::vector<docstring> gui_names_spec_;
72 InsetBoxParams params_;
75 } // namespace frontend