parameters: (self)
docstring: Purpose: select all peaks in table tableWidget_peaksCalUB
          :return:
docstring_summary: Purpose: select all peaks in table tableWidget_peaksCalUB
          :return:
docstring_tokens: Purpose : select all peaks in table tableWidget_peaksCalUB : return :
function: def do_select_all_peaks(self):
          """
          Purpose: select all peaks in table tableWidget_peaksCalUB
          :return:
          """
          if self.ui.radioButton_ubSelectAllScans.isChecked() and self._ubPeakTableFlag != 0:
              self.ui.tableWidget_peaksCalUB.select_all_rows(True)
              self._ubPeakTableFlag = 0
          elif self.ui.radioButton_ubSelectNoScan.isChecked() and self._ubPeakTableFlag != 1:
              self.ui.tableWidget_peaksCalUB.select_all_rows(False)
              self._ubPeakTableFlag = 1
          elif self.ui.radioButton_ubAdvancedSelection.isChecked() and self._ubPeakTableFlag != 2:
              # advanced
              import FindUBUtility
              self._selectUBScanDialog = FindUBUtility.SelectUBMatrixScansDialog(self)
              self._selectUBScanDialog.show()
              self._ubPeakTableFlag = 2
function_tokens: def do_select_all_peaks ( self ) : if self . ui . radioButton_ubSelectAllScans . isChecked ( ) and self . _ubPeakTableFlag != 0 : self . ui . tableWidget_peaksCalUB . select_all_rows ( True ) self . _ubPeakTableFlag = 0 elif self . ui . radioButton_ubSelectNoScan . isChecked ( ) and self . _ubPeakTableFlag != 1 : self . ui . tableWidget_peaksCalUB . select_all_rows ( False ) self . _ubPeakTableFlag = 1 elif self . ui . radioButton_ubAdvancedSelection . isChecked ( ) and self . _ubPeakTableFlag != 2 : # advanced import FindUBUtility self . _selectUBScanDialog = FindUBUtility . SelectUBMatrixScansDialog ( self ) self . _selectUBScanDialog . show ( ) self . _ubPeakTableFlag = 2