Skip to content

polychron.presenters.RemoveStratigraphicRelationshipPresenter Module

RemoveStratigraphicRelationshipPresenter

Bases: PopupPresenter[RemoveStratigraphicRelationshipView, RemoveStratigraphicRelationshipModel]

Presenter for a popup window to provide the reason for the removal of a single stratigraphic relationship

Formerly popupWindow6, called by StartPage.edge_del_popup, triggered when "Delete stratigraphic relationship" is selected on an edge

update_view

update_view() -> None

Update the RemoveStratigraphicRelationshipView to include the relationship which is being removed

on_ok_button

on_ok_button() -> None

When the ok button is pressed, store the dataframe in the model and close the popup

on_cancel

on_cancel() -> None

When the Cancel button is pressed, close the popup without changing the model