isis/src/qisis/objs/SpectralPlotTool/SpectralPlotTool.cpp
PlotWindow *SpectralPlotTool::createWindow() {
    PlotWindow *window = new SpectralPlotWindow(
        (PlotCurve::Units)m_displayCombo->itemData(
          m_displayCombo->currentIndex()).toInt(),
        qobject_cast<QWidget *>(parent()));
    window->setWindowTitle("Spectral " + PlotWindow::defaultWindowTitle());

    return window;
  }
/**
   * Creates a new plot window compatible with the curves in this tool.
   *
   * @return a newly allocated plot window, ownership is passed to the caller.
   */
Creates a new plot window compatible with the curves in this tool.
@return a newly allocated plot window, ownership is passed to the caller.
Creates a new plot window compatible with the curves in this tool . @return a newly allocated plot window ownership is passed to the caller .
PlotWindow *SpectralPlotTool::createWindow() {
    PlotWindow *window = new SpectralPlotWindow(
        (PlotCurve::Units)m_displayCombo->itemData(
          m_displayCombo->currentIndex()).toInt(),
        qobject_cast<QWidget *>(parent()));
    window->setWindowTitle("Spectral " + PlotWindow::defaultWindowTitle());
    return window;
  }
PlotWindow * SpectralPlotTool :: createWindow ( ) { PlotWindow * window = new SpectralPlotWindow ( ( PlotCurve :: Units ) m_displayCombo -> itemData ( m_displayCombo -> currentIndex ( ) ) . toInt ( ) , qobject_cast < QWidget * > ( parent ( ) ) ) ; window -> setWindowTitle ( " " + PlotWindow :: defaultWindowTitle ( ) ) ; return window ; }
Creates a new plot window compatible with the curves in this tool.
Creates a new plot window compatible with the curves in this tool .