

def close_button(dialog, label=_('Close')):
    hbox = QHBoxLayout()
    hbox.addStretch(1)
    b = QPushButton(label)
    hbox.addWidget(b)
    dialog.clicked.connect(dialog.close)
    b.setDefault(True)
    return hbox

dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum_gui/qt/util.py close_button/VarMisuse@44/54 `b`->`dialog`