(self, section, orientation, value, role=Qt.EditRole)
return True
Reimplemented.
Reimplemented.
Reimplemented .
def setHeaderData(self, section, orientation, value, role=Qt.EditRole):
        # type: (int, Qt.Orientation, Any, Qt.ItemDataRole) -> bool
        """Reimplemented."""
        current = self.__headerData[orientation][section].get(role, None)
        if current != value:
            if value is None:
                del self.__headerData[orientation][section][role]
            else:
                self.__headerData[orientation][section][role] = value
            self.headerDataChanged.emit(orientation, section, section)
        return True
def setHeaderData ( self , section , orientation , value , role = Qt . EditRole ) : # type: (int, Qt.Orientation, Any, Qt.ItemDataRole) -> bool current = self . __headerData [ orientation ] [ section ] . get ( role , None ) if current != value : if value is None : del self . __headerData [ orientation ] [ section ] [ role ] else : self . __headerData [ orientation ] [ section ] [ role ] = value self . headerDataChanged . emit ( orientation , section , section ) return True