PEATDB/Labbook.py
def displayFile(self, row, col):
        """Uses a new method of file storage with blobs
           We just get the blob from the filerecord object"""
        from Extfile import FileHandler
        model = self.getModel()
        celldata = model.getCellRecord(row, col)
        if celldata != None:
            filerec=celldata
        else:
            return
        fh = FileHandler(self)
        fh.displayFile(filerec)
        return
Uses a new method of file storage with blobs
           We just get the blob from the filerecord object
Uses a new method of file storage with blobs
We just get the blob from the filerecord object
Uses a new method of file storage with blobs We just get the blob from the filerecord object
def displayFile(self, row, col):
        from Extfile import FileHandler
        model = self.getModel()
        celldata = model.getCellRecord(row, col)
        if celldata != None:
            filerec=celldata
        else:
            return
        fh = FileHandler(self)
        fh.displayFile(filerec)
        return
def displayFile ( self , row , col ) : from Extfile import FileHandler model = self . getModel ( ) celldata = model . getCellRecord ( row , col ) if celldata != None : filerec = celldata else : return fh = FileHandler ( self ) fh . displayFile ( filerec ) return
Uses a new method of file storage with blobs
We just get the blob from the filerecord object
Uses a new method of file storage with blobs We just get the blob from the filerecord object
"""Uses a new method of file storage with blobs
           We just get the blob from the filerecord object"""
self
row
col