]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiBranch.h
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiBranch.h
1 // -*- C++ -*-
2 /**
3  * \file GuiBranch.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  * \author Martin Vermeer
9  * \author Jürgen Spitzmüller
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef GUIBRANCH_H
15 #define GUIBRANCH_H
16
17 #include "InsetParamsWidget.h"
18 #include "ui_BranchUi.h"
19
20 namespace lyx {
21 namespace frontend {
22
23 class GuiBranch : public InsetParamsWidget, public Ui::BranchUi
24 {
25         Q_OBJECT
26
27 public:
28         GuiBranch(QWidget * parent = 0);
29
30 private:
31         /// \name DialogView inherited methods
32         //@{
33         InsetCode insetCode() const { return BRANCH_CODE; }
34         FuncCode creationCode() const { return LFUN_BRANCH_INSERT; }
35         void paramsToDialog(Inset const *);
36         docstring dialogToParams() const;
37         //@}
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // GUIBRANCH_H