8.6.4.7. pymodaq_gui.managers.roi_viewer_manager module
- class pymodaq_gui.managers.roi_viewer_manager.ROIParameterManager(roi_dim=ROIDim.ROI1D)[source]
Bases:
ParameterManager- Attributes:
- rois_setting
Methods
set_settings(settings)If empty create the standard structure otherwise empty the ROIs and readd them one by one for the ROI to reflects the param changes
clear_settings_slot
- set_settings(settings)[source]
If empty create the standard structure otherwise empty the ROIs and readd them one by one for the ROI to reflects the param changes
- property rois_setting: ROIScalableGroup
- class pymodaq_gui.managers.roi_viewer_manager.ROIScalableGroup(roi_dim=ROIDim.ROI1D, **opts)[source]
Bases:
GroupParameterMethods
addNew([descriptor])- staticMetaObject = PySide6.QtCore.QMetaObject("ROIScalableGroup" inherits "GroupParameter": )
- class pymodaq_gui.managers.roi_viewer_manager.ROIViewerManager(view_box=None, roi_dim=ROIDim.ROI1D)[source]
Bases:
ROIParameterManager,QObject- Attributes:
- ROIs
roiwidgetFor backcompatibility
Methods
child_added(param, data)copy_ROI(roi_meta)Method to copy a ROI and add it to the parameter tree and to the viewer widget The method extracts the parameters of the copied ROI, create a new parameter, a new ROI and update it with the settings from the copied parameter :param roi: the ROI to be copied :type roi:
ROImenu_changed(param, data)param_deleted(param)update_use_channel(channels[, index])Function to update the selected channels.
value_changed(param)add_roi_programmatically
color_signal
create_and_add
emit_colors
expand_roi_tree
get_ROI_indexes
get_roi_from_index
new_ROI_signal
remove_ROI
remove_ROI_signal
remove_roi_programmatically
roi_changed
set_roi
- copy_ROI(roi_meta)[source]
Method to copy a ROI and add it to the parameter tree and to the viewer widget The method extracts the parameters of the copied ROI, create a new parameter, a new ROI and update it with the settings from the copied parameter :param roi: the ROI to be copied :type roi:
ROI
- update_use_channel(channels, index=None)[source]
Function to update the selected channels. If no index is given, the channels are applied to all ROIs.
- color_signal
- new_ROI_signal
- params = []
- remove_ROI_signal
- roi_changed
- property roiwidget
For backcompatibility
- staticMetaObject = PySide6.QtCore.QMetaObject("ROIViewerManager" inherits "QObject": Methods: #4 type=Signal, signature=new_ROI_signal(int), parameters=int #5 type=Signal, signature=remove_ROI_signal(int), parameters=int #6 type=Signal, signature=color_signal(QVariantList), parameters=QVariantList #7 type=Signal, signature=roi_changed() )