#NEWLINE# def openChooser( self ) : #NEWLINE# #INDENT# path = QtGui . QFileDialog . getOpenFileName ( self , 'Select File...' , self . getDefaultText ( ) , 'All files (*.*)' ) #NEWLINE# return self . setDataDirectory ( path )