]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormText.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormText.h
1 // -*- C++ -*-
2 /**
3  * \file FormText.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  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORMTEXT_H
13 #define FORMTEXT_H
14
15
16 #include "FormDialogView.h"
17
18 class ControlCommand;
19 struct FD_text;
20
21
22 class FormText : public FormController<ControlCommand, FormView<FD_text> > {
23 public:
24         ///
25         FormText(Dialog &, string const & title, string const & label);
26 private:
27         /// Set the Params variable for the Controller.
28         virtual void apply();
29         /// Build the dialog.
30         virtual void build();
31         /// Update dialog before/whilst showing it.
32         virtual void update();
33
34         ///
35         string const label_;
36 };
37
38 #endif // FORMTEXT_H