]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsPanel.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormMathsPanel.h
1 // -*- C++ -*-
2 /**
3  * \file FormMathsPanel.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alejandro Aguilar Sierra
8  * \author John Levon
9  * \author Angus Leeming
10  *
11  * Full author contact details are available in file CREDITS
12  */
13
14 #ifndef FORM_MATHSPANEL_H
15 #define FORM_MATHSPANEL_H
16
17
18 #include "FormBase.h"
19
20 class ControlMath;
21 struct FD_maths_panel;
22 class FormMathsBitmap;
23
24 /**
25  * This class provides an XForms implementation of the maths panel.
26  */
27 class FormMathsPanel : public FormCB<ControlMath, FormDB<FD_maths_panel> > {
28 public:
29         ///
30         FormMathsPanel();
31
32 private:
33         /// Not needed.
34         virtual void apply() {}
35         ///
36         virtual void update() {}
37
38         ///
39         virtual void build();
40         ///
41         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
42
43         /** Add a bitmap dialog to the store of all daughters_ and
44          *  return a pointer to the dialog, so that bitmaps can be added to it.
45          */
46         FormMathsBitmap * addDaughter(void * button, string const & title,
47                                       char const * const * data, int size);
48 };
49
50 #endif //  FORM_MATHSPANEL_H