3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RangeEditorDialog Class Reference

#include <rangeEditDialog.h>

Inheritance diagram for RangeEditorDialog:
Inheritance graph
[legend]
Collaboration diagram for RangeEditorDialog:
Collaboration graph
[legend]

Public Member Functions

 RangeEditorDialog (wxWindow *parent, int id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
virtual void OnListPlots (wxCommandEvent &event)
 
virtual void OnGridRangesCellChange (wxGridEvent &event)
 
virtual void OnGridRangeClick (wxGridEvent &event)
 
virtual void OnGridIonClick (wxGridEvent &event)
 
virtual void OnGridRangesEditorShown (wxGridEvent &event)
 
virtual void OnGridIonsEditorShown (wxGridEvent &event)
 
virtual void OnGridIonsCellChange (wxGridEvent &event)
 
virtual void OnBtnRangeIonAdd (wxCommandEvent &event)
 
virtual void OnBtnRangeIonRemove (wxCommandEvent &event)
 
virtual void OnCheckShowOverlay (wxCommandEvent &event)
 
virtual void OnBtnOK (wxCommandEvent &event)
 
virtual void OnBtnCancel (wxCommandEvent &event)
 
virtual void OnSashVerticalDClick (wxSplitterEvent &event)
 
virtual void OnListOverlayCheck (wxCommandEvent &event)
 
virtual void OnListOverlayKeyDown (wxListEvent &event)
 
virtual void OnTextOverlay (wxCommandEvent &event)
 
virtual void OnTextOverlayEnter (wxCommandEvent &event)
 
virtual void OnTextOverlaySetFocus (wxFocusEvent &event)
 
void onPlotUpdate ()
 
void setPlotWrapper (const PlotWrapper &p)
 
void getModifiedRanges (std::map< const RangeFile *, const RangeFile *> &modRanges) const
 
virtual ~RangeEditorDialog ()
 

Protected Member Functions

void setRangeReady ()
 
 DECLARE_EVENT_TABLE ()
 

Protected Attributes

wxListBox * listPlots
 
wxPanel * noteLeftPlots
 
wxGrid * gridRanges
 
wxGrid * gridIons
 
wxButton * btnRangeIonAdd
 
wxButton * btnRangeIonRemove
 
wxPanel * noteLeftRanges
 
wxCheckBox * checkShowOverlay
 
wxTextCtrl * textOverlayCmpnt
 
wxCheckListBox * listOverlay
 
wxPanel * noteLeftOverlay
 
wxNotebook * notebookLeft
 
wxPanel * panelSplitLeft
 
MathGLPaneplotPanel
 
wxButton * btnOK
 
wxButton * btnCancel
 
wxPanel * panelSplitRight
 
wxSplitterWindow * splitVertical
 

Constructor & Destructor Documentation

◆ RangeEditorDialog()

RangeEditorDialog::RangeEditorDialog ( wxWindow *  parent,
int  id,
const wxString &  title,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE 
)

◆ ~RangeEditorDialog()

RangeEditorDialog::~RangeEditorDialog ( )
virtual

Member Function Documentation

◆ DECLARE_EVENT_TABLE()

RangeEditorDialog::DECLARE_EVENT_TABLE ( )
protected

◆ getModifiedRanges()

void RangeEditorDialog::getModifiedRanges ( std::map< const RangeFile *, const RangeFile *> &  modRanges) const

Referenced by MainWindowFrame::OnEditRange().

Here is the caller graph for this function:

◆ OnBtnCancel()

void RangeEditorDialog::OnBtnCancel ( wxCommandEvent &  event)
virtual

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnBtnOK()

void RangeEditorDialog::OnBtnOK ( wxCommandEvent &  event)
virtual

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnBtnRangeIonAdd()

void RangeEditorDialog::OnBtnRangeIonAdd ( wxCommandEvent &  event)
virtual

References ASSERT, GRID_FOCUS_IONS, GRID_FOCUS_NONE, GRID_FOCUS_RANGES, gridIons, gridRanges, setRangeReady(), and TRANS.

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnBtnRangeIonRemove()

void RangeEditorDialog::OnBtnRangeIonRemove ( wxCommandEvent &  event)
virtual

◆ OnCheckShowOverlay()

void RangeEditorDialog::OnCheckShowOverlay ( wxCommandEvent &  event)
virtual

References PlotWrapper::overlays, plotPanel, and PlotOverlays::setEnabled().

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnGridIonClick()

void RangeEditorDialog::OnGridIonClick ( wxGridEvent &  event)
virtual

References GRID_FOCUS_IONS.

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnGridIonsCellChange()

void RangeEditorDialog::OnGridIonsCellChange ( wxGridEvent &  event)
virtual

◆ OnGridIonsEditorShown()

void RangeEditorDialog::OnGridIonsEditorShown ( wxGridEvent &  event)
virtual

◆ OnGridRangeClick()

void RangeEditorDialog::OnGridRangeClick ( wxGridEvent &  event)
virtual

References GRID_FOCUS_RANGES.

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnGridRangesCellChange()

void RangeEditorDialog::OnGridRangesCellChange ( wxGridEvent &  event)
virtual

◆ OnGridRangesEditorShown()

void RangeEditorDialog::OnGridRangesEditorShown ( wxGridEvent &  event)
virtual

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnListOverlayCheck()

void RangeEditorDialog::OnListOverlayCheck ( wxCommandEvent &  event)
virtual

References listOverlay, PlotWrapper::overlays, plotPanel, and PlotOverlays::setEnabled().

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnListOverlayKeyDown()

void RangeEditorDialog::OnListOverlayKeyDown ( wxListEvent &  event)
virtual

References PlotOverlays::erase(), PlotOverlays::getOverlays(), PlotWrapper::overlays, and plotPanel.

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnListPlots()

void RangeEditorDialog::OnListPlots ( wxCommandEvent &  event)
virtual

References PlotWrapper::hideAll(), listPlots, plotID(), plotPanel, and PlotWrapper::setVisible().

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ onPlotUpdate()

void RangeEditorDialog::onPlotUpdate ( )

References ASSERT, MathGLPane::getLastEdited(), plotPanel, and setRangeReady().

Referenced by RangeEditorDialog().

Here is the caller graph for this function:

◆ OnSashVerticalDClick()

void RangeEditorDialog::OnSashVerticalDClick ( wxSplitterEvent &  event)
virtual

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnTextOverlay()

void RangeEditorDialog::OnTextOverlay ( wxCommandEvent &  event)
virtual

References RangeFile::decomposeIonNames(), stlStr(), and textOverlayCmpnt.

Referenced by ~RangeEditorDialog().

Here is the caller graph for this function:

◆ OnTextOverlayEnter()

void RangeEditorDialog::OnTextOverlayEnter ( wxCommandEvent &  event)
virtual

◆ OnTextOverlaySetFocus()

void RangeEditorDialog::OnTextOverlaySetFocus ( wxFocusEvent &  event)
virtual

References textOverlayCmpnt.

Referenced by RangeEditorDialog(), and ~RangeEditorDialog().

Here is the caller graph for this function:

◆ setPlotWrapper()

void RangeEditorDialog::setPlotWrapper ( const PlotWrapper p)

◆ setRangeReady()

void RangeEditorDialog::setRangeReady ( )
protected

References btnOK.

Referenced by OnBtnRangeIonAdd(), OnBtnRangeIonRemove(), OnGridIonsCellChange(), OnGridIonsEditorShown(), OnGridRangesCellChange(), and onPlotUpdate().

Here is the caller graph for this function:

Member Data Documentation

◆ btnCancel

wxButton* RangeEditorDialog::btnCancel
protected

◆ btnOK

wxButton* RangeEditorDialog::btnOK
protected

◆ btnRangeIonAdd

wxButton* RangeEditorDialog::btnRangeIonAdd
protected

◆ btnRangeIonRemove

wxButton* RangeEditorDialog::btnRangeIonRemove
protected

◆ checkShowOverlay

wxCheckBox* RangeEditorDialog::checkShowOverlay
protected

◆ gridIons

wxGrid* RangeEditorDialog::gridIons
protected

◆ gridRanges

wxGrid* RangeEditorDialog::gridRanges
protected

◆ listOverlay

wxCheckListBox* RangeEditorDialog::listOverlay
protected

◆ listPlots

wxListBox* RangeEditorDialog::listPlots
protected

◆ notebookLeft

wxNotebook* RangeEditorDialog::notebookLeft
protected

◆ noteLeftOverlay

wxPanel* RangeEditorDialog::noteLeftOverlay
protected

◆ noteLeftPlots

wxPanel* RangeEditorDialog::noteLeftPlots
protected

◆ noteLeftRanges

wxPanel* RangeEditorDialog::noteLeftRanges
protected

◆ panelSplitLeft

wxPanel* RangeEditorDialog::panelSplitLeft
protected

◆ panelSplitRight

wxPanel* RangeEditorDialog::panelSplitRight
protected

◆ plotPanel

MathGLPane* RangeEditorDialog::plotPanel
protected

◆ splitVertical

wxSplitterWindow* RangeEditorDialog::splitVertical
protected

◆ textOverlayCmpnt

wxTextCtrl* RangeEditorDialog::textOverlayCmpnt
protected

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