3Depict
|
#include <rangeEditDialog.h>
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 |
MathGLPane * | plotPanel |
wxButton * | btnOK |
wxButton * | btnCancel |
wxPanel * | panelSplitRight |
wxSplitterWindow * | splitVertical |
RangeEditorDialog::RangeEditorDialog | ( | wxWindow * | parent, |
int | id, | ||
const wxString & | title, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxDEFAULT_DIALOG_STYLE |
||
) |
References btnCancel, btnOK, btnRangeIonAdd, btnRangeIonRemove, checkShowOverlay, MathGLPane::enableRegionSelfUpdate(), GRID_FOCUS_NONE, gridIons, gridRanges, ID_CHECK_SHOW_OVERLAY, ID_GRID_IONS, ID_GRID_RANGES, ID_LIST_OVERLAY, ID_LIST_PLOTS, ID_PLOT_AREA, ID_SPLIT_LEFTRIGHT, ID_TEXT_FILTER_CMPNT, listOverlay, listPlots, locateDataFile(), notebookLeft, noteLeftOverlay, noteLeftPlots, noteLeftRanges, onPlotUpdate(), OnTextOverlaySetFocus(), AbundanceData::open(), panelSplitLeft, panelSplitRight, plotPanel, MathGLPane::registerUpdateHandler(), splitVertical, textOverlayCmpnt, and TRANS.
|
virtual |
References END_EVENT_TABLE(), ID_CHECK_SHOW_OVERLAY, ID_GRID_IONS, ID_GRID_RANGES, ID_LIST_OVERLAY, ID_LIST_PLOTS, ID_SPLIT_LEFTRIGHT, ID_TEXT_FILTER_CMPNT, OnBtnCancel(), OnBtnOK(), OnBtnRangeIonAdd(), OnBtnRangeIonRemove(), OnCheckShowOverlay(), OnGridIonClick(), OnGridIonsCellChange(), OnGridIonsEditorShown(), OnGridRangeClick(), OnGridRangesCellChange(), OnGridRangesEditorShown(), OnListOverlayCheck(), OnListOverlayKeyDown(), OnListPlots(), OnSashVerticalDClick(), OnTextOverlay(), OnTextOverlayEnter(), OnTextOverlaySetFocus(), and textOverlayCmpnt.
|
protected |
|
virtual |
|
virtual |
|
virtual |
References ASSERT, GRID_FOCUS_IONS, GRID_FOCUS_NONE, GRID_FOCUS_RANGES, gridIons, gridRanges, setRangeReady(), and TRANS.
Referenced by ~RangeEditorDialog().
|
virtual |
References ASSERT, RangeFile::eraseIon(), RangeFile::eraseRange(), GRID_FOCUS_IONS, GRID_FOCUS_NONE, GRID_FOCUS_RANGES, gridIons, gridRanges, and setRangeReady().
Referenced by ~RangeEditorDialog().
|
virtual |
References PlotWrapper::overlays, plotPanel, and PlotOverlays::setEnabled().
Referenced by ~RangeEditorDialog().
|
virtual |
References GRID_FOCUS_IONS.
Referenced by ~RangeEditorDialog().
|
virtual |
References ASSERT, RangeFile::getIonID(), PendingIon::getRangePtr(), gridIons, ION_COL_COLOUR, ION_COL_LONGNAME, ION_COL_PLOT, ION_COL_SHORTNAME, RangeFile::setIonLongName(), RangeFile::setIonShortName(), PendingIon::setLongName(), setRangeReady(), PendingIon::setShortName(), and stlStr().
Referenced by ~RangeEditorDialog().
|
virtual |
References ASSERT, RGBf::blue, RangeFile::getColour(), RGBf::green, gridIons, ION_COL_COLOUR, ION_COL_LONGNAME, ION_COL_PLOT, ION_COL_SHORTNAME, RGBf::red, RangeFile::setColour(), and setRangeReady().
Referenced by ~RangeEditorDialog().
|
virtual |
References GRID_FOCUS_RANGES.
Referenced by ~RangeEditorDialog().
|
virtual |
References ASSERT, RangeFile::getIonID(), RangeFile::getRange(), gridRanges, RNG_COL_END, RNG_COL_PARENT_ION, RNG_COL_PLOT, RNG_COL_START, RangeFile::setIonID(), RangeFile::setRangeEnd(), setRangeReady(), RangeFile::setRangeStart(), stlStr(), and stream_cast().
Referenced by ~RangeEditorDialog().
|
virtual |
|
virtual |
References listOverlay, PlotWrapper::overlays, plotPanel, and PlotOverlays::setEnabled().
Referenced by ~RangeEditorDialog().
|
virtual |
References PlotOverlays::erase(), PlotOverlays::getOverlays(), PlotWrapper::overlays, and plotPanel.
Referenced by ~RangeEditorDialog().
|
virtual |
References PlotWrapper::hideAll(), listPlots, plotID(), plotPanel, and PlotWrapper::setVisible().
Referenced by ~RangeEditorDialog().
void RangeEditorDialog::onPlotUpdate | ( | ) |
References ASSERT, MathGLPane::getLastEdited(), plotPanel, and setRangeReady().
Referenced by RangeEditorDialog().
|
virtual |
|
virtual |
References RangeFile::decomposeIonNames(), stlStr(), and textOverlayCmpnt.
Referenced by ~RangeEditorDialog().
|
virtual |
References PlotOverlays::add(), btnCancel, btnOK, btnRangeIonAdd, btnRangeIonRemove, checkShowOverlay, OVERLAY_DATA::coordData, RangeFile::decomposeIonNames(), OVERLAY_DATA::enabled, AbundanceData::generateIsotopeDist(), PlotOverlays::getOverlays(), AbundanceData::getSymbolIndices(), gridIons, gridRanges, listOverlay, listPlots, notebookLeft, noteLeftOverlay, noteLeftPlots, noteLeftRanges, PlotWrapper::overlays, panelSplitLeft, panelSplitRight, plotPanel, splitVertical, stlStr(), textOverlayCmpnt, OVERLAY_DATA::title, and TRANS.
Referenced by ~RangeEditorDialog().
|
virtual |
References textOverlayCmpnt.
Referenced by RangeEditorDialog(), and ~RangeEditorDialog().
void RangeEditorDialog::setPlotWrapper | ( | const PlotWrapper & | p | ) |
References PlotRegion::ACCESS_MODE_RANGEFILE, ASSERT, PlotRegion::b, RGBf::blue, PlotRegion::bounds, FILTER_TYPE_RANGEFILE, FILTER_TYPE_SPECTRUMPLOT, PlotRegion::g, RangeFile::getColour(), RangeFile::getIonID(), RangeFile::getName(), RangeFile::getNumIons(), RangeFile::getNumRanges(), MathGLPane::getNumVisible(), PlotWrapper::getParentType(), PlotWrapper::getPlotIDs(), RangeFile::getRange(), PlotWrapper::getRegions(), PlotWrapper::getTitle(), Filter::getType(), RGBf::green, gridIons, gridRanges, PlotRegion::id, ION_COL_COLOUR, ION_COL_LONGNAME, ION_COL_PLOT, ION_COL_SHORTNAME, listOverlay, listPlots, plotID(), plotPanel, PlotRegion::r, RGBf::red, RegionGroup::regions, RNG_COL_END, RNG_COL_ENUM_END, RNG_COL_PARENT_ION, RNG_COL_PLOT, RNG_COL_START, PlotWrapper::setEnableHighlightOverlap(), MathGLPane::setPlotWrapper(), PlotWrapper::setRegionGroup(), PlotWrapper::setVisible(), stream_cast(), PlotWrapper::switchOutRegionParent(), and TRANS.
Referenced by MainWindowFrame::OnEditRange().
|
protected |
References btnOK.
Referenced by OnBtnRangeIonAdd(), OnBtnRangeIonRemove(), OnGridIonsCellChange(), OnGridIonsEditorShown(), OnGridRangesCellChange(), and onPlotUpdate().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), RangeEditorDialog(), and setRangeReady().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
|
protected |
|
protected |
Referenced by OnListOverlayCheck(), OnTextOverlayEnter(), RangeEditorDialog(), and setPlotWrapper().
|
protected |
Referenced by OnListPlots(), OnTextOverlayEnter(), RangeEditorDialog(), and setPlotWrapper().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
|
protected |
Referenced by OnTextOverlayEnter(), and RangeEditorDialog().
|
protected |
Referenced by OnTextOverlay(), OnTextOverlayEnter(), OnTextOverlaySetFocus(), RangeEditorDialog(), and ~RangeEditorDialog().