]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormParagraph.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormParagraph.h
1 // -*- C++ -*-
2 /**
3  * \file FormParagraph.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 Vigna
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORM_PARAGRAPH_H
13 #define FORM_PARAGRAPH_H
14
15
16 #include "FormDialogView.h"
17 #include "RadioButtonGroup.h"
18
19 struct FD_paragraph;
20 class ControlParagraph;
21
22 /** This class provides an XForms implementation of the FormParagraph dialog.
23  */
24 class FormParagraph
25         : public FormController<ControlParagraph, FormView<FD_paragraph> > {
26 public:
27         ///
28         FormParagraph(Dialog &);
29 private:
30         /// Build the dialog
31         virtual void build();
32         /// Apply from dialog
33         virtual void apply();
34         /// Update the dialog
35         virtual void update();
36
37         /// Filter the inputs on callback from xforms
38         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
39
40         /// alignment radio buttons
41         RadioButtonGroup alignment_;
42 };
43
44 #endif