Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mgSpecialSymPanel Class Reference

#include <SpecialSymDlg.h>

Inheritance diagram for mgSpecialSymPanel:

mgButtonListPanel mgMathBoxWndUser List of all members.

Detailed Description

Shows the user a palette which allows him to insert some special symbols in the math data.

Definition at line 63 of file SpecialSymDlg.h.

Public Member Functions

 mgSpecialSymPanel (wxWindow *parent, wxWindow *client, mgMathWnd *mathwnd, mgMathBox *mathbox, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 Constructs this dialog.

Private Member Functions

void OnButtons (wxCommandEvent &event)
void BuildButtons ()
wxString GetButtonLabel (int i)
 Returns the label of the n-th button.
wxString GetButtonTooltip (int i)
 Returns the tooltip for the n-th button.

Static Private Attributes

static wxString strSymbols = wxT("<=>")
 The string containing the special symbols.
static wxString strSymbolsTooltip [SPECIALSYMDLG_NUM_BUTTONS]
 The string containing the tooltips for the special symbols.


Constructor & Destructor Documentation

mgSpecialSymPanel::mgSpecialSymPanel wxWindow *  parent,
wxWindow *  client,
mgMathWnd mathwnd,
mgMathBox mathbox,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
 

Constructs this dialog.

This function works as the standard wxWindow constructors, with just two new parameters:

Parameters:
mathwnd The math window whose selected mathbox receives the commands.
mathbox The math box which receives the 'create greek symbol' commands.


Member Data Documentation

wxString mgSpecialSymPanel::strSymbolsTooltip [static, private]
 

Initial value:

 { wxT("Less or equal than"),
      wxT("Less than"), wxT("Equal to"), wxT("Different from"), wxT("Greater than"),
      wxT("Greater or equal than") }
The string containing the tooltips for the special symbols.

Definition at line 68 of file SpecialSymDlg.cpp.

Referenced by GetButtonTooltip().


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

Documentation generated with Doxygen on Sun Feb 6 17:19:28 2005
Visit MathStudio home page for more info

[ Top ]