コード例 #1
0
    def apply_edit_changes(self):
        """See qtitem."""

        qtplugin.apply_edit_changes(self)
        sp = self.qprogedit.text(index=0)
        sr = self.qprogedit.text(index=1)
        self.var._prepare = sp
        self.var._run = sr
        self.update_item_icon()
コード例 #2
0
ファイル: inline_script.py プロジェクト: alisdt/OpenSesame
	def apply_edit_changes(self):

		"""See qtitem."""

		qtplugin.apply_edit_changes(self)
		sp = self.qprogedit.text(index=0)
		sr = self.qprogedit.text(index=1)
		self.var._prepare = sp
		self.var._run = sr
		self.update_item_icon()
コード例 #3
0
ファイル: qtautoplugin.py プロジェクト: FieldDB/OpenSesame
	def apply_edit_changes(self):

		"""Applies the controls. I.e. sets the variables from the controls."""

		if not qtplugin.apply_edit_changes(self, False) or self.lock:
			return False
		return True
コード例 #4
0
ファイル: qtautoplugin.py プロジェクト: kiistala/OpenSesame
    def apply_edit_changes(self):
        """Applies the controls. I.e. sets the variables from the controls."""

        if not qtplugin.apply_edit_changes(self, False) or self.lock:
            return False
        self.experiment.main_window.refresh(self.name)
        return True
コード例 #5
0
ファイル: qtautoplugin.py プロジェクト: s4rify/OpenSesame
	def apply_edit_changes(self):

		"""Applies the controls. I.e. sets the variables from the controls."""

		if not qtplugin.apply_edit_changes(self, False) or self.lock:
			return False
		return True
コード例 #6
0
ファイル: qtautoplugin.py プロジェクト: Complex501/OpenSesame
	def apply_edit_changes(self):

		"""Applies the controls. I.e. sets the variables from the controls."""

		if not qtplugin.apply_edit_changes(self, False) or self.lock:
			return False
		self.experiment.main_window.refresh(self.name)
		return True