Esempio n. 1
0
    def load_data(self):
        """ Used to load Layer data"""
        self.pbar.setMaximum(100)
        self.pbar.setValue(0)

        dtmp = ir.ImportData()
        tmp = dtmp.settings()
        if tmp is False:
            return None
        data = dtmp.outdata['Raster']

        data[0].data = data[0].data
        data[0].data = data[0].data[::-1]  # need this reversed

        self.pbar.setValue(100)
        return data[0]
Esempio n. 2
0
 def import_data(self):
     """ Imports data"""
     fnc = iodefs.ImportData(self.parent)
     self.parent.item_insert("Io", "Import Data", fnc)
Esempio n. 3
0
 def import_data(self):
     """Import data."""
     fnc = iodefs.ImportData(self.parent)
     self.parent.item_insert('Io', 'Import Data', fnc)