Create widget_integrate.py

Import this file into the file where you're designing the UI, call this function. It will not terminate until you are satisfied. The parameters to be passed are the widget type (Button, Label etc.) and the name you have assigned to it.