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
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
17 #include "ControlBox.h"
25 class GuiBoxDialog : public GuiDialog, public Ui::BoxUi
30 GuiBoxDialog(LyXView & lv);
33 void change_adaptor();
34 void innerBoxChanged(const QString &);
35 void typeChanged(int);
36 void restoreClicked();
39 void closeEvent(QCloseEvent * e);
42 ControlBox & controller();
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 std::vector<std::string> ids_;
56 std::vector<docstring> gui_names_;
58 std::vector<std::string> ids_spec_;
60 std::vector<docstring> gui_names_spec_;
63 } // namespace frontend