4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
8 * \author Martin Vermeer
9 * \author Jürgen Spitzmüller
11 * Full author contact details are available in file CREDITS.
17 #include "GuiDialog.h"
18 #include "ui_BranchUi.h"
19 #include "insets/InsetBranch.h"
25 class GuiBranch : public GuiDialog, public Ui::BranchUi, public Controller
30 GuiBranch(LyXView & lv);
33 void change_adaptor();
37 void closeEvent(QCloseEvent * e);
39 Controller & controller() { return *this; }
42 /// Update dialog before showing it
43 void updateContents();
45 bool initialiseParams(std::string const & data);
49 void dispatchParams();
51 bool isBufferDependent() const { return true; }
54 InsetBranchParams params_;
57 } // namespace frontend