]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GMathPanel.h
Minipage is no more (long live the box inset)
[lyx.git] / src / frontends / gtk / GMathPanel.h
1 // -*- C++ -*-
2 /**
3  * \file GMathPanel.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Huang Ying
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GMATH_PANEL_H
13 #define GMATH_PANEL_H
14
15 #include "GViewBase.h"
16 #include "support/lstrings.h"
17
18 class ControlMath;
19
20 class GMathPanel : public GViewCB<ControlMath, GViewGladeB>
21 {
22 public:
23         GMathPanel(Dialog & parent);
24 private:
25         virtual void apply() {}
26         virtual void update() {}
27         virtual void doBuild();
28         void onShowDialog(char const * dialogName);
29         void onSuperClicked();
30         void onSubClicked();
31         void onEquationClicked();
32         void onInsert(char const * what);
33         void onFunctionSelected();
34         Gtk::TreeView * functions_;
35         Gtk::TreeModelColumn<Glib::ustring> listCol_;
36         Gtk::TreeModel::ColumnRecord listCols_;
37         Glib::RefPtr<Gtk::ListStore> listStore_;
38         Glib::RefPtr<Gtk::TreeSelection> listSel_;
39 };
40
41 #endif