![]() |
wxMaxima
|
#include <ConfigDialogue.h>


Public Types | |
| enum | htmlExportFormats { mathJaX_TeX = 0, bitmap = 1, mathML_mathJaX = 2, svg = 3 } |
| The export formats we support for HTML equations. | |
Public Member Functions | |
| ConfigDialogue (wxWindow *parent, Configuration *cfg) | |
| The constructor. | |
| ~ConfigDialogue () | |
| The destructor. | |
| void | OnChangeColor () |
| void | WriteSettings () |
Protected Member Functions | |
| void | OnImport (wxCommandEvent &event) |
| void | OnReloadAll (wxCommandEvent &event) |
| void | OnReloadStyles (wxCommandEvent &event) |
| void | OnResetAllToDefaults (wxCommandEvent &event) |
| void | OnExportAll (wxCommandEvent &event) |
| void | OnResetStyles (wxCommandEvent &event) |
| void | OnChangeMaximaEnvVar (wxGridEvent &event) |
| void | OnMaximaEnvRightClick (wxGridEvent &event) |
| void | OnMouseMotion_MaximaEnv (wxMouseEvent &event) |
| void | OnNewEnvMenu (wxCommandEvent &event) |
| void | OnClickMaximaEnvVal (int row) |
| void | OnChangeMaximaCellClick (wxGridEvent &event) |
| void | OnTabChange (wxBookCtrlEvent &event) |
| Called if the currently active dialogue sheet is changed. | |
| void | OnStyleToEditChanged (wxCommandEvent &event) |
| Called if the user changes the style that is to be edited. | |
| void | MaximaLocationChanged (wxCommandEvent &unused) |
| Is called when the path to the maxima binary was changed. | |
| void | UsesvgChanged (wxCommandEvent &event) |
| Is called when the path to the maxima binary was changed. | |
| void | OnClose (wxCloseEvent &event) |
| Is called when the configuration dialog is closed. | |
| void | OnMpBrowse (wxCommandEvent &event) |
| Starts the file chooser that allows selecting where the maxima binary lies. | |
| void | OnwxMathMLBrowse (wxCommandEvent &event) |
| void | OnHelpBrowserBrowse (wxCommandEvent &event) |
| void | OnIdle (wxIdleEvent &event) |
| void | OnFontButton (wxCommandEvent &event) |
| Starts the font selector dialog triggered by the math or default font buttons. | |
| void | OnChangeStyle (wxCommandEvent &event) |
| Called if a new item type that is to be styled is selected. | |
| void | OnChangeWarning (wxCommandEvent &event) |
| A message dialog that appears if a change cannot be applied now. | |
| void | OnCheckbox (wxCommandEvent &event) |
| Called if one of the checkboxes for bold, italic or underlined is toggled. | |
| void | UpdateExample () |
| Sets the style example's style on style changes. | |
| void | OnChangeFontFamily (wxCommandEvent &event) |
| Called if the font family is changed. | |
| void | LoadSave (wxCommandEvent &event) |
| A "export the configuration" dialog. | |
| TextStyle | GetSelectedStyle () const |
| Get the style currently selected in the m_styleFor control. | |
| void | UpdateButton (TextStyle style) |
| Sets the label for the font setting button given by the style (either TS_DEFAULT or TS_MATH) | |
Static Protected Member Functions | |
| static void | CopyConfig (wxConfigBase *src, wxConfigBase *dst, wxString dir=wxT("/")) |
| static TextStyle | StyleForListIndex (int index) |
| Map the style list index to a style. | |
| static int | StyleListIndexForStyle (TextStyle style) |
| Map the style to the style list index. | |
Protected Attributes | |
| wxGrid * | m_maximaEnvVariables |
| wxString | m_startupFileName |
| The name of maxima's startup file. | |
| wxString | m_wxStartupFileName |
| The name of wxMaxima's startup file. | |
| wxStaticText * | m_mp |
| The text "Maxima Program" that can change color. | |
| StringHash | m_maximaEnvDoc |
| wxRadioButton * | m_autodetectMaxima |
| Autodetect the maxima location? | |
| wxRadioButton * | m_noAutodetectMaxima |
| The radio button that is set if m_autodetectMaxima is unset. | |
| wxRadioButton * | m_autodetectHelpBrowser |
| wxRadioButton * | m_noAutodetectHelpBrowser |
| wxRadioButton * | m_autodetectMathJaX |
| Autodetect the mathJaX location? | |
| wxRadioButton * | m_noAutodetectMathJaX |
| The radio button that is set if m_autodetectMathJaX is unset. | |
| wxTextCtrl * | m_startupCommands |
| A textbox containing maxima's startup commands. | |
| wxTextCtrl * | m_wxStartupCommands |
| A textbox containing wxMaxima's startup commands. | |
| wxTextCtrl * | m_maximaUserLocation |
| wxTextCtrl * | m_helpBrowserUserLocation |
| wxTextCtrl * | m_documentclass |
| wxTextCtrl * | m_documentclassOptions |
| wxTextCtrl * | m_texPreamble |
| wxCheckBox * | m_autoSave |
| wxButton * | m_mpBrowse |
| wxButton * | m_wxMathMLBrowse |
| wxTextCtrl * | m_additionalParameters |
| wxTextCtrl * | m_mathJaxURL |
| wxChoice * | m_language |
| wxTextCtrl * | m_symbolPaneAdditionalChars |
| wxCheckBox * | m_abortOnError |
| wxCheckBox * | m_offerKnownAnswers |
| wxCheckBox * | m_restartOnReEvaluation |
| wxCheckBox * | m_wrapLatexMath |
| wxCheckBox * | m_usesvg |
| wxCheckBox * | m_antialiasLines |
| wxSpinCtrl * | m_defaultFramerate |
| wxSpinCtrl * | m_defaultPlotWidth |
| wxSpinCtrl * | m_defaultPlotHeight |
| wxSpinCtrl * | m_displayedDigits |
| wxRadioButton * | m_displayNDigits |
| wxRadioButton * | m_displayAllDigits |
| wxRadioButton * | m_linebreaksInLongNums |
| wxRadioButton * | m_automaticWxMathML |
| wxRadioButton * | m_userWxMathML |
| wxSpinCtrl * | m_maxClipbrdBitmapMegabytes |
| wxTextCtrl * | m_wxMathMLLocation |
| wxCheckBox * | m_TeXExponentsAfterSubscript |
| A checkbox that asks if TeX should put the exponents above or after the subscripts. | |
| wxCheckBox * | m_usePartialForDiff |
| A checkbox that asks if TeX should use the \partial symbol for representing diff() | |
| wxCheckBox * | m_exportContainsWXMX |
| A checkbox that asks if all newlines in text cells have to be passed to HTML. | |
| wxCheckBox * | m_printBrackets |
| wxChoice * | m_exportWithMathJAX |
| wxCheckBox * | m_matchParens |
| wxCheckBox * | m_showMatchingParens |
| wxChoice * | m_showLength |
| wxChoice * | m_autosubscript |
| wxRadioButton * | m_enterEvaluates |
| wxRadioButton * | m_ctrlEnterEvaluates |
| wxCheckBox * | m_numpadEnterEvaluates |
| wxCheckBox * | m_saveImgFileName |
| wxCheckBox * | m_saveUntitled |
| wxCheckBox * | m_openHCaret |
| wxCheckBox * | m_insertAns |
| wxCheckBox * | m_autoIndent |
| wxCheckBox * | m_cursorJump |
| wxCheckBox * | m_hideBrackets |
| wxCheckBox * | m_indentMaths |
| wxChoice * | m_autoWrap |
| wxSpinCtrl * | m_labelWidth |
| wxSpinCtrl * | m_undoLimit |
| wxSpinCtrl * | m_recentItems |
| wxSpinCtrl * | m_bitmapScale |
| wxSpinCtrlDouble * | m_printScale |
| wxCheckBox * | m_fixReorderedIndices |
| wxCheckBox * | m_incrementalSearch |
| wxCheckBox * | m_notifyIfIdle |
| wxChoice * | m_showUserDefinedLabels |
| wxButton * | m_getDefaultFont |
| wxButton * | m_getMathFont |
| wxButton * | m_getStyleFont |
| wxListBox * | m_styleFor |
| ColorPanel * | m_styleColor |
| An example rectangle with the font color. | |
| wxCheckBox * | m_boldCB |
| wxCheckBox * | m_italicCB |
| wxCheckBox * | m_underlinedCB |
| wxCheckBox * | m_fixedFontInTC |
| wxCheckBox * | m_unixCopy |
| wxCheckBox * | m_changeAsterisk |
| wxCheckBox * | m_hidemultiplicationSign |
| wxCheckBox * | m_latin2Greek |
| wxCheckBox * | m_useUnicodeMaths |
| wxCheckBox * | m_keepPercentWithSpecials |
| wxBookCtrlBase * | m_notebook |
| wxButton * | m_saveStyle |
| wxButton * | m_loadStyle |
| wxSpinCtrl * | m_defaultPort |
| ExamplePanel * | m_examplePanel |
| wxSpinCtrl * | m_maxGnuplotMegabytes |
| wxSpinCtrl * | m_autosaveMinutes |
| wxTextCtrl * | m_autoMathJaxURL |
| int | m_maximaEmvRightClickRow = 0 |
| int | m_fontSize |
| The size of the text font. | |
| int | m_mathFontSize |
| The size of the maths font. | |
| std::unique_ptr< wxImageList > | m_imageList |
| A list containing the pictograms for the tabs. | |
The configuration dialog
This class draws and handles the configuration dialog.
Code that needs to know the value of the preferences that are set here reads them directly using config->Read , instead.
| void ConfigDialogue::OnChangeColor | ( | ) |
Called if the color of an item has been changed
called from class ColorPanel
| void ConfigDialogue::WriteSettings | ( | ) |
Stores the settings from the configuration dialog.
wxWidgets knows how to store the settings to gconf, the registry or wherever the current system expects settings to be saved to.
1.8.17