GUI#

The cdl.core.gui package contains functionnalities related to the graphical user interface (GUI) of the DataLab (CDL) 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 (cdl.core.gui.actionhandler and cdl.core.gui.objectview), the data model (cdl.core.gui.objectmodel), the data visualization (cdl.core.gui.plothandler), and the data processing (cdl.core.gui.processor).

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

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

Submodule

Purpose

cdl.core.gui.main

DataLab main window and application

cdl.core.gui.panel

Signal, image and macro panels

cdl.core.gui.actionhandler

Application actions (menus, toolbars, context menu)

cdl.core.gui.objectview

Widgets to display object (signal/image) trees

cdl.core.gui.plothandler

PlotPy plot items for representing signals and images

cdl.core.gui.roieditor

ROI editor

cdl.core.gui.processor

Processor

cdl.core.gui.docks

Dock widgets

cdl.core.gui.h5io

HDF5 input/output