ClusterImageEntry

class tat.cluster_image_entry.ClusterImageEntry(parent: PySide6.QtWidgets.QWidget, image: PySide6.QtGui.QImage, name: str, image_path: str, array_path: str, layers_data: List[tat.layer_data.LayerData])
__init__(parent: PySide6.QtWidgets.QWidget, image: PySide6.QtGui.QImage, name: str, image_path: str, array_path: str, layers_data: List[tat.layer_data.LayerData])

Instantiate a ClusterImageEntry object.

Parameters
  • parent – The widget calling the method.

  • image – The image that will be used to draw the preview thumbnail.

  • image_path – The path of the cluster image.

  • name – The name that will be showed below the thumbnail.

  • layers_data – A list of LayerData containing all the information about a layer.

mouseDoubleClickEvent(self, event: PySide6.QtGui.QMouseEvent) None