def METHOD_NAME(self, option, index):
    """Reimplemented to provide size hint based on a checkbox"""
    box = QtGui.QStyleOptionButton()
    style = QtGui.QApplication.instance().style()
    return style.sizeFromContents(
        QtGui.QStyle.ContentsType.CT_CheckBox, box, QtCore.QSize(), None
    )