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
66 void CatalogWizard(wxCommandEvent &event);
67
70 void NumericalMenu(wxCommandEvent &event);
71
74 void SimplifyMenu(wxCommandEvent &event);
75
78 void EquationsMenu(wxCommandEvent &event);
79
82 void MatrixMenu(wxCommandEvent &event);
83
86 void ListMenu(wxCommandEvent &event);
87
90 void PropertiesMenu(wxCommandEvent &event);
91
94 void StatsMenu(wxCommandEvent &event);
95
98 void DrawMenu(wxCommandEvent &event);
99
102 void HelpMenu(wxCommandEvent &event);
103
106 void FileMenu(wxCommandEvent &event);
107
110 void OnInsertMenu(wxCommandEvent &event);
111
115 void EditMenu(wxCommandEvent &event);
116
120 void PopupMenu(wxCommandEvent &event);
121
125 void MaximaMenu(wxCommandEvent &event);
126
128 void OnDemoFileMenu(wxCommandEvent &ev);
129
131 void EditInputMenu(wxCommandEvent &event);
132
134 void PrintMenu(wxCommandEvent &event);
135
136private:
139 wxMaxima &m_wxMaxima;
140};
141
142#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:82
void EditInputMenu(wxCommandEvent &event)
Activates the selected input cell's editor for editing (popup "edit").
Definition: MaximaCommandMenus.cpp:3533
void DrawMenu(wxCommandEvent &event)
Handles the "Draw" menu (2D/3D scene wizards plus the explicit/implicit/ parametric/points/contour/....
Definition: MaximaCommandMenus.cpp:839
void StatsMenu(wxCommandEvent &event)
Handles the "Statistics" menu (mean/median/.../test wizards and the read-/write-matrix-from-....
Definition: MaximaCommandMenus.cpp:769
void OnInsertMenu(wxCommandEvent &event)
Handles the "Cell"/insert menu (cell insertion and type conversion, insert image, fold/unfold,...
Definition: MaximaCommandMenus.cpp:1331
void HelpMenu(wxCommandEvent &event)
Handles the "Help" menu (help browser/sidebar toggles, About/License/ ChangeLog dialogs,...
Definition: MaximaCommandMenus.cpp:1003
void OnDemoFileMenu(wxCommandEvent &ev)
Handles a click on one of the dynamically-built demo-file menu items.
Definition: MaximaCommandMenus.cpp:3526
void ListMenu(wxCommandEvent &event)
Handles the "List" menu (build/sort/map/… lists, .csv list import/export and the actual-values-storag...
Definition: MaximaCommandMenus.cpp:596
void MaximaMenu(wxCommandEvent &event)
Handles the "Maxima" menu (restart/kill toggles, the debug/display/time options, the evaluate-all/-ti...
Definition: MaximaCommandMenus.cpp:2683
void FileMenu(wxCommandEvent &event)
Handles the "File" menu (open/save/save-as, export, load/batch package, compare-files diff frame,...
Definition: MaximaCommandMenus.cpp:1108
void PopupMenu(wxCommandEvent &event)
Handles the worksheet/table-of-contents right-click context menu (fold/ unfold, image max-size/resolu...
Definition: MaximaCommandMenus.cpp:2154
void EquationsMenu(wxCommandEvent &event)
Handles the "Equations" menu and its toolbar buttons (solve/solve-numerically, the algebraic/linear s...
Definition: MaximaCommandMenus.cpp:440
void PrintMenu(wxCommandEvent &event)
Handles the "Print" menu item (prints the worksheet).
Definition: MaximaCommandMenus.cpp:3547
void CatalogWizard(wxCommandEvent &event)
Opens the standard wizard wxm::WizardCatalog() lists for the event's ID.
Definition: MaximaCommandMenus.cpp:196
void PropertiesMenu(wxCommandEvent &event)
Handles the "Variable/Function properties" menu (declare/remove properties, assume/forget,...
Definition: MaximaCommandMenus.cpp:646
void EditMenu(wxCommandEvent &event)
Handles the "Edit" menu (copy/cut/paste/undo/redo, the copy-as-image/ MathML/RTF variants,...
Definition: MaximaCommandMenus.cpp:1592
void CalculusMenu(wxCommandEvent &event)
Handles the "Calculus" menu and its toolbar buttons (integrate/diff/limit/ sum/series wizards and the...
Definition: MaximaCommandMenus.cpp:134
void NumericalMenu(wxCommandEvent &event)
Handles the "Numeric" menu (float/bfloat/engineering-format toggles and the numeric-integration / to-...
Definition: MaximaCommandMenus.cpp:215
void MatrixMenu(wxCommandEvent &event)
Handles the "Algebra"/matrix menu and its toolbar buttons (enter/generate matrix wizards,...
Definition: MaximaCommandMenus.cpp:517
void SimplifyMenu(wxCommandEvent &event)
Handles the "Simplify" menu and its toolbar buttons (ratsimp/factor/expand/ trig/rectform/....
Definition: MaximaCommandMenus.cpp:291
Definition: wxMaxima.h:81