]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/GuiBranch.h
Fix readability
[lyx.git] / src / frontends / qt / 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 override { return BRANCH_CODE; }
34         FuncCode creationCode() const override { return LFUN_BRANCH_INSERT; }
35         QString dialogTitle() const override { return qt_("Branch Settings"); }
36         void paramsToDialog(Inset const *) override;
37         docstring dialogToParams() const override;
38         bool checkWidgets(bool readonly) const override;
39         //@}
40 };
41
42 } // namespace frontend
43 } // namespace lyx
44
45 #endif // GUIBRANCH_H