ibl_alignment_gui.plugins.upload_dialog

Functions

display

Configure and show the upload dialog.

setup

Set up the upload dialog and connect its accepted signal to the callback.

Classes

UploadDialog

Dialog for selecting shanks to upload.

class ibl_alignment_gui.plugins.upload_dialog.UploadDialog(controller)[source]

Bases: QDialog

Dialog for selecting shanks to upload.

Parameters:

controller (AlignmentGUIController) – The main application controller.

add_shanks()[source]

Add the current shanks to the dropdown options.

Return type:

None

on_accept()[source]

Find the selected shanks and accept the dialog.

Return type:

None

on_shank_button_clicked(checked, button)[source]

Update the shank selections based on button clicks.

If the clicked button is ‘All’, it checks all shanks when checked, or reverts to the currently selected shank when unchecked.

Parameters:
  • checked (bool) – Whether the button is checked or not.

  • button (str) – The text of the button that was clicked.

Return type:

None

setup()[source]

Set up the dialog layout and widgets.

ibl_alignment_gui.plugins.upload_dialog.display(controller)[source]

Configure and show the upload dialog.

Parameters:

controller (AlignmentGUIController) – The main application controller.

ibl_alignment_gui.plugins.upload_dialog.setup(controller)[source]

Set up the upload dialog and connect its accepted signal to the callback.

Parameters:

controller (AlignmentController) – The main application controller.