main_view module¶
-
class
package.views.main_view.
MainView
(amp_name, amp_serial, state=<Synchronized wrapper for c_long(1)>, queue=None)¶ Bases:
PyQt5.QtWidgets.QMainWindow
,package.views.view_controller.ViewController
,package.views.presenter.Presenter
MainView class controls the GUI frontend interaction
-
eventFilter
(source, event)¶ Select single channel to scale by right clicking :param source: channel table content :param event: right mouse button press :return: ID of the selected channel
-
init_Runtimer
()¶ Initialize task related timer which controls the timing for visual cues
-
init_SV_GUI
()¶ Initialize subject view GUI
-
init_all
()¶ Initialize specialized functions inside GUI
-
init_config_file
()¶ Initialize config file
-
init_event_functions
()¶ Initialize event listeners for widgets in GUI
-
init_loop
()¶ Initialize loop related variables like StreamReceiver and self.eeg
-
init_panel_GUI
()¶ Initialize experimenter GUI
-
init_panel_GUI_stop_recording
()¶ Initialize experimenter GUI when stop recording button pressed. This is used to prepare for next run.
-
init_scope_GUI
()¶ Initialize oscilloscope GUI
-
init_timer
()¶ Initialize main timer used for refreshing oscilloscope window. This refreshes every 20ms.
-
trigger_help
()¶ Shows / hide help in the scope window
-