isis/src/qisis/objs/MosaicSceneWidget/MosaicGridTool.cpp
void MosaicGridTool::drawGrid(bool draw) {
    if (draw) {
      m_autoGridLabel->setEnabled(true);
      m_autoGridCheckBox->setEnabled(true);
      drawGrid();
    }
    else {
      clearGrid();
      m_autoGridLabel->setEnabled(false);
      m_autoGridCheckBox->setEnabled(false);
    }
  }
/**
   * Determines whether the grid should be drawn or not.
   *
   * @param draw True if grid should be drawn. Otherwise, it will be cleared.
   */
Determines whether the grid should be drawn or not.
@param draw True if grid should be drawn. Otherwise, it will be cleared.
Determines whether the grid should be drawn or not . @param draw True if grid should be drawn . Otherwise it will be cleared .
void MosaicGridTool::drawGrid(bool draw) {
    if (draw) {
      m_autoGridLabel->setEnabled(true);
      m_autoGridCheckBox->setEnabled(true);
      drawGrid();
    }
    else {
      clearGrid();
      m_autoGridLabel->setEnabled(false);
      m_autoGridCheckBox->setEnabled(false);
    }
  }
void MosaicGridTool :: drawGrid ( bool draw ) { if ( draw ) { m_autoGridLabel -> setEnabled ( true ) ; m_autoGridCheckBox -> setEnabled ( true ) ; drawGrid ( ) ; } else { clearGrid ( ) ; m_autoGridLabel -> setEnabled ( false ) ; m_autoGridCheckBox -> setEnabled ( false ) ; } }
Determines whether the grid should be drawn or not.
Determines whether the grid should be drawn or not .