]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QBranch.h
Minipage is no more (long live the box inset)
[lyx.git] / src / frontends / qt2 / QBranch.h
1 // -*- C++ -*-
2 /**
3  * \file QBranch.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 QBRANCH_H
13 #define QBRANCH_H
14
15 #include "QDialogView.h"
16
17
18 class ControlBranch;
19 class QBranchDialog;
20
21 /** This class provides a QT implementation of the Branch Dialog.
22  */
23 class QBranch : public QController<ControlBranch, QView<QBranchDialog> >
24 {
25 public:
26         friend class QBranchDialog;
27
28         /// Constructor
29         QBranch(Dialog &);
30 private:
31         ///  Apply changes
32         virtual void apply();
33         /// Build the dialog
34         virtual void build_dialog();
35         /// Update dialog before showing it
36         virtual void update_contents();
37 };
38
39 #endif // QBRANCH_H