interfaces.UI package

Submodules

interfaces.UI.AIMSim_ui_main module

User Interface and associated methods to access the key functionalities of AIMSim without having to use the command line.

raises IOError

When pressing ‘open config’ it is possible that no suitable

raises program will be known to the OS to open .yaml files. Also if no tasks

raises are selected, an IOError will be raised.

Author:

Jackson Burns

class interfaces.UI.AIMSim_ui_main.AIMSimUiApp

Bases: CTk

User interface to access key functionalities of AIMSim.

HEIGHT = 400
WIDTH = 800
__init__()

Constructor for AIMSim UI.

browseCallback()

launch a file dialog and set the databse field

openConfigCallback()

Open the config file being used by the UI to allow the user to edit it.

run()

Start the UI.

runCallback()

Retrieves user input, writes to a .yaml configuration file, and calls AIMSim on that input.

Raises
  • IOError – When opening the automatically generated config file from the UI, there is a chance

  • that the OS will not know which program to use, raising the error.

showAllDescriptorsCallback()

update the descriptors dropdown to show descriptors.

useMeasureSearchCallback()

measure search dropdown disable/enable

interfaces.UI.AIMSim_ui_main.main()

Start the app.

Module contents