source/riffle/model.py
def headerData(self, section, orientation, role):
        '''Return label for *section* according to *orientation* and *role*.'''
        if orientation == Qt.Horizontal:
            if section < len(self.columns):
                column = self.columns[section]
                if role == Qt.DisplayRole:
                    return column

        return None
def headerData(self, section, orientation, role):
        '''Return label for *section* according to *orientation* and *role*.'''
        if orientation == Qt.Horizontal:
            if section < len(self.columns):
                column = self.columns[section]
                if role == Qt.DisplayRole:
                    return column

        return None
def headerData ( self , section , orientation , role ) : if orientation == Qt . Horizontal : if section < len ( self . columns ) : column = self . columns [ section ] if role == Qt . DisplayRole : return column return None
Return label for *section* according to *orientation* and *role*.
Return label for * section * according to * orientation * and * role * .