コード例 #1
0
ファイル: header.py プロジェクト: pyhmsa/pyhmsa-gui
 def hasAcceptableInput(self):
     return ParameterWidget.hasAcceptableInput(self) and \
         self._txt_title.hasAcceptableInput() and \
         self._txt_author.hasAcceptableInput() and \
         self._txt_owner.hasAcceptableInput() and \
         self._txt_date.hasAcceptableInput() and \
         self._txt_time.hasAcceptableInput() and \
         self._txt_timezone.hasAcceptableInput() and \
         self._txt_checksum.hasAcceptableInput()
コード例 #2
0
ファイル: calibration.py プロジェクト: pyhmsa/pyhmsa-gui
 def hasAcceptableInput(self):
     return ParameterWidget.hasAcceptableInput(self) and \
         self._stack.currentWidget().hasAcceptableInput()
コード例 #3
0
ファイル: detector.py プロジェクト: pyhmsa/pyhmsa-gui
 def hasAcceptableInput(self):
     return ParameterWidget.hasAcceptableInput(self) and \
         self._txt_bias.hasAcceptableInput() and \
         self._txt_gain.hasAcceptableInput() and \
         self._txt_base_level.hasAcceptableInput() and \
         self._txt_window.hasAcceptableInput()