ibllib.misc.qt

PyQt5 helper functions.

Functions

create_app

Create a Qt application.

get_main_window

Get the Main window of a QT application.

require_qt

Function decorator to specify that a function requires a Qt application.

run_app

Run the Qt application.

get_main_window()[source]

Get the Main window of a QT application.

create_app()[source]

Create a Qt application.

require_qt(func)[source]

Function decorator to specify that a function requires a Qt application.

Use this decorator to specify that a function needs a running Qt application before it can run. An error is raised if that is not the case.

run_app()[source]

Run the Qt application.