visiannot.visiannot.components.CustomTemporalRangeWidget¶
Summary¶
Module defining TimeEditWidget
Classes¶
|
Widget for custom temporal range |
API¶
Class CustomTemporalRangeWidget¶
-
class
visiannot.visiannot.components.CustomTemporalRangeWidget.CustomTemporalRangeWidget(visi, widget_position)[source]¶ Bases:
objectWidget for custom temporal range
- Parameters
Methods:
time_edit_current(visi)Callback method to set
edit_startto the current frameViSiAnnoT.frame_idtime_edit_ok(visi)Callback method to set the temporal range (
ViSiAnnoT.first_frameandViSiAnnoT.last_frame) to the custom temporal range (manually defined withedit_durationandedit_start)Attributes:
(QtWidgets.QDateTimeEdit) Editor of starting datetime of custom temporal range, intialized with beginning datetime of the associated instance of
ViSiAnnoT(QtWidgets.QPushButton) Push button for defining the starting datetime of custom temporal range as the current frame
(QtWidgets.QTimeEdit) Editor of the duration of custom temporal range
(QtWidgets.QPushButton) Push button for validating custom temporal range
-
time_edit_current(visi)[source]¶ Callback method to set
edit_startto the current frameViSiAnnoT.frame_idConnected to the signal
clickedofcurrent_push.
-
time_edit_ok(visi)[source]¶ Callback method to set the temporal range (
ViSiAnnoT.first_frameandViSiAnnoT.last_frame) to the custom temporal range (manually defined withedit_durationandedit_start)If
edit_durationis 0, then the current temporal range duration is kept.Connected to the signal
clickedoftime_edit_push.
-
current_push¶ (QtWidgets.QPushButton) Push button for defining the starting datetime of custom temporal range as the current frame
-
edit_duration¶ (QtWidgets.QTimeEdit) Editor of the duration of custom temporal range
-
edit_start¶ (QtWidgets.QDateTimeEdit) Editor of starting datetime of custom temporal range, intialized with beginning datetime of the associated instance of
ViSiAnnoT
-
time_edit_push¶ (QtWidgets.QPushButton) Push button for validating custom temporal range