GenerateBarcodeWindow Class

GenerateBarcodeWindow Class

class kalmus.tkinter_windows.GenerateBarcodeWindow.GenerateBarcodeWindow(barcode_generator, barcode_stack)[source]

Bases: object

GenerateBarcodeWindow Class GUI window for user to generate the barcode from a video file

acquire_generation_param()[source]

Acquire the barcode generation parameters

browse_folder()[source]

Browse the folder

disable_generate_button()[source]

Disable the generate button and Specify Meta Data button once generation starts

disable_setup()[source]

Disable the letter box setup entry if user choose the Auto radio button

enable_generate_button()[source]

Enable the generate button and Specify Meta Data button in case of failed generation

enable_setup()[source]

Enable the letter box setup entry if user choose the Manual radio button

fill_default_setting()[source]
frame_unit()[source]

Change the acquisition unit to Frame when user switch to the frame radio button

generate_barcode()[source]

Generate the barcode using the given parameters

generate_barcode_thread()[source]

Generate the barcode in a another thread to avoid the frozen tkinter window issue

Returns

quit()[source]

Quit the main window

specify_data()[source]

Instantiate the SpecifyMetaDataWindow

time_unit()[source]

Change the acquisition unit to Time when user switch to the time radio button

update_json_filename()[source]
update_rescale_entry()[source]

Enable or disable and change the label prompt when user check/uncheck the rescale frames checkbox

update_save_frame_entry()[source]

Enable or disable the text entry when user check/uncheck the save frames checkbox

update_thread_entry()[source]

Enable or disable and change the label prompt when user check/uncheck the multi-thread checkbox