lyse.utils.gui

Lyse GUI common utilities

Functions

error_dialog(app, message)

get_check_state(qcheckbox)

Return check state of a QCheckBox as an integer

get_screen_geometry(qapplication)

Return the a list of the geometries of each screen: each a tuple of left, top, width and height

question_dialog(app, message)

scientific_notation(x[, sigfigs, mode])

Returns a unicode string of the float f in scientific notation