add .gitignore **.pyc
add parent widget param to QObject __init__ call