wxMaxima
|
The configuration dialog. More...
#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) | |
The constructor. | |
~ConfigDialogue () | |
The destructor. | |
void | OnChangeColor (wxColourPickerEvent &event) |
Called if the color of an item has been changed. | |
void | WriteSettings () |
Stores the settings from the configuration dialog. | |
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 | 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 | OnwxMathMLBrowse (wxCommandEvent &event) |
void | OnIdle (wxIdleEvent &event) |
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. | |
Static Protected Member Functions | |
static void | CopyConfig (wxConfigBase *src, wxConfigBase *dst, wxString dir=wxS("/")) |
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_internalHelpBrowser |
wxCheckBox * | m_singlePageManual |
wxRadioButton * | m_maximaUsesInternalHelp |
wxRadioButton * | m_maximaUsesHtmlHelp |
wxRadioButton * | m_maximaUsesWxmaximaHelp |
wxRadioButton * | m_autodetectMathJaX |
Autodetect the mathJaX location? | |
wxRadioButton * | m_noAutodetectMathJaX |
The radio button that is set if m_autodetectMathJaX is unset. | |
wxRadioButton * | m_useGnuplot |
wxRadioButton * | m_useWgnuplot |
wxTextCtrl * | m_startupCommands |
A textbox containing maxima's startup commands. | |
wxTextCtrl * | m_wxStartupCommands |
A textbox containing wxMaxima's startup commands. | |
BinaryNameCtrl * | m_maximaUserLocation |
BinaryNameCtrl * | m_helpBrowserUserLocation |
wxTextCtrl * | m_documentclass |
wxTextCtrl * | m_documentclassOptions |
wxTextCtrl * | m_texPreamble |
wxCheckBox * | m_autoSave |
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 |
wxSpinCtrl * | m_printMargin_Top |
wxSpinCtrl * | m_printMargin_Bot |
wxSpinCtrl * | m_printMargin_Left |
wxSpinCtrl * | m_printMargin_Right |
wxRadioButton * | m_displayNDigits |
wxRadioButton * | m_displayAllDigits |
wxRadioButton * | m_linebreaksInLongNums |
wxSpinCtrl * | m_maxClipbrdBitmapMegabytes |
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_getStyleFont |
wxListBox * | m_styleFor |
wxColourPickerCtrl * | m_styleColor |
An example rectangle with the font color. | |
wxCheckBox * | m_boldCB |
wxCheckBox * | m_italicCB |
wxCheckBox * | m_slantedCB |
wxCheckBox * | m_strikethroughCB |
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::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.