MetaInfoWindow Class

MetaInfoWindow Class

class kalmus.tkinter_windows.meta_info_windows.MetaInfoWindow.MetaInfoWindow(barcode, barcodes_stack)[source]

Bases: object

MetaInfoWindow Class GUI window that displays the meta information of the selected barcode

get_hr_min_sec_from_tot_sec(tot_seconds)[source]

Get the equivalent Hours:Minutes:Seconds representation from a given total seconds

Parameters

tot_seconds -- Total seconds

Returns

Converted hours, minutes, and seconds representation Hours:Minutes:Seconds Hours >= 0, 60 > Minutes >= 0, 60 > Seconds >= 0

get_time_str()[source]

Get string for film length in hrs:mins:secs, clip start time in hrs:mins:secs, and clip end time in hrs:mins:secs

Returns

Text string for film length, clip start time at film, clip end time at film

refresh_text()[source]

Refresh the meta information text displayed for the barcode

update_meta_info()[source]

Instantiate the SpecifyMetaDataWindow, if the user press the add info button