#NEWLINE# def __init__( self , parent ) : #NEWLINE# #INDENT# QtGui . QDialog . __init__ ( self , parent ) #NEWLINE# self . setupUi ( self ) #NEWLINE# connect ( self . btn_insert , QtCore . SIGNAL ( 'clicked()' ) , ( lambda : self . done ( 1 ) ) )