wxMaxima
Loading...
Searching...
No Matches
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
GenWizPanel Class Reference

A dockable, embeddable generic wizard. More...

#include <GenWizPanel.h>

Inheritance diagram for GenWizPanel:
[legend]
Collaboration diagram for GenWizPanel:
[legend]

Public Member Functions

 GenWizPanel (wxWindow *parent, Configuration *cfg, MaximaManual *manual, const wxString &description, const wxString &description_tooltip, const wxString &commandRule, const wxString &label1, const wxString &defaultval1, const wxString &tooltip1={}, const wxString &label2={}, const wxString &defaultval2={}, const wxString &tooltip2={}, const wxString &label3={}, const wxString &defaultval3={}, const wxString &tooltip3={}, const wxString &label4={}, const wxString &defaultval4={}, const wxString &tooltip4={}, const wxString &label5={}, const wxString &defaultval5={}, const wxString &tooltip5={}, const wxString &label6={}, const wxString &defaultval6={}, const wxString &tooltip6={}, const wxString &label7={}, const wxString &defaultval7={}, const wxString &tooltip7={}, const wxString &label8={}, const wxString &defaultval8={}, const wxString &tooltip8={}, const wxString &label9={}, const wxString &defaultval9={}, const wxString &tooltip9={})
 
 GenWizPanel (wxWindow *parent, Configuration *cfg, MaximaManual *manual, const wxString &description={}, const wxString &description_tooltip={}, const wxString &commandRule={}, bool dockable=true, const wxString &label1={}, const wxString &defaultval1={}, const wxString &tooltip1={}, const wxString &label2={}, const wxString &defaultval2={}, const wxString &tooltip2={}, const wxString &label3={}, const wxString &defaultval3={}, const wxString &tooltip3={}, const wxString &label4={}, const wxString &defaultval4={}, const wxString &tooltip4={}, const wxString &label5={}, const wxString &defaultval5={}, const wxString &tooltip5={}, const wxString &label6={}, const wxString &defaultval6={}, const wxString &tooltip6={}, const wxString &label7={}, const wxString &defaultval7={}, const wxString &tooltip7={}, const wxString &label8={}, const wxString &defaultval8={}, const wxString &tooltip8={}, const wxString &label9={}, const wxString &defaultval9={}, const wxString &tooltip9={})
 
void NewWizard (wxString description, const wxString &description_tooltip, const wxString &commandRule, const wxString &label1, const wxString &defaultval1, const wxString &tooltip1, const wxString &label2, const wxString &defaultval2, const wxString &tooltip2, const wxString &label3, const wxString &defaultval3, const wxString &tooltip3, const wxString &label4, const wxString &defaultval4, const wxString &tooltip4, const wxString &label5, const wxString &defaultval5, const wxString &tooltip5, const wxString &label6, const wxString &defaultval6, const wxString &tooltip6, const wxString &label7, const wxString &defaultval7, const wxString &tooltip7, const wxString &label8, const wxString &defaultval8, const wxString &tooltip8, const wxString &label9, const wxString &defaultval9, const wxString &tooltip9)
 Replace the contents of this panel with a new wizard.
 
wxString operator[] (int i) const
 Returns the contents of the nth field.
 
wxString GetOutput () const
 Returns the command the wizard has generated, if commandRule wasn't empty.
 
wxButton * GetOKButton () const
 
wxButton * GetAbortButton () const
 
wxButton * GetInsertButton () const
 
wxString GetHelpKeyword (wxWindowID ID)
 

Protected Types

typedef std::unordered_map< wxString, int, wxStringHash > keywordHash
 

Protected Member Functions

void OnSize (wxSizeEvent &event)
 
void UpdateOutput ()
 
void OnParamChange (wxCommandEvent &event)
 
void OnTextEnter (wxCommandEvent &event)
 
void OnNotebookPageChange (wxBookCtrlEvent &event)
 

Protected Attributes

wxNotebook * m_notebook
 
std::vector< BTextCtrl * > m_textctrl
 
std::vector< wxStaticText * > m_label
 
wxButton * button_1
 
wxButton * button_2
 
wxContextHelpButton * m_helpButton = NULL
 
wxButton * m_insertButton
 
wxString m_commandRule
 
wxTextCtrl * m_output
 
wxString m_description
 
wxString m_descriptionToolTip
 
wxString m_title
 
Configurationm_configuration
 
MaximaManualm_maximaManual
 

Detailed Description

A dockable, embeddable generic wizard.

The generic wizard dialogue we use almost everywhere where a wizard is needed.


The documentation for this class was generated from the following files: