

def _build_ui(self):
    w = QtGui.QCheckBox()
    w.setChecked(self.params)
    w.toggled.connect(nonpartial(self.changed))
    return w

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py BoolElement._build_ui/original