

def CreateButton(self, text, parent):
    button = QtGui.QPushButton(text, parent)
    sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
    button.setMaximumSize(QtCore.QSize(16777215, 28))
    self.setSizePolicy(sizePolicy)
    return button

dataset/ETHPy150Open ialex/opentumblr-qt/opentumblrqt/gui/chat_ui.py Chat_widget.CreateButton/VarMisuse@58/79 `button`->`self`