TeraPy - Graphical user interface for Terahertz Time-domain Spectroscopy (c) 2010-2013, Daniel Dietze, 2013-2014 Vincent Paeder
Send main window reference through pubsub.
Create widgets associated with loaded physical devices. Devices are either defined in the device configuration file or detected with the hardware.ScanHardware function.
Fill hardware menu with loaded devices and attach actions
About dialog.
Actions triggered when main window is closed.
Call configure function of selected axis device. Menu action.
Call configure function of selected input device. Menu action.
Open default units dialog.
Announce through pubsub that a load event has been called. This function doesn’t implement a load file routine. It only announces a load request, which should be handled elsewhere (e.g. history control).
Open documentation in web browser.
Quit application.
Trigger reset of loaded devices. This function is meant to be called from main menu.
Trigger scan for connected devices. This function is meant to be called from main menu.
Open settings dialog.
Actions preceding a new measurement.
Actions following the end of a measurement.
Set currently selected axis device to given position. This function is meant to be called by pubsub.
Set progress bar value from pubsub event.
Report on the state of the “automatic update” checkbox through pubsub.
Set main window status bar text. Can be called directly or as a pubsub event subscriber.
Start update timers for loaded devices
Stop update timers for loaded devices
Enable/Disable interface elements.
Actions following a change in the list of loaded hardware devices