Tree Model¶
OmeroTreeModel¶
OmeroTreeModel ¶
Bases: QStandardItemModel
Lazy-loading model for the OMERO Project → Dataset → Image tree.
Call :meth:load_root after the gateway is connected to populate the
top level.
load_root ¶
Populate the root level (projects + orphaned containers).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
conn
|
BlitzGateway
|
Connected gateway. |
required |
owner_id
|
int | None
|
If given, filter objects to this experimenter. |
None
|
fetch_children ¶
Fetch children for the node at index in a background thread.
get_wrapper
staticmethod
¶
Return the OMERO wrapper object for index, or None.
NodeType¶
NodeType ¶
Bases: IntEnum