def __init__(self, parent, items): QDialog.__init__(self, parent) loadUi(self, 'paramset.ui') self.new_data = None self.items = items self.xaxisList.populate(items) self.yaxisList.populate(items) self._auto_name = ''
def __init__(self, parent, items): QDialog.__init__(self, parent) loadUi(self, 'paramselect.ui') self.availList.populate(items, intersect=False) self.items = items