pyworkflow.gui.project.labels module

Tree widget implementation.

class pyworkflow.gui.project.labels.EditLabelDialog(parent, title, label, **kwargs)[source]

Bases: pyworkflow.gui.dialog.Dialog

Dialog to edit a label (name, color)

apply()[source]
body(bodyFrame)[source]
validate()[source]
class pyworkflow.gui.project.labels.LabelsDialog(parent, labels, **kwargs)[source]

Bases: pyworkflow.gui.dialog.ToolbarListDialog

This class extend from ListDialog to allow an extra toolbar to handle operations over the elements in the list (e.g. Edit, New, Delete).

class pyworkflow.gui.project.labels.LabelsTreeProvider(objList=None)[source]

Bases: pyworkflow.gui.tree.TreeProvider

Populate Tree from Labels.

configureTags(tree)[source]
getColumns()[source]
getObjectActions(obj)[source]
getObjectInfo(label)[source]
getObjectPreview(obj)[source]
getObjects()[source]