iblqt.tools

Miscellaneous tools that don’t fit the other categories.

Functions

get_app

Get the current QApplication instance.

get_main_window

Get the main QMainWindow instance of the running Qt application.

get_or_create_app

Return the existing QApplication instance or create a new one.

require_qt

Specify that a function requires a running Qt application.

run_as_qt_app

Run a function as a Qt application.