wxMaxima
Loading...
Searching...
No Matches
MaximaCommandMenus.h
Go to the documentation of this file.
1// -*- mode: c++; c-file-style: "linux"; c-basic-offset: 2; indent-tabs-mode: nil -*-
2//
3// Copyright (C) 2026 Gunter Königsmann <wxMaxima@physikbuch.de>
4//
5// This program is free software; you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation; either version 2 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15//
16// You should have received a copy of the GNU General Public License
17// along with this program; if not, write to the Free Software
18// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19//
20// SPDX-License-Identifier: GPL-2.0+
21
35#ifndef MAXIMACOMMANDMENUS_H
36#define MAXIMACOMMANDMENUS_H
37
38#include <wx/event.h>
39
40class wxMaxima;
41
49{
50public:
51 explicit MaximaCommandMenus(wxMaxima &wxm) : m_wxMaxima(wxm) {}
52
55 void PlotMenu(wxCommandEvent &event);
56
59 void CalculusMenu(wxCommandEvent &event);
60
63 void NumericalMenu(wxCommandEvent &event);
64
67 void SimplifyMenu(wxCommandEvent &event);
68
71 void EquationsMenu(wxCommandEvent &event);
72
75 void MatrixMenu(wxCommandEvent &event);
76
79 void ListMenu(wxCommandEvent &event);
80
83 void PropertiesMenu(wxCommandEvent &event);
84
87 void StatsMenu(wxCommandEvent &event);
88
91 void DrawMenu(wxCommandEvent &event);
92
95 void HelpMenu(wxCommandEvent &event);
96
99 void FileMenu(wxCommandEvent &event);
100
103 void OnInsertMenu(wxCommandEvent &event);
104
108 void EditMenu(wxCommandEvent &event);
109
113 void PopupMenu(wxCommandEvent &event);
114
118 void MaximaMenu(wxCommandEvent &event);
119
121 void OnDemoFileMenu(wxCommandEvent &ev);
122
124 void EditInputMenu(wxCommandEvent &event);
125
127 void PrintMenu(wxCommandEvent &event);
128
129private:
132 wxMaxima &m_wxMaxima;
133};
134
135#endif // MAXIMACOMMANDMENUS_H
The menu-command handlers extracted from the wxMaxima god class.
Definition: MaximaCommandMenus.h:49
void PlotMenu(wxCommandEvent &event)
Handles the "Plot" menu and its toolbar buttons (2D/3D plot wizards, plot-format wizard,...
Definition: MaximaCommandMenus.cpp:76
void EditInputMenu(wxCommandEvent &event)
Activates the selected input cell's editor for editing (popup "edit").
Definition: MaximaCommandMenus.cpp:4515
void DrawMenu(wxCommandEvent &event)
Handles the "Draw" menu (2D/3D scene wizards plus the explicit/implicit/ parametric/points/contour/....
Definition: MaximaCommandMenus.cpp:1900
void StatsMenu(wxCommandEvent &event)
Handles the "Statistics" menu (mean/median/.../test wizards and the read-/write-matrix-from-....
Definition: MaximaCommandMenus.cpp:1760
void OnInsertMenu(wxCommandEvent &event)
Handles the "Cell"/insert menu (cell insertion and type conversion, insert image, fold/unfold,...
Definition: MaximaCommandMenus.cpp:2387
void HelpMenu(wxCommandEvent &event)
Handles the "Help" menu (help browser/sidebar toggles, About/License/ ChangeLog dialogs,...
Definition: MaximaCommandMenus.cpp:2064
void OnDemoFileMenu(wxCommandEvent &ev)
Handles a click on one of the dynamically-built demo-file menu items.
Definition: MaximaCommandMenus.cpp:4508
void ListMenu(wxCommandEvent &event)
Handles the "List" menu (build/sort/map/… lists, .csv list import/export and the actual-values-storag...
Definition: MaximaCommandMenus.cpp:1415
void MaximaMenu(wxCommandEvent &event)
Handles the "Maxima" menu (restart/kill toggles, the debug/display/time options, the evaluate-all/-ti...
Definition: MaximaCommandMenus.cpp:3667
void FileMenu(wxCommandEvent &event)
Handles the "File" menu (open/save/save-as, export, load/batch package, compare-files diff frame,...
Definition: MaximaCommandMenus.cpp:2169
void PopupMenu(wxCommandEvent &event)
Handles the worksheet/table-of-contents right-click context menu (fold/ unfold, image max-size/resolu...
Definition: MaximaCommandMenus.cpp:3111
void EquationsMenu(wxCommandEvent &event)
Handles the "Equations" menu and its toolbar buttons (solve/solve-numerically, the algebraic/linear s...
Definition: MaximaCommandMenus.cpp:883
void PrintMenu(wxCommandEvent &event)
Handles the "Print" menu item (prints the worksheet).
Definition: MaximaCommandMenus.cpp:4529
void PropertiesMenu(wxCommandEvent &event)
Handles the "Variable/Function properties" menu (declare/remove properties, assume/forget,...
Definition: MaximaCommandMenus.cpp:1637
void EditMenu(wxCommandEvent &event)
Handles the "Edit" menu (copy/cut/paste/undo/redo, the copy-as-image/ MathML/RTF variants,...
Definition: MaximaCommandMenus.cpp:2642
void CalculusMenu(wxCommandEvent &event)
Handles the "Calculus" menu and its toolbar buttons (integrate/diff/limit/ sum/series wizards and the...
Definition: MaximaCommandMenus.cpp:128
void NumericalMenu(wxCommandEvent &event)
Handles the "Numeric" menu (float/bfloat/engineering-format toggles and the numeric-integration / to-...
Definition: MaximaCommandMenus.cpp:323
void MatrixMenu(wxCommandEvent &event)
Handles the "Algebra"/matrix menu and its toolbar buttons (enter/generate matrix wizards,...
Definition: MaximaCommandMenus.cpp:1108
void SimplifyMenu(wxCommandEvent &event)
Handles the "Simplify" menu and its toolbar buttons (ratsimp/factor/expand/ trig/rectform/....
Definition: MaximaCommandMenus.cpp:610
Definition: wxMaxima.h:75