MainWindow Class
MainWindow Class
Version2
-
class
kalmus.tkinter_windows.MainWindowVersion2.
MainWindow
(barcode_tmp, barcode_gn, figsize=(12, 5), dpi=100)[source]
Bases: object
MainWindow Class.
The main GUI window for user to interact with the Kalmus software.
Has two displays for the barcodes and the histograms of their hue/brightness values.
Has all buttons to the subwindow of the kalmus software.
-
check_meta_info
()[source]
Instantiate the WhichBarcodeCheckMeta window
-
close_window
()[source]
close the Mainwindow.
Check if the Generate Barcode window is still open before quiting the Main program.
Return (cancel the quit) if the Generate Barcode window is still open.
-
display_color
(event)[source]
-
generate_barcode
()[source]
Instantiate the GenerateBarcodeWindow
-
load_json_barcode
()[source]
Instantiate the LoadJsonWindow
-
load_stack_barcode
()[source]
Instantiate the LoadStackWindow
-
quit
()[source]
Quit the main window
-
reshape_barcode
()[source]
Instantiate the ReshapeBarcodeWindow
-
save_barcode_on_stack
()[source]
Instantiate the SaveBarcodeWindow
-
save_image_from_display
()[source]
Instantiate the SaveImageWindow
-
show_barcode
()[source]
Instantiate the WhichBarcodeInspectWindow
-
stats_info
()[source]
Instantiate the StatsInfoWindow
-
time_pick
(event)[source]
Pick the time at a point of the plotted barcode if user double click on that point
- Parameters
event -- matplotlib event. Only catch double click event