9.4. Helper Modules

'cei' module

This module includes a number of common functions that are not generally EnSight specific. They are used in tools like EnVe, but can be used by any EnSight Python application.

CeiPrintDlg() class for PyQt based rendering and printing of the main window (in printdlg.py)

CeiQtImageFormatOptions() class for prompting the user for UDIL selection/options (in qtimgformats.py)

CeiQtSaveImage() class to prompt the user for a complete set of image size/saving options, including the render and save) (in qtimgformats.py)

CeiPlot() classes to wrapper matplotlib. Create a graph and save it to disk (in plots.py)

CeiQtPlotWindow() class providing a dockable Qt4 widget that contains a CeiPlot object, including copy and print operations (in qtplots.py)

CEItranslate() class that acts as a repository for .gm translation files and allows for dynamic changing of the language for all objects as well as a method to get a language menu (in qtlanguage.py)

ceisplash() class to manage a splash screen from a .svg file (in ceisplash.py)

CeiLogging() and logging shortcuts (in ceilogging.py)

CeiQtGenericDialog() class that generates dynamic dialogs from simple lists and prompts the user for values. It can handle things like text, checkboxes, ints, floats, variables, parts, option menus, strings, filenames, etc (in qtgenericdlg.py)