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"
24 class GuiBox : public GuiDialog, public Ui::BoxUi
32 void change_adaptor();
33 void innerBoxChanged(QString const &);
34 void typeChanged(int);
35 void restoreClicked();
36 void pagebreakClicked();
39 /// add and remove special lengths
40 void setSpecial(bool ibox);
41 /// only show valid inner box items
42 void setInnerType(bool frameless, int i);
47 void updateContents();
50 bool initialiseParams(std::string const & data);
54 void dispatchParams();
56 bool isBufferDependent() const { return true; }
61 QStringList gui_names_;
63 QStringList ids_spec_;
65 QStringList gui_names_spec_;
68 InsetBoxParams params_;
71 } // namespace frontend