]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiBranch.h
This is the last of a series of patches that merges the layout modules development...
[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 Jürgen Spitzmüller
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUIBRANCH_H
13 #define GUIBRANCH_H
14
15 #include "GuiDialog.h"
16 #include "ControlBranch.h"
17 #include "ui_BranchUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiBranchDialog : public GuiDialog, public Ui::BranchUi
23 {
24         Q_OBJECT
25
26 public:
27         GuiBranchDialog(LyXView & lv);
28
29 private Q_SLOTS:
30         void change_adaptor();
31
32 private:
33         ///
34         void closeEvent(QCloseEvent * e);
35         /// parent controller
36         ControlBranch & controller();
37         ///  Apply changes
38         void applyView();
39         /// Update dialog before showing it
40         void updateContents();
41 };
42
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // GUIBRANCH_H