def METHOD_NAME(self):
    # It should not be necessary to modify this method
    iconPath = os.path.join(os.path.dirname(__file__), 'SegmentEditorEffect.png')
    if os.path.exists(iconPath):
        return qt.QIcon(iconPath)
    return qt.QIcon()