]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSpellchecker.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormSpellchecker.h
1 // -*- C++ -*-
2 /**
3  * \file FormSpellchecker.h
4  * Copyright 2001 The LyX Team.
5  * See the file COPYING.
6  *
7  * \author Edwin Leuven
8  */
9
10 #ifndef FORMSPELLCHECKER_H
11 #define FORMSPELLCHECKER_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18
19 class ControlSpellchecker;
20 struct FD_form_spellchecker;
21
22 /** This class provides an XForms implementation of the FormSpellchecker Dialog.
23  */
24 class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_form_spellchecker> > {
25 public:
26         ///
27         FormSpellchecker(ControlSpellchecker &);
28    
29 private:
30         /// not needed.
31         void apply() {}
32         /// Build the dialog
33         void build();
34         /// 
35         void update();
36
37         /// enable/disable widgets when start/stop
38         void stop(bool);
39         
40         /// update progress bar, set suggestions, exit message
41         void partialUpdate(int);
42
43         /// show an error message
44         void showMessage(const char * msg);
45
46         /// Filter the inputs
47         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
48    
49         /// Fdesign generated method
50         FD_form_spellchecker  * build_spellchecker();
51 };
52
53 #endif // FORMSPELLCHECKER_H