#NEWLINE# def on_btnReport_clicked( self ) : #NEWLINE# #INDENT# fileName = QtGui . QFileDialog . getSaveFileName ( fileName , 'Save Report' , ilastik . gui . LAST_DIRECTORY , 'Reports (*.html)' ) #NEWLINE# fn = str ( QtCore . QDir . convertSeparators ( fileName ) ) #NEWLINE# ilastik . gui . LAST_DIRECTORY = QtCore . QFileInfo ( fn ) . path ( ) #NEWLINE# self . parent . project . dataMgr [ self . parent . project . dataMgr . _activeImageNumber ] . Object_Picking . generateReport ( fn )