Skip to content

polychron.views.CalibrateModelSelectView Module

CalibrateModelSelectView

Bases: PopupView

View for selecting which models to calibrate, when multiple models are to be calibrated at once

Formerly popupWindow8, used from menu option "Calibrate multiple models from project"

__init__

__init__(parent: Frame) -> None

Construct the view, without binding any callbacks

bind_ok_button

bind_ok_button(callback: Callable[[], Any]) -> None

Bind the callback for when the ok_button is pressed

bind_select_all_button

bind_select_all_button(callback: Callable[[], Any]) -> None

Bind the callback for when the select_all_button is pressed

update_model_list

update_model_list(model_list: List[str]) -> None

Update the list box with the names of models from the current project which are ready for calibration.

select_all_models

select_all_models() -> None

select all models within the UI

get_selected_models

get_selected_models() -> List[str]

Get a list of selected model names from the listbox