Please keep first line of docstring on its own line so:

"""Automatic slot executed when category changes.

Set description label and subcategory widgets according to the 
selected category.
"""

Also note that all docstrings should be whole sentances (starting with a capital letter and ending with a full stop). It will make our API docs beautiful and consistent.