add py-samples for dialog using Qt4 framework