MCPcopy Create free account
hub / github.com/LabPy/lantz / __init__

Method __init__

lantz/ui/widgets.py:607–618  ·  view source on GitHub ↗
(self, parent, targets)

Source from the content-addressed store, hash-verified

605 """
606
607 def __init__(self, parent, targets):
608 super().__init__(parent)
609
610 layout = QtGui.QHBoxLayout(self)
611
612 tab_widget = QtGui.QTabWidget(self)
613 tab_widget.setTabsClosable(False)
614 for target in targets:
615 widget = DriverTestWidget(parent, target)
616 tab_widget.addTab(widget, target.name)
617
618 layout.addWidget(tab_widget)
619
620
621def connect_feat(widget, target, feat_name=None, feat_key=MISSING):

Callers

nothing calls this directly

Calls 2

DriverTestWidgetClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected