GUI#

The datalab.gui package contains functionnalities related to the graphical user interface (GUI) of the DataLab project. Those features are mostly specific to DataLab and are not intended to be used independently.

The purpose of this section of the documentation is to provide an overview of the DataLab GUI architecture and to describe the main features of the modules contained in this package. It is not intended to provide a detailed description of the GUI features, but rather to provide a starting point for the reader who wants to understand the DataLab internal architecture.

DataLab’s main window is composed of several parts, each of them being handled by a specific module of this package:

  • Signal and image panels: those panels are used to display signals and images and to provide a set of tools to manipulate them. Each data panel relies on a set of modules to handle the GUI features (datalab.gui.actionhandler and datalab.gui.objectview), the data model (datalab.gui.objectmodel), the data visualization (datalab.gui.plothandler), and the data processing (datalab.gui.processor).

  • Macro panel: this panel is used to display and run macros. It relies on the datalab.gui.macroeditor module to handle the macro edition and execution.

  • Specialized widgets: those widgets are used to handle specific features such as ROI edition (datalab.gui.roieditor), Intensity profile edition (datalab.gui.profiledialog), etc.

Submodule

Purpose

datalab.gui.main

DataLab main window and application

datalab.gui.panel

Signal, image and macro panels

datalab.gui.actionhandler

Application actions (menus, toolbars, context menu)

datalab.gui.objectview

Widgets to display object (signal/image) trees

datalab.gui.plothandler

PlotPy plot items for representing signals and images

datalab.gui.roieditor

ROI editor

datalab.gui.processor

Processor

datalab.gui.docks

Dock widgets

datalab.gui.h5io

HDF5 input/output