390 child = topItem.child(childRow) |
390 child = topItem.child(childRow) |
391 if child.checkState() and \ |
391 if child.checkState() and \ |
392 child.flags() & Qt.ItemFlags(Qt.ItemIsUserCheckable): |
392 child.flags() & Qt.ItemFlags(Qt.ItemIsUserCheckable): |
393 slotsCode.append('{0}\n'.format(indentStr)) |
393 slotsCode.append('{0}\n'.format(indentStr)) |
394 slotsCode.append('{0}{1}\n'.format( |
394 slotsCode.append('{0}{1}\n'.format( |
395 indentStr, |
395 indentStr, |
396 pyqtSignatureFormat.format(child.data(pyqtSignatureRole)))) |
396 pyqtSignatureFormat.format(child.data(pyqtSignatureRole)))) |
397 slotsCode.append('{0}def {1}:\n'.format( |
397 slotsCode.append('{0}def {1}:\n'.format( |
398 indentStr, child.data(pythonSignatureRole))) |
398 indentStr, child.data(pythonSignatureRole))) |
399 slotsCode.append('{0}"""\n'.format(indentStr * 2)) |
399 slotsCode.append('{0}"""\n'.format(indentStr * 2)) |
400 slotsCode.append('{0}Slot documentation goes here.\n'.format( |
400 slotsCode.append('{0}Slot documentation goes here.\n'.format( |