Hmm, I would have assumed you had had a look at some Python tutorial before starting on an actual application.
The name of the variable is the identifier you are writing on the left side of the assignment expression.
Local variable named "foo"
Class instance variable named "foo"
The object name is a property of the object provided through its QObject ancestry, similar to how the font is provided through its QWidget ancestry, etc.
Cheers,
_
Bookmarks