fix(qt_class_visual.py): Fix AttributeError