parameters: (self)
docstring: Setup the window header. Set the buttons icons and connect the signals.
docstring_summary: Setup the window header. Set the buttons icons and connect the signals.
docstring_tokens: Setup the window header . Set the buttons icons and connect the signals .
function: def setup_header(self):
          """
          Setup the window header. Set the buttons icons and connect the signals.
          """
          self.actionNew.triggered.connect(self.newTable.emit)
          self.actionLoadRundex.triggered.connect(self.loadRundex.emit)
          self.actionSaveAs.triggered.connect(self.saveRundexAs.emit)
          self.actionSave.triggered.connect(self.saveRundex.emit)
          self.actionManageDirectories.triggered.connect(self.show_directory_manager)
          self.actionSettings.triggered.connect(self.showSettings.emit)
          self.actionClose.triggered.connect(self.close)
          self.actionAddRow.triggered.connect(self.addRowAfter)
          self.actionDelRow.triggered.connect(self.del_selected_rows)
          self.actionCopyRow.triggered.connect(self.copySelectedCells)
          self.actionCutRow.triggered.connect(self.cutSelectedCells)
          self.actionPasteRow.triggered.connect(self.pasteCells)
          self.actionErase.triggered.connect(self.eraseSelectedCells)
          self.actionProcessRow.triggered.connect(self.process.emit)
          self.actionProcessGroup.triggered.connect(self.processGroup.emit)
          self.actionProcessAll.triggered.connect(self.processAll.emit)
          self.actionStopProcessing.triggered.connect(self.processStopped.emit)
          self.actionHelp.triggered.connect(self.helpWindow)
  
          self.instrumentselector = instrumentselector.InstrumentSelector(self)
          self.instrumentselector.setToolTip("Instrument")
          self.toolbar.insertWidget(0, self.instrumentselector, 0, Qt.AlignLeft)
          self.instrumentselector.instrumentSelectionChanged.connect(
                  self.instrumentChanged.emit)
  
          self.modeSelector.currentTextChanged.connect(
                  self.acquisitionModeChanged.emit)
  
          self.cycleNumber.editingFinished.connect(self._changeCycleOrExperiment)
          self.experimentId.editingFinished.connect(self._changeCycleOrExperiment)
  
          self.datadirs.setIcon(icons.get_icon("mdi.folder"))
          self.datadirs.clicked.connect(self.show_directory_manager)
  
          self.load.setIcon(icons.get_icon("mdi.file-import"))
          self.load.clicked.connect(self.loadRundex.emit)
  
          self.settings.setIcon(icons.get_icon("mdi.settings"))
          self.settings.clicked.connect(self.showSettings.emit)
  
          self.export.setIcon(icons.get_icon("mdi.application-export"))
          self.export.clicked.connect(self.showExportDialog)
  
          self.paste.setIcon(icons.get_icon("mdi.content-paste"))
          self.paste.clicked.connect(self.pasteCells)
  
          self.copy.setIcon(icons.get_icon("mdi.content-copy"))
          self.copy.clicked.connect(self.copySelectedCells)
  
          self.cut.setIcon(icons.get_icon("mdi.content-cut"))
          self.cut.clicked.connect(self.cutSelectedCells)
  
          self.erase.setIcon(icons.get_icon("mdi.eraser"))
          self.erase.clicked.connect(self.eraseSelectedCells)
  
          self.deleterow.setIcon(icons.get_icon("mdi.table-row-remove"))
          self.deleterow.clicked.connect(self.del_selected_rows)
  
          self.addrow.setIcon(icons.get_icon("mdi.table-row-plus-after"))
          self.addrow.clicked.connect(self.addRowsAfter)
  
          self.save.setIcon(icons.get_icon("mdi.file-export"))
          self.save.clicked.connect(self.saveRundex.emit)
  
          self.help.setIcon(icons.get_icon("mdi.help"))
          self.help.clicked.connect(self.helpWindow)
  
          self.fill.setIcon(icons.get_icon("mdi.arrow-expand-down"))
          self.fill.clicked.connect(self.automaticFilling.emit)
  
          self.processRows.setIcon(icons.get_icon("mdi.play"))
          self.processRows.clicked.connect(self.process.emit)
  
          self.buttonProcessGroup.setIcon(icons.get_icon("mdi.skip-forward"))
          self.buttonProcessGroup.clicked.connect(self.processGroup.emit)
  
          self.buttonProcessAll.setIcon(icons.get_icon("mdi.fast-forward"))
          self.buttonProcessAll.clicked.connect(self.processAll.emit)
  
          self.stop.setIcon(icons.get_icon("mdi.stop"))
          self.stop.clicked.connect(self.processStopped.emit)
function_tokens: def setup_header ( self ) : self . actionNew . triggered . connect ( self . newTable . emit ) self . actionLoadRundex . triggered . connect ( self . loadRundex . emit ) self . actionSaveAs . triggered . connect ( self . saveRundexAs . emit ) self . actionSave . triggered . connect ( self . saveRundex . emit ) self . actionManageDirectories . triggered . connect ( self . show_directory_manager ) self . actionSettings . triggered . connect ( self . showSettings . emit ) self . actionClose . triggered . connect ( self . close ) self . actionAddRow . triggered . connect ( self . addRowAfter ) self . actionDelRow . triggered . connect ( self . del_selected_rows ) self . actionCopyRow . triggered . connect ( self . copySelectedCells ) self . actionCutRow . triggered . connect ( self . cutSelectedCells ) self . actionPasteRow . triggered . connect ( self . pasteCells ) self . actionErase . triggered . connect ( self . eraseSelectedCells ) self . actionProcessRow . triggered . connect ( self . process . emit ) self . actionProcessGroup . triggered . connect ( self . processGroup . emit ) self . actionProcessAll . triggered . connect ( self . processAll . emit ) self . actionStopProcessing . triggered . connect ( self . processStopped . emit ) self . actionHelp . triggered . connect ( self . helpWindow ) self . instrumentselector = instrumentselector . InstrumentSelector ( self ) self . instrumentselector . setToolTip ( "Instrument" ) self . toolbar . insertWidget ( 0 , self . instrumentselector , 0 , Qt . AlignLeft ) self . instrumentselector . instrumentSelectionChanged . connect ( self . instrumentChanged . emit ) self . modeSelector . currentTextChanged . connect ( self . acquisitionModeChanged . emit ) self . cycleNumber . editingFinished . connect ( self . _changeCycleOrExperiment ) self . experimentId . editingFinished . connect ( self . _changeCycleOrExperiment ) self . datadirs . setIcon ( icons . get_icon ( "mdi.folder" ) ) self . datadirs . clicked . connect ( self . show_directory_manager ) self . load . setIcon ( icons . get_icon ( "mdi.file-import" ) ) self . load . clicked . connect ( self . loadRundex . emit ) self . settings . setIcon ( icons . get_icon ( "mdi.settings" ) ) self . settings . clicked . connect ( self . showSettings . emit ) self . export . setIcon ( icons . get_icon ( "mdi.application-export" ) ) self . export . clicked . connect ( self . showExportDialog ) self . paste . setIcon ( icons . get_icon ( "mdi.content-paste" ) ) self . paste . clicked . connect ( self . pasteCells ) self . copy . setIcon ( icons . get_icon ( "mdi.content-copy" ) ) self . copy . clicked . connect ( self . copySelectedCells ) self . cut . setIcon ( icons . get_icon ( "mdi.content-cut" ) ) self . cut . clicked . connect ( self . cutSelectedCells ) self . erase . setIcon ( icons . get_icon ( "mdi.eraser" ) ) self . erase . clicked . connect ( self . eraseSelectedCells ) self . deleterow . setIcon ( icons . get_icon ( "mdi.table-row-remove" ) ) self . deleterow . clicked . connect ( self . del_selected_rows ) self . addrow . setIcon ( icons . get_icon ( "mdi.table-row-plus-after" ) ) self . addrow . clicked . connect ( self . addRowsAfter ) self . save . setIcon ( icons . get_icon ( "mdi.file-export" ) ) self . save . clicked . connect ( self . saveRundex . emit ) self . help . setIcon ( icons . get_icon ( "mdi.help" ) ) self . help . clicked . connect ( self . helpWindow ) self . fill . setIcon ( icons . get_icon ( "mdi.arrow-expand-down" ) ) self . fill . clicked . connect ( self . automaticFilling . emit ) self . processRows . setIcon ( icons . get_icon ( "mdi.play" ) ) self . processRows . clicked . connect ( self . process . emit ) self . buttonProcessGroup . setIcon ( icons . get_icon ( "mdi.skip-forward" ) ) self . buttonProcessGroup . clicked . connect ( self . processGroup . emit ) self . buttonProcessAll . setIcon ( icons . get_icon ( "mdi.fast-forward" ) ) self . buttonProcessAll . clicked . connect ( self . processAll . emit ) self . stop . setIcon ( icons . get_icon ( "mdi.stop" ) ) self . stop . clicked . connect ( self . processStopped . emit )