|
|
|
@ -1852,6 +1852,20 @@ class QPersistentModelIndex(sip.simplewrapper):
|
|
|
|
|
|
|
|
|
|
class QAbstractItemModel(QObject): |
|
|
|
|
dataChanged = ... # type: PYQT_SIGNAL |
|
|
|
|
columnsMoved = ... # type: PYQT_SIGNAL |
|
|
|
|
columnsAboutToBeMoved = ... # type: PYQT_SIGNAL |
|
|
|
|
rowsMoved = ... # type: PYQT_SIGNAL |
|
|
|
|
rowsAboutToBeMoved = ... # type: PYQT_SIGNAL |
|
|
|
|
modelReset = ... # type: PYQT_SIGNAL |
|
|
|
|
modelAboutToBeReset = ... # type: PYQT_SIGNAL |
|
|
|
|
columnsRemoved = ... # type: PYQT_SIGNAL |
|
|
|
|
columnsAboutToBeRemoved = ... # type: PYQT_SIGNAL |
|
|
|
|
columnsInserted = ... # type: PYQT_SIGNAL |
|
|
|
|
columnsAboutToBeInserted = ... # type: PYQT_SIGNAL |
|
|
|
|
rowsRemoved = ... # type: PYQT_SIGNAL |
|
|
|
|
rowsAboutToBeRemoved = ... # type: PYQT_SIGNAL |
|
|
|
|
rowsInserted = ... # type: PYQT_SIGNAL |
|
|
|
|
rowsAboutToBeInserted = ... # type: PYQT_SIGNAL |
|
|
|
|
|
|
|
|
|
class LayoutChangeHint(int): ... |
|
|
|
|
NoLayoutChangeHint = ... # type: 'QAbstractItemModel.LayoutChangeHint' |
|
|
|
@ -1872,10 +1886,10 @@ class QAbstractItemModel(QObject):
|
|
|
|
|
def beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) -> bool: ... |
|
|
|
|
def endMoveRows(self) -> None: ... |
|
|
|
|
def beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) -> bool: ... |
|
|
|
|
def columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) -> None: ... |
|
|
|
|
def columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) -> None: ... |
|
|
|
|
def rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) -> None: ... |
|
|
|
|
def rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) -> None: ... |
|
|
|
|
#def columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) -> None: ... |
|
|
|
|
#def columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) -> None: ... |
|
|
|
|
#def rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) -> None: ... |
|
|
|
|
#def rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) -> None: ... |
|
|
|
|
def createIndex(self, row: int, column: int, object: typing.Any = ...) -> QModelIndex: ... |
|
|
|
|
def roleNames(self) -> typing.Any: ... |
|
|
|
|
def supportedDragActions(self) -> Qt.DropActions: ... |
|
|
|
@ -1898,16 +1912,16 @@ class QAbstractItemModel(QObject):
|
|
|
|
|
def encodeData(self, indexes: typing.Any, stream: 'QDataStream') -> None: ... |
|
|
|
|
def revert(self) -> None: ... |
|
|
|
|
def submit(self) -> bool: ... |
|
|
|
|
def modelReset(self) -> None: ... |
|
|
|
|
def modelAboutToBeReset(self) -> None: ... |
|
|
|
|
def columnsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def columnsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def rowsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def rowsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def modelReset(self) -> None: ... |
|
|
|
|
#def modelAboutToBeReset(self) -> None: ... |
|
|
|
|
#def columnsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def columnsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def rowsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def rowsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
#def rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... |
|
|
|
|
def layoutChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... |
|
|
|
|
def layoutAboutToBeChanged(self, parents: typing.Any = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... |
|
|
|
|
def headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) -> None: ... |
|
|
|
|