コード例 #1
0
	def __init__(self, name, experiment, script=None):
		# Call parent constructors.
		media_player_mpy.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)

		# Connect playaudio value change to function that enables or disables
		# sound renderer selection.
		# Account for Qt4/5 inconsistency here
		
		try:
			self.play_audio.currentTextChanged.connect(self.set_soundrenderer_status)
		except:
			self.play_audio.editTextChanged.connect(self.set_soundrenderer_status)
		
		# Init the setting for when the experiment is loaded.
		if self.var.playaudio == "yes":
			self.sound_renderer.setDisabled(False)
		elif self.var.playaudio == "no":
			self.sound_renderer.setDisabled(True)

		# Issue a warning if user selects options that potentially cause an infinite
		# loop
		try:
			self.loop_video.currentTextChanged.connect(self.check_for_infinite_loops)
		except:
			self.loop_video.editTextChanged.connect(self.check_for_infinite_loops)

		self.line_edit_duration.editingFinished.connect(self.check_for_infinite_loops)
    def __init__(self, name, experiment, script=None):

        """Plug-in GUI"""

        radboudbox_send_control.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
        self.text_version.setText(
        u'<small>Radboudbox version %s</small>' % VERSION)
    def __init__(self, name, experiment, script=None):

        """Experiment Manager plug-in GUI"""

        parallel_port_trigger.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
        self.text_pptrigger_version.setText(
        u'<small>Parallel Port Trigger version %s</small>' % VERSION)
コード例 #4
0
	def __init__(self, name, experiment, script=None):

		"""
		Constructor.

		Arguments:
		name		--	The item name.
		experiment	--	The experiment object.

		Keyword arguments:
		script		--	The definition script. (default=None).
		"""

		media_player_vlc.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #5
0
ファイル: pygaze_start_recording.py プロジェクト: AA33/PyGaze
	def __init__(self, name, experiment, script=None):
		
		"""
		Constructor.
		
		Arguments:
		name		--	The name of the plug-in.
		experiment	--	The experiment object.
		
		Keyword arguments:
		script		--	A definition script. (default=None)
		"""

		pygaze_start_recording.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #6
0
	def __init__(self, name, experiment, script=None):

		"""
		Constructor.

		Arguments:
		name		--	The name of the plug-in.
		experiment	--	The experiment object.

		Keyword arguments:
		script		--	A definition script. (default=None)
		"""

		quest_staircase_next.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #7
0
	def __init__(self, name, experiment, script=None):

		"""
		desc:
			Constructor.

		arguments:
			name:		The name of the plug-in.
			experiment:	The experiment object.

		keywords:
			script:		A definition script.
		"""

		quest_staircase_next.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #8
0
	def __init__(self, name, experiment, script=None):
		
		"""
		Constructor.
		
		Arguments:
		name		--	The name of the plug-in.
		experiment	--	The experiment object.
		
		Keyword arguments:
		script		--	A definition script. (default=None)
		"""

		pygaze_drift_correct.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
		self.custom_interactions()
コード例 #9
0
	def __init__(self, name, experiment, string=None):

		"""
		Constructor

		Arguments:
		name		--	The name of the item.
		experiment	--	The experiment instance.

		Keyword arguments:
		string		--	A definition string. (default=None)
		"""
		
		form_multiple_choice.__init__(self, name, experiment, string)
		qtautoplugin.__init__(self, __file__)
		self.custom_interactions()
コード例 #10
0
	def __init__(self, name, experiment, script=None):

		"""
		Constructor.

		Arguments:
		name		--	The name of the plug-in.
		experiment	--	The experiment object.

		Keyword arguments:
		script		--	A definition script. (default=None)
		"""

		pygaze_init.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
		self.text_pygaze_version.setText(
			u'<small>PyGaze version %s</small>' % pygaze.version)
コード例 #11
0
ファイル: auto_example.py プロジェクト: FieldDB/OpenSesame
	def __init__(self, name, experiment, script=None):

		"""
		Constructor.
		
		Arguments:
		name		--	The name of the plug-in.
		experiment	--	The experiment object.
		
		Keyword arguments:
		script		--	A definition script. (default=None)
		"""

		# We don't need to do anything here, except call the parent
		# constructors.
		auto_example.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #12
0
ファイル: video_player.py プロジェクト: JdenHartog/OpenSesame
	def __init__(self, name, experiment, script=None):

		video_player.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #13
0
	def __init__(self, name, experiment, script=None):

		mousetrap_form.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
		self.custom_interactions()
コード例 #14
0
	def __init__(self, name, experiment, script=None):

		# Call parent constructors.
		joystick.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #15
0
	def __init__(self, name, experiment, script=None):
		LabScribe_send_message.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #16
0
ファイル: srbox.py プロジェクト: dev-jam/OpenSesame
	def __init__(self, name, experiment, script=None):

		srbox.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #17
0
ファイル: mousetrap_form.py プロジェクト: sbor23/mousetrap-os
    def __init__(self, name, experiment, script=None):

        mousetrap_form.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
        self.custom_interactions()
コード例 #18
0
	def __init__(self, name, experiment, script=None):
		# Call parent constructors.
		media_player_mpy.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
    def __init__(self, name, experiment, script=None):
        """Experiment Manager plug-in GUI"""

        parallel_port_trigger_send.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #20
0
    def __init__(self, name, experiment, script=None):
        """Plug-in GUI"""

        audio_low_latency_play_resume.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #21
0
ファイル: text_input.py プロジェクト: uberstig/OpenSesame
    def __init__(self, name, experiment, script=None):

        text_input.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #22
0
ファイル: fixation_dot.py プロジェクト: s4rify/OpenSesame
	def __init__(self, name, experiment, script=None):

		fixation_dot.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #23
0
    def __init__(self, name, experiment, string=None):

        #Pass the word on to the parents
        EVTxx.__init__(self, name, experiment, string)
        qtautoplugin.__init__(self, __file__)
コード例 #24
0
ファイル: repeat_cycle.py プロジェクト: uberstig/OpenSesame
    def __init__(self, name, experiment, script=None):

        # Call parent constructors.
        repeat_cycle.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #25
0
    def __init__(self, name, experiment, script=None):

        pygaze_roi.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #26
0
ファイル: text_input.py プロジェクト: amandinerey/OpenSesame
	def __init__(self, name, experiment, script=None):

		text_input.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #27
0
    def __init__(self, name, experiment, script=None):

        radboudbox_wait_buttons.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
        self.text_version.setText(
        u'<small>Radboudbox version %s</small>' % VERSION)
コード例 #28
0
    def __init__(self, name, experiment, script=None):

        form_text_display.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #29
0
    def __init__(self, name, experiment, script=None):

        psynteract_reassign.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #30
0
    def __init__(self, name, experiment, script=None):

        notepad.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #31
0
	def __init__(self, name, experiment, script=None):

		advanced_delay.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #32
0
ファイル: joystick.py プロジェクト: nagyistge/OpenSesame
	def __init__(self, name, experiment, script=None):

		# Call parent constructors.
		joystick.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #33
0
    def __init__(self, name, experiment, string=None):

        inline_html.__init__(self, name, experiment, string)
        qtautoplugin.__init__(self, plugin_file=__file__)
コード例 #34
0
    def __init__(self, name, experiment, script=None):
        """Plug-in GUI"""

        radboudbox_send_control.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #35
0
	def __init__(self, name, experiment, script=None):

		form_text_display.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #36
0
    def __init__(self, name, experiment, script=None):

        pygaze_start_recording.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #37
0
    def __init__(self, name, experiment, script=None):

        video_player.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #38
0
ファイル: form_base.py プロジェクト: alisdt/OpenSesame
	def __init__(self, name, experiment, script=None):

		form_base.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #39
0
    def __init__(self, name, experiment, script=None):

        # Call parent constructors.
        kinect_stop_recording.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #40
0
    def __init__(self, name, experiment, script=None):

        psychopy_gratingstim.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #41
0
ファイル: pygaze_log.py プロジェクト: jockehewh/PyGaze
    def __init__(self, name, experiment, script=None):

        pygaze_log.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #42
0
	def __init__(self, name, experiment, script=None):
		
		pygaze_start_recording.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #43
0
ファイル: reset_feedback.py プロジェクト: alisdt/OpenSesame
	def __init__(self, name, experiment, script=None):

		reset_feedback.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
コード例 #44
0
ファイル: repeat_cycle.py プロジェクト: JdenHartog/OpenSesame
    def __init__(self, name, experiment, script=None):

        # Call parent constructors.
        repeat_cycle.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #45
0
    def __init__(self, name, experiment, script=None):

        psynteract_wait.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
        self.custom_interactions()
コード例 #46
0
    def __init__(self, name, experiment, script=None):

        psynteract_reassign.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #47
0
    def __init__(self, name, experiment, script=None):

        advanced_delay.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #48
0
    def __init__(self, name, experiment, script=None):

        media_player_vlc.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
    def __init__(self, name, experiment, script=None):

        radboudbox_get_buttons_wait.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #50
0
    def __init__(self, name, experiment, script=None):
        """plug-in GUI"""

        audio_low_latency_record_pause.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #51
0
    def __init__(self, name, experiment, script=None):

        form_consent.__init__(self, name, experiment, script)
        qtautoplugin.__init__(self, __file__)
コード例 #52
0
	def __init__(self, name, experiment, script=None):

		psynteract_push.__init__(self, name, experiment, script)
		qtautoplugin.__init__(self, __file__)
		self.custom_interactions()