Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Reimplement, see labelListModel or boxListModel for concrete example
:param index:

src/i/l/ilastik-HEAD/ilastik/widgets/labelListModel.py   ilastik(Download)
    def flags(self, index):
        if  index.column() == self.ColumnID.Color:
            return Qt.ItemIsEnabled | Qt.ItemIsSelectable
        else:
            return ListModel.flags(self, index)