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