def listBoxItemSelected( self, index ):
        txt = qt.QString()
        txt = "List box item %d selected" % index
        print txt
        file=open(sys.argv[1],'w')
        file.write(self.dasitems[index])
        file.close();
        a.quit()