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