mxcubecore.utils.view_delegate#
Classes
|
View item proxy/delegate, used to decouple the QueueEntry object from the UI attached. |
- class mxcubecore.utils.view_delegate.ViewDelegate(queue_model, node_id)[source]#
Bases:
objectView item proxy/delegate, used to decouple the QueueEntry object from the UI attached. Can replace the Qt View item
Implements methods queue entries call on their view and emits a singal with the node id and method called so client (mxcubeweb/qt) can react to whatever the entry intended to show, without mxcubecore depending on any UI toolkit.