wxMaxima
wxMaximaFrame.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) 2004-2015 Andrej Vodopivec <andrej.vodopivec@gmail.com>
4 // (C) 2012 Doug Ilijev <doug.ilijev@gmail.com>
5 // (C) 2014-2015 Gunter Königsmann <wxMaxima@physikbuch.de>
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 //
22 // SPDX-License-Identifier: GPL-2.0+
23 
30 #ifndef WXMAXIMAFRAME_H
31 #define WXMAXIMAFRAME_H
32 
33 #include "precomp.h"
34 #include <wx/wx.h>
35 
36 #include <wx/dirctrl.h>
37 #include <wx/filehistory.h>
38 #include <wx/listbox.h>
39 #include <wx/bmpbuttn.h>
40 #include <wx/arrstr.h>
41 #include <wx/aui/aui.h>
42 #include <wx/notifmsg.h>
43 #include <wx/wrapsizer.h>
44 
45 #include "Worksheet.h"
46 #include "RecentDocuments.h"
47 #include "Version.h"
48 #include "MainMenuBar.h"
49 #include "History.h"
50 #include "XmlInspector.h"
51 #include "StatusBar.h"
52 #include "LogPane.h"
53 #include "ButtonWrapSizer.h"
54 #include <list>
55 
56 
59 class wxMaximaFrame : public wxFrame
60 {
61 public:
62  wxMaximaFrame(wxWindow *parent, int id, const wxString &title,
63  const wxPoint &pos = wxDefaultPosition,
64  const wxSize &size = wxDefaultSize,
65  long style = wxDEFAULT_FRAME_STYLE | wxSYSTEM_MENU | wxCAPTION, bool becomeLogTarget = true);
66 
69  virtual ~wxMaximaFrame();
70 
76  void ShowToolBar(bool show);
77 
88  enum Event
89  {
90 
96  menu_pane_hideall = wxID_HIGHEST + 2500,
113 
119  menu_pane_dockAll,
120  input_line_id,
121  refresh_id,
122  menu_batch_id,
123  menu_load_id,
124  menu_sconsole_id,
125  menu_interrupt_id,
126  menu_solve,
127  menu_solve_to_poly,
128  menu_solve_num,
129  menu_allroots,
130  menu_bfallroots,
131  menu_realroots,
132  menu_solve_lin,
133  menu_solve_algsys,
134  menu_eliminate,
135  menu_solve_ode,
136  menu_ivp_1,
137  menu_ivp_2,
138  menu_bvp,
139  menu_gen_mat,
140  menu_gen_mat_lambda,
141  menu_enter_mat,
142  menu_csv2mat,
143  menu_mat2csv,
144  menu_csv2list,
145  menu_list2csv,
146  menu_matrix_row,
147  menu_matrix_col,
148  menu_matrix_row_list,
149  menu_matrix_col_list,
150  menu_submatrix,
151  menu_matrix_multiply,
152  menu_matrix_exponent,
153  menu_matrix_hadamard_product,
154  menu_matrix_hadamard_exponent,
155  menu_invert_mat,
156  menu_cpoly,
157  menu_determinant,
158  menu_rank,
159  menu_eigen,
160  menu_eigvect,
161  menu_fun_def,
162  menu_adjoint_mat,
163  menu_transpose,
164  menu_map_mat,
165  menu_ratsimp,
166  menu_radsimp,
167  menu_factor,
168  menu_gfactor,
169  menu_expand,
170  menu_talg,
171  menu_tellrat,
172  menu_modulus,
173  menu_trigsimp,
174  menu_trigreduce,
175  menu_trigexpand,
176  menu_trigrat,
177  menu_rectform,
178  menu_polarform,
179  menu_demoivre,
180  menu_exponentialize,
181  menu_num_out,
182  menu_stringdisp,
183  menu_to_float,
184  menu_to_bfloat,
185  menu_to_numer,
186  menu_num_domain,
187  menu_set_precision,
188  menu_set_displayprecision,
189  menu_engineeringFormat,
190  menu_engineeringFormatSetup,
191  menu_functions,
192  menu_variables,
193  menu_clear_var,
194  menu_clear_fun,
195  menu_integrate,
196  menu_risch,
197  menu_laplace,
198  menu_ilt,
199  menu_continued_fraction,
200  menu_gcd,
201  menu_lcm,
202  menu_divide,
203  menu_partfrac,
204  menu_sum,
205  menu_limit,
206  menu_lbfgs,
207  menu_series,
208  menu_pade,
209  menu_map,
210  menu_diff,
211  menu_solve_de,
212  menu_atvalue,
213  menu_lhs,
214  menu_rhs,
215  menu_wxmaximahelp,
216  menu_maximahelp,
217  menu_example,
218  menu_apropos,
219  menu_product,
220  menu_make_list,
221  menu_apply,
222  menu_time,
223  menu_factsimp,
224  menu_factcomb,
225  menu_realpart,
226  menu_imagpart,
227  menu_subst,
228  menu_jumptoerror,
229  menu_math_as_1D_ASCII,
230  menu_math_as_2D_ASCII,
231  menu_math_as_graphics,
232  menu_noAutosubscript,
233  menu_defaultAutosubscript,
234  menu_alwaysAutosubscript,
235  menu_autosubscriptIndividual,
236  menu_declareAutosubscript,
237  menu_noAutosubscriptIndividual,
238  menu_roundedMatrixParens,
239  menu_squareMatrixParens,
240  menu_straightMatrixParens,
241  menu_angledMatrixParens,
242  menu_noMatrixParens,
243  menu_draw_2d,
244  menu_draw_3d,
245  menu_draw_explicit,
246  menu_draw_implicit,
247  menu_draw_parametric,
248  menu_draw_points,
249  menu_draw_fgcolor,
250  menu_draw_fillcolor,
251  menu_draw_title,
252  menu_draw_key,
253  menu_draw_grid,
254  menu_draw_axis,
255  menu_draw_accuracy,
256  menu_draw_contour,
257  menu_license,
258  button_factor_id,
259  button_solve,
260  button_solve_ode,
261  button_limit,
262  button_taylor,
263  button_expand,
264  button_ratsimp,
265  button_radcan,
266  button_trigsimp,
267  button_trigexpand,
268  button_trigreduce,
269  button_trigrat,
270  button_integrate,
271  button_diff,
272  button_sum,
273  button_product,
274  button_button_constant,
275  button_factor,
276  button_subst,
277  button_plot2,
278  button_plot3,
279  button_rectform,
280  button_map,
281  gp_plot2,
282  gp_plot3,
283  menu_animationautostart,
284  menu_animationframerate,
285  menu_display,
286  menu_soft_restart,
287  menu_plot_format,
288  menu_build_info,
289  menu_bug_report,
290  menu_add_path,
291  menu_evaluate_all_visible,
292  menu_evaluate_all,
293  menu_show_tip,
294  menu_copy_matlab_from_worksheet,
295  menu_copy_tex_from_worksheet,
296  menu_copy_text_from_worksheet,
297  menu_logcontract,
298  menu_logexpand,
299  menu_to_fact,
300  menu_to_gamma,
301  menu_texform,
302  menu_debugmode,
303  menu_debugmode_off,
304  menu_debugmode_lisp,
305  menu_debugmode_all,
306  button_enter,
307  menu_zoom_80,
308  /* Instead of menu_zoom_100 we use the standard wxID_ZOOM_100, which displays an icon in the menu (currently Unix only) */
309  menu_zoom_120,
310  menu_zoom_150,
311  menu_zoom_200,
312  menu_zoom_300,
313  menu_copy_as_bitmap,
314  menu_copy_as_svg,
315  menu_save_as_svg,
316  menu_copy_as_emf,
317  menu_save_as_emf,
318  menu_copy_as_rtf,
319  menu_copy_to_file,
320  menu_export_html,
321  menu_change_var,
322  menu_nouns,
323  menu_evaluate,
324  menu_convert_to_code,
325  menu_add_comment,
326  menu_convert_to_comment,
327  menu_add_subsubsection,
328  menu_add_heading5,
329  menu_add_heading6,
330  menu_convert_to_subsubsection,
331  menu_convert_to_heading5,
332  menu_convert_to_heading6,
333  menu_add_subsection,
334  menu_convert_to_subsection,
335  menu_add_section,
336  menu_convert_to_section,
337  menu_add_title,
338  menu_convert_to_title,
339  menu_add_pagebreak,
340  menu_fold_all_cells,
341  menu_unfold_all_cells,
342  menu_insert_input,
343  menu_insert_previous_input,
344  menu_insert_previous_output,
345  menu_autocomplete,
346  menu_autocomplete_templates,
347  menu_paste_input,
348  menu_fullscreen,
349  menu_remove_output,
350  menu_list_create_from_elements,
351  menu_list_create_from_rule,
352  menu_list_create_from_list,
353  menu_list_create_from_args,
354  menu_list_list2matrix,
355  menu_list_matrix2list,
356  menu_list_actual_values_storage,
357  menu_list_sort,
358  menu_list_remove_duplicates,
359  menu_list_length,
360  menu_list_push,
361  menu_list_pop,
362  menu_list_reverse,
363  menu_list_first,
364  menu_list_last,
365  menu_list_lastn,
366  menu_list_rest,
367  menu_list_restN,
368  menu_list_nth,
369  menu_list_map,
370  menu_list_use_actual_values,
371  menu_list_extract_value,
372  menu_list_as_function_arguments,
373  menu_list_do_for_each_element,
374  menu_list_remove_element,
375  menu_list_append_item_start,
376  menu_list_append_item_end,
377  menu_list_append_list,
378  menu_list_interleave,
379  menu_recent_packages,
380  menu_recent_package_0,
381  menu_recent_package_1,
382  menu_recent_package_2,
383  menu_recent_package_3,
384  menu_recent_package_4,
385  menu_recent_package_5,
386  menu_recent_package_6,
387  menu_recent_package_7,
388  menu_recent_package_8,
389  menu_recent_package_9,
390  menu_recent_package_10,
391  menu_recent_package_11,
392  menu_recent_package_12,
393  menu_recent_package_13,
394  menu_recent_package_14,
395  menu_recent_package_15,
396  menu_recent_package_16,
397  menu_recent_package_17,
398  menu_recent_package_18,
399  menu_recent_package_19,
400  menu_recent_package_20,
401  menu_recent_package_21,
402  menu_recent_package_22,
403  menu_recent_package_23,
404  menu_recent_package_24,
405  menu_recent_package_25,
406  menu_recent_package_26,
407  menu_recent_package_27,
408  menu_recent_package_28,
409  menu_recent_package_29,
410  menu_recent_documents,
411  menu_recent_document_0,
412  menu_recent_document_1,
413  menu_recent_document_2,
414  menu_recent_document_3,
415  menu_recent_document_4,
416  menu_recent_document_5,
417  menu_recent_document_6,
418  menu_recent_document_7,
419  menu_recent_document_8,
420  menu_recent_document_9,
421  menu_recent_document_10,
422  menu_recent_document_11,
423  menu_recent_document_12,
424  menu_recent_document_13,
425  menu_recent_document_14,
426  menu_recent_document_15,
427  menu_recent_document_16,
428  menu_recent_document_17,
429  menu_recent_document_18,
430  menu_recent_document_19,
431  menu_recent_document_20,
432  menu_recent_document_21,
433  menu_recent_document_22,
434  menu_recent_document_23,
435  menu_recent_document_24,
436  menu_recent_document_25,
437  menu_recent_document_26,
438  menu_recent_document_27,
439  menu_recent_document_28,
440  menu_recent_document_29,
441  menu_recent_document_separator,
442  menu_unsaved_document_0,
443  menu_unsaved_document_1,
444  menu_unsaved_document_2,
445  menu_unsaved_document_3,
446  menu_unsaved_document_4,
447  menu_unsaved_document_5,
448  menu_unsaved_document_6,
449  menu_unsaved_document_7,
450  menu_unsaved_document_8,
451  menu_unsaved_document_9,
452  menu_unsaved_document_10,
453  menu_unsaved_document_11,
454  menu_unsaved_document_12,
455  menu_unsaved_document_13,
456  menu_unsaved_document_14,
457  menu_unsaved_document_15,
458  menu_unsaved_document_16,
459  menu_unsaved_document_17,
460  menu_unsaved_document_18,
461  menu_unsaved_document_19,
462  menu_unsaved_document_20,
463  menu_unsaved_document_21,
464  menu_unsaved_document_22,
465  menu_unsaved_document_23,
466  menu_unsaved_document_24,
467  menu_unsaved_document_25,
468  menu_unsaved_document_26,
469  menu_unsaved_document_27,
470  menu_unsaved_document_28,
471  menu_unsaved_document_29,
472  menu_insert_image,
473  menu_stats_mean,
474  menu_stats_median,
475  menu_stats_var,
476  menu_stats_dev,
477  menu_stats_tt1,
478  menu_stats_tt2,
479  menu_stats_tnorm,
480  menu_stats_linreg,
481  menu_stats_lsquares,
482  menu_stats_histogram,
483  menu_stats_scatterplot,
484  menu_stats_barsplot,
485  menu_stats_piechart,
486  menu_stats_boxplot,
487  menu_stats_readm,
488  menu_stats_enterm,
489  menu_stats_subsample,
490  menu_format_code,
491  menu_format_text,
492  menu_format_heading6,
493  menu_format_heading5,
494  menu_format_subsubsection,
495  menu_format_subsection,
496  menu_format_section,
497  menu_format_title,
498  menu_format_image,
499  menu_format_pagebreak,
500  menu_help_tutorials,
501  menu_help_tutorials_start,
503  menu_help_diffequations,
504  menu_help_numberformats,
505  menu_help_tolerances,
506  menu_help_listaccess,
507  menu_help_memoizing,
508  menu_help_3d,
509  menu_help_varnames,
510  menu_help_fittingData,
511  menu_help_tutorials_end,
513  menu_history_previous,
514  menu_history_next,
515  menu_check_updates,
516  socket_client_id,
517  socket_server_id,
518  maxima_process_id,
519  gnuplot_query_terminals_id,
520  gnuplot_process_id,
521  menu_additionalSymbols,
522  enable_unicodePane,
523  menu_showLatinGreekLookalikes,
524  menu_showGreekMu,
525  menu_invertWorksheetBackground
526  };
527 
533  void UpdateRecentDocuments();
534 
540  bool IsPaneDisplayed(Event id);
541 
549  void ShowPane(Event id, bool show = true);
550 
552  void AddToHistory(const wxString &cmd)
553  { m_history->AddToHistory(cmd); }
554 
555  enum ToolbarStatus
556  {
557  wait_for_start,
558  process_wont_start,
559  sending,
560  waiting,
561  calculating,
562  parsing,
563  transferring,
564  userinput,
565  disconnected
566  };
567 
571  void EvaluationQueueLength(int length, int numberOfCommands = -1);
572 
579  void StatusMaximaBusy(ToolbarStatus status){m_StatusMaximaBusy_next = status;}
580  void UpdateStatusMaximaBusy();
581 
583  ToolbarStatus m_StatusMaximaBusy;
584 
585  ToolbarStatus m_StatusMaximaBusy_next;
586 
588  void StatusSaveStart();
589 
591  void StatusSaveFinished();
592 
594  void StatusSaveFailed();
595 
597  void StatusExportStart();
598 
600  void StatusExportFinished();
601 
603  void StatusExportFailed();
604 
605 protected:
609  long m_pid;
611  wxString m_tempfileName;
613  void OnNotificationClose(wxCommandEvent WXUNUSED(&event));
619  wxMenu *m_FileMenu;
621  wxMenu *m_EditMenu;
623  wxMenu *m_CellMenu;
631  wxMenu *m_MaximaMenu;
633  wxMenu *m_Algebra_Menu;
635  wxMenu *m_SimplifyMenu;
645  wxMenu *m_CalculusMenu;
647  wxMenu *m_PlotMenu;
649  wxMenu *m_listMenu;
651  wxMenu *m_NumericMenu;
653  wxMenu *m_HelpMenu;
655  void RemoveTempAutosavefile();
657  void ReReadConfig();
659  void RegisterAutoSaveFile();
665  void DockAllSidebars(wxCommandEvent &ev);
666 
667 private:
669  long m_bytesFromMaxima_last;
670  wxTimer m_bytesReadDisplayTimer;
672  bool m_StatusSaving;
673 
674  void SetupToolBar();
675 
679  void SetupMenu();
680 
681  wxWindow *CreateStatPane();
682 
683  wxWindow *CreateMathPane();
684 
685  wxWindow *CreateFormatPane();
686 
688  class DrawPane: public wxScrolled<wxPanel>
689  {
690  public:
691  explicit DrawPane(wxWindow *parent, int id = wxID_ANY);
699  void SetDimensions(int dimensions);
700  int GetDimensions() { return m_dimensions; }
701  protected:
702  void OnSize(wxSizeEvent &event);
703  private:
704  Buttonwrapsizer *m_grid;
705  wxButton *m_draw_setup2d;
706  wxButton *m_draw_setup3d;
707  wxButton *m_draw_explicit;
708  wxButton *m_draw_implicit;
709  wxButton *m_draw_parametric;
710  wxButton *m_draw_points;
711  wxButton *m_draw_fgcolor;
712  wxButton *m_draw_fillcolor;
713  wxButton *m_draw_title;
714  wxButton *m_draw_key;
715  wxButton *m_draw_grid;
716  wxButton *m_draw_axis;
717  wxButton *m_draw_contour;
718  wxButton *m_draw_accuracy;
719  int m_dimensions;
720  };
721 public:
722  void LeftStatusText(const wxString &text, bool saveInLog = true)
723  {m_newLeftStatusText = true; m_leftStatusText = text; if(saveInLog)wxLogMessage(text);}
724  void RightStatusText(const wxString &text, bool saveInLog = true)
725  {m_newRightStatusText = true; m_rightStatusText = text; if(saveInLog)wxLogMessage(text);}
726 protected:
738  virtual wxSize DoGetBestClientSize() const;
740  DrawPane *m_drawPane;
741 private:
742  class GreekPane : public wxScrolled<wxPanel>
743  {
744  public:
745  GreekPane(wxWindow *parent, Configuration *configuration, Worksheet *worksheet, int ID = wxID_ANY);
746  protected:
747  void UpdateSymbols();
748  void OnMouseRightDown(wxMouseEvent &event);
749  void OnMenu(wxCommandEvent &event);
750  void OnSize(wxSizeEvent &event);
751  private:
752  Configuration *m_configuration;
753  wxSizer *m_lowercaseSizer;
754  wxSizer *m_uppercaseSizer;
756  };
757 
758  class SymbolsPane : public wxScrolled<wxPanel>
759  {
760  public:
761  SymbolsPane(wxWindow *parent, Configuration *configuration, Worksheet *worksheet, int ID = wxID_ANY);
763  void UpdateUserSymbols();
764  protected:
765  void OnMouseRightDown(wxMouseEvent &event);
766  void OnMenu(wxCommandEvent &event);
767  void OnSize(wxSizeEvent &event);
768  private:
770  wxPanel *m_userSymbols;
772  std::list<wxWindow *> m_userSymbolButtons;
773  wxSizer *m_userSymbolsSizer;
774  Configuration *m_configuration;
776  };
777 
778  wxPanel *CreateSymbolsPane();
779 
780 protected:
781  bool m_historyVisible;
782  bool m_xmlMonitorVisible;
783  SymbolsPane *m_symbolsPane;
790 
792  bool m_first;
793 
794  bool ToolbarIsShown();
796  wxAuiManager m_manager;
807  RecentDocuments m_recentDocuments;
808  RecentDocuments m_unsavedDocuments;
809  RecentDocuments m_recentPackages;
810  wxMenu *m_recentDocumentsMenu;
811  wxMenu *m_recentPackagesMenu;
812  wxMenu *m_autoSubscriptMenu;
813  wxMenu *m_equationTypeMenuMenu;
814  wxMenu *m_roundedMatrixParensMenu;
815 };
816 
817 #endif // WXMAXIMAFRAME_H
XmlInspector.h
wxMaximaFrame::m_commandsLeftInCurrentCell
int m_commandsLeftInCurrentCell
The number of commands left in the current of the evaluation queue item.
Definition: wxMaximaFrame.h:789
wxMaximaFrame::menu_pane_structure
@ menu_pane_structure
Both the "toggle the structure pane" command and the structure.
Definition: wxMaximaFrame.h:104
RecentDocuments.h
ButtonWrapSizer.h
wxMaximaFrame::UpdateRecentDocuments
void UpdateRecentDocuments()
Definition: wxMaximaFrame.cpp:1462
wxMaximaFrame::menu_pane_format
@ menu_pane_format
Both the "toggle the format pane" command and the format pane.
Definition: wxMaximaFrame.h:106
wxMaximaFrame::IsPaneDisplayed
bool IsPaneDisplayed(Event id)
Definition: wxMaximaFrame.cpp:1606
wxMaximaFrame::m_updateEvaluationQueueLengthDisplay
bool m_updateEvaluationQueueLengthDisplay
Do we need to update the display showing the evaluation queue length?
Definition: wxMaximaFrame.h:787
wxMaximaFrame::m_worksheet
Worksheet * m_worksheet
The worksheet itself.
Definition: wxMaximaFrame.h:804
wxMaximaFrame::m_bytesFromMaxima
long m_bytesFromMaxima
How many bytes did maxima send us until now?
Definition: wxMaximaFrame.h:607
wxMaximaFrame::m_NumericMenu
wxMenu * m_NumericMenu
The numeric menu.
Definition: wxMaximaFrame.h:651
wxMaximaFrame::m_logPane
LogPane * m_logPane
The panel the log and debug messages will appear on.
Definition: wxMaximaFrame.h:802
wxMaximaFrame::m_SimplifyMenu
wxMenu * m_SimplifyMenu
The simplify menu.
Definition: wxMaximaFrame.h:635
wxMaximaFrame::Event
Event
Definition: wxMaximaFrame.h:88
wxMaximaFrame::StatusSaveFinished
void StatusSaveFinished()
Set the status to "Maxima has finished saving".
Definition: wxMaximaFrame.cpp:587
wxMaximaFrame::m_MenuBar
MainMenuBar * m_MenuBar
The menu bar.
Definition: wxMaximaFrame.h:617
wxMaximaFrame::StatusExportFailed
void StatusExportFailed()
Set the status to "Exporting has failed".
Definition: wxMaximaFrame.cpp:621
wxMaximaFrame::m_listMenu
wxMenu * m_listMenu
The list menu.
Definition: wxMaximaFrame.h:649
wxMaximaFrame::m_CalculusMenu
wxMenu * m_CalculusMenu
The calculus menu.
Definition: wxMaximaFrame.h:645
wxMaximaFrame::menu_pane_log
@ menu_pane_log
Both the "toggle the log pane" command and the "log" pane.
Definition: wxMaximaFrame.h:109
wxMaximaFrame::m_tempfileName
wxString m_tempfileName
The last name GetTempAutosavefileName() has returned.
Definition: wxMaximaFrame.h:611
wxMaximaFrame::m_CellMenu
wxMenu * m_CellMenu
The cell menu.
Definition: wxMaximaFrame.h:623
wxMaximaFrame::m_statusBar
StatusBar * m_statusBar
The status bar.
Definition: wxMaximaFrame.h:615
wxMaximaFrame::m_newLeftStatusText
bool m_newLeftStatusText
Do we have new text to output in the Left half of the Status Bar?
Definition: wxMaximaFrame.h:732
wxMaximaFrame::m_PlotMenu
wxMenu * m_PlotMenu
The plot menu.
Definition: wxMaximaFrame.h:647
wxMaximaFrame::RemoveTempAutosavefile
void RemoveTempAutosavefile()
Remove an eventual temporary autosave file.
Definition: wxMaximaFrame.cpp:1591
wxMaximaFrame::m_pid
long m_pid
The process id of maxima. Is determined by ReadFirstPrompt.
Definition: wxMaximaFrame.h:609
wxMaximaFrame::m_HelpMenu
wxMenu * m_HelpMenu
The help menu.
Definition: wxMaximaFrame.h:653
History::AddToHistory
void AddToHistory(const wxString &cmd)
Add a file to the recently opened files list.
Definition: History.cpp:221
Buttonwrapsizer
Definition: ButtonWrapSizer.h:39
wxMaximaFrame::StatusMaximaBusy
void StatusMaximaBusy(ToolbarStatus status)
Definition: wxMaximaFrame.h:579
wxMaximaFrame::m_Simplify_Gamma_Sub
wxMenu * m_Simplify_Gamma_Sub
The factorials and gamma submenu.
Definition: wxMaximaFrame.h:637
wxMaximaFrame::m_rightStatusText
wxString m_rightStatusText
The text for the Right half of the Status Bar.
Definition: wxMaximaFrame.h:734
wxMaximaFrame::EvaluationQueueLength
void EvaluationQueueLength(int length, int numberOfCommands=-1)
Definition: wxMaximaFrame.cpp:492
wxMaximaFrame::m_first
bool m_first
Do we expect the 1st prompt from maxima to appear?
Definition: wxMaximaFrame.h:792
wxMaximaFrame::StatusExportStart
void StatusExportStart()
Set the status to "Maxima is exporting".
Definition: wxMaximaFrame.cpp:597
wxMaximaFrame::menu_pane_hideall
@ menu_pane_hideall
Definition: wxMaximaFrame.h:96
wxMaximaFrame::menu_pane_unicode
@ menu_pane_unicode
Both the "toggle the unicode pane" command and the "unicode" pane.
Definition: wxMaximaFrame.h:108
StatusBar.h
wxMaximaFrame::OnNotificationClose
void OnNotificationClose(wxCommandEvent WXUNUSED(&event))
Issued if a notification is closed.
StatusBar
Definition: StatusBar.h:42
wxMaximaFrame::DockAllSidebars
void DockAllSidebars(wxCommandEvent &ev)
Definition: wxMaximaFrame.cpp:1656
wxMaximaFrame::m_EditMenu
wxMenu * m_EditMenu
The edit menu.
Definition: wxMaximaFrame.h:621
wxMaximaFrame::m_Maxima_Panes_Sub
wxMenu * m_Maxima_Panes_Sub
The panes submenu.
Definition: wxMaximaFrame.h:627
wxMaximaFrame::m_xmlInspector
XmlInspector * m_xmlInspector
A XmlInspector-like xml monitor.
Definition: wxMaximaFrame.h:798
wxMaximaFrame::menu_pane_xmlInspector
@ menu_pane_xmlInspector
Both the "toggle the xml monitor" command and the monitor pane.
Definition: wxMaximaFrame.h:105
wxMaximaFrame::m_FileMenu
wxMenu * m_FileMenu
The file menu.
Definition: wxMaximaFrame.h:619
wxMaximaFrame::m_debugTypeMenu
wxMenu * m_debugTypeMenu
Contains the menu for the debugger trigger settingxc.
Definition: wxMaximaFrame.h:639
wxMaximaFrame::~wxMaximaFrame
virtual ~wxMaximaFrame()
Definition: wxMaximaFrame.cpp:628
wxMaximaFrame::menu_pane_history
@ menu_pane_history
Both the "toggle the history pane" command and the history pane.
Definition: wxMaximaFrame.h:103
wxMaximaFrame::menu_pane_variables
@ menu_pane_variables
Both the "toggle the variables pane" command and the "variables" pane.
Definition: wxMaximaFrame.h:110
wxMaximaFrame::StatusSaveFailed
void StatusSaveFailed()
Set the status to "Saving has failed".
Definition: wxMaximaFrame.cpp:614
LogPane
Definition: LogPane.h:35
wxMaximaFrame::DoGetBestClientSize
virtual wxSize DoGetBestClientSize() const
The default size for the window.
Definition: wxMaximaFrame.cpp:482
wxMaximaFrame::m_leftStatusText
wxString m_leftStatusText
The text for the Left half of the Status Bar.
Definition: wxMaximaFrame.h:736
wxMaximaFrame::menu_pane_symbols
@ menu_pane_symbols
Both the "toggle the symbols pane" command for the "symbols" pane.
Definition: wxMaximaFrame.h:112
wxMaximaFrame::m_Simplify_Complex_Sub
wxMenu * m_Simplify_Complex_Sub
The complex submenu.
Definition: wxMaximaFrame.h:643
wxMaximaFrame::m_Edit_Zoom_Sub
wxMenu * m_Edit_Zoom_Sub
The zoom submenu.
Definition: wxMaximaFrame.h:625
Worksheet.h
wxMaximaFrame::RegisterAutoSaveFile
void RegisterAutoSaveFile()
Remember a temporary autosave file name.
Definition: wxMaximaFrame.cpp:1581
MainMenuBar.h
wxMaximaFrame::StatusExportFinished
void StatusExportFinished()
Set the status to "Maxima has finished exporting".
Definition: wxMaximaFrame.cpp:604
wxMaximaFrame::m_drawDimensions_last
long m_drawDimensions_last
Are we inside a 2d or 3d draw command?
Definition: wxMaximaFrame.h:728
History
Definition: History.h:55
wxMaximaFrame::m_newRightStatusText
bool m_newRightStatusText
Do we have new text to output in the Right half of the Status Bar?
Definition: wxMaximaFrame.h:730
wxMaximaFrame::m_manager
wxAuiManager m_manager
The manager for dynamic screen layouts.
Definition: wxMaximaFrame.h:796
Configuration
Definition: Configuration.h:83
wxMaximaFrame::menu_pane_math
@ menu_pane_math
Definition: wxMaximaFrame.h:102
wxMaximaFrame::menu_pane_greek
@ menu_pane_greek
Both the "toggle the greek pane" command and the "greek" pane.
Definition: wxMaximaFrame.h:107
wxMaximaFrame::m_MaximaMenu
wxMenu * m_MaximaMenu
The maxima menu.
Definition: wxMaximaFrame.h:631
MainMenuBar
Definition: MainMenuBar.h:36
wxMaximaFrame::m_history
History * m_history
The history pane.
Definition: wxMaximaFrame.h:806
wxMaximaFrame::m_Algebra_Menu
wxMenu * m_Algebra_Menu
The algebra menu.
Definition: wxMaximaFrame.h:633
wxMaximaFrame
Definition: wxMaximaFrame.h:59
Worksheet
Definition: Worksheet.h:86
XmlInspector
Definition: XmlInspector.h:39
wxMaximaFrame::m_StatusMaximaBusy
ToolbarStatus m_StatusMaximaBusy
True=Maxima is currently busy.
Definition: wxMaximaFrame.h:583
wxMaximaFrame::ShowToolBar
void ShowToolBar(bool show)
Definition: wxMaximaFrame.cpp:2326
wxMaximaFrame::StatusSaveStart
void StatusSaveStart()
Set the status to "Maxima is saving".
Definition: wxMaximaFrame.cpp:580
wxMaximaFrame::menu_show_toolbar
@ menu_show_toolbar
End of bundled tutorials.
Definition: wxMaximaFrame.h:512
wxMaximaFrame::m_forceStatusbarUpdate
bool m_forceStatusbarUpdate
true=force an update of the status bar at the next call of StatusMaximaBusy()
Definition: wxMaximaFrame.h:800
wxMaximaFrame::AddToHistory
void AddToHistory(const wxString &cmd)
Adds a command to the list of recently used maxima commands.
Definition: wxMaximaFrame.h:552
wxMaximaFrame::ShowPane
void ShowPane(Event id, bool show=true)
Definition: wxMaximaFrame.cpp:1673
wxMaximaFrame::m_EvaluationQueueLength
int m_EvaluationQueueLength
The current length of the evaluation queue of commands we still need to send to maxima.
Definition: wxMaximaFrame.h:785
History.h
wxMaximaFrame::m_EquationsMenu
wxMenu * m_EquationsMenu
The equations menu.
Definition: wxMaximaFrame.h:629
wxMaximaFrame::menu_pane_stats
@ menu_pane_stats
Definition: wxMaximaFrame.h:118
wxMaximaFrame::ReReadConfig
void ReReadConfig()
Re-read the configuration.
Definition: wxMaximaFrame.cpp:1547
wxScrolled
Definition: CellPointers.h:32
RecentDocuments
A class that maintains a list of recent documents.
Definition: RecentDocuments.h:41
wxMaximaFrame::m_drawPane
DrawPane * m_drawPane
The sidebar with the draw commands.
Definition: wxMaximaFrame.h:740
wxMaximaFrame::menu_pane_draw
@ menu_pane_draw
Both the "toggle the draw pane" command for the "draw" pane.
Definition: wxMaximaFrame.h:111
wxMaximaFrame::m_Simplify_Trig_Sub
wxMenu * m_Simplify_Trig_Sub
The trigonometric submenu.
Definition: wxMaximaFrame.h:641
wxMaximaFrame::menu_help_solving
@ menu_help_solving
Start of bundled tutorials.
Definition: wxMaximaFrame.h:502