def slotAddChannel(self):
        newID = QtGui.QLineEdit()
        newID.setToolTip("Enter identifier for this channel's files, e.g. GFP or ch01")
        self.channelIDs.append(newID)
        nch = len(self.channelIDs)
        label = "Channel %d identifier" % nch
        receiver = lambda callingChannel=nch-1: self.channelIDChanged(callingChannel)
        self.connect(self.channelIDs[nch-1], QtCore.SIGNAL('editingFinished()'), receiver)
        
        self.multiChannelFrame.layout().addRow(QtGui.QLabel(label), newID)
        if len(self.channelIDs)>1:
            self.fileList.append([])
dataset/ETHPy150Open ilastik/ilastik-0.5/ilastik/gui/stackloader.py/StackLoader.slotAddChannel/original