visiannot.visiannot.components.FileSelectionWidget

Summary

Module defining file_selectionWidget

Classes

visiannot.visiannot.components.FileSelectionWidget.FileSelectionWidget(…)

Widget for selecting a file in a long recording (thanks to a combo box)

API

Class FileSelectionWidget

class visiannot.visiannot.components.FileSelectionWidget.FileSelectionWidget(visi, widget_position)[source]

Bases: object

Widget for selecting a file in a long recording (thanks to a combo box)

Parameters
  • visi – associated instance of ViSiAnnoT

  • widget_position (tuple or list) – position of the widget in the layout of the associated instance of ViSiAnnoT

Methods:

file_selection(ite_file, visi)

Callback method for selecting a new file in the long recording with the combo box

Attributes:

combo_box

(QtWidgets.QComboBox) Combo box for recording file selection

file_selection(ite_file, visi)[source]

Callback method for selecting a new file in the long recording with the combo box

Connected to the signal currentIndexChanged of combo_box.

Parameters
  • ite_file (int) – index of the file in the long recording selected in the combo box

  • visi – associated instance of ViSiAnnoT

combo_box

(QtWidgets.QComboBox) Combo box for recording file selection