ClusterEditor¶
- class tat.cluster_editor.ClusterEditor(parent: Optional[PySide6.QtWidgets.QWidget], calling_image_entry: tat.cluster_image_entry.ClusterImageEntry)¶
- __init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = None, flags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) None¶
Initialize self. See help(type(self)) for accurate signature.
- apply_to_all() None¶
Send a merge signal for each pending merge.
- closeEvent(self, event: PySide6.QtGui.QCloseEvent) None¶
- image_preview() PySide6.QtWidgets.QLabel¶
Override this method to return the image preview QLabel.
- Return type
QLabel
- merge() None¶
Merge the selected layers only in the current view. Update the cluster preview with the newly merged cluster.
- moveEvent(self, event: PySide6.QtGui.QMoveEvent) None¶
- reset() None¶
Removes all uncommitted changes done in the editor.
- resizeEvent(self, event: PySide6.QtGui.QResizeEvent) None¶
- source_layout() PySide6.QtWidgets.QLayout¶
Override this method to return the source area container layout.
- Return type
QLayout
- undo() None¶
Go one step back.
- unmerge() None¶
Unmerge the selected layers in the editor. Global behavior not implemented.