]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GMathPanel.h
gtk-patch_2004_2_9.new
[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 #include "GXpmBtnTbl.h"
18
19 class ControlMath;
20
21 class GMathPanel : public GViewCB<ControlMath, GViewGladeB>
22 {
23 public:
24         GMathPanel(Dialog & parent);
25 private:
26         virtual void apply() {}
27         virtual void update() {}
28         virtual void doBuild();
29         void onShowDialog(char const * dialogName);
30         void onTableUpClicked(int row, int col);
31         void onTableDownClicked(int row, int col);
32         void onSuperClicked();
33         void onSubClicked();
34         void onEquationClicked();
35         void onInsert(char const * what);
36         void onFunctionSelected();
37         Gtk::TreeView * functions_;
38         Gtk::TreeModelColumn<Glib::ustring> listCol_;
39         Gtk::TreeModel::ColumnRecord listCols_;
40         Glib::RefPtr<Gtk::ListStore> listStore_;
41         Glib::RefPtr<Gtk::TreeSelection> listSel_;
42         GXpmBtnTbl tableUp_;
43         GXpmBtnTbl tableDown_;
44 };
45
46 #endif