meshroom.common.qt.SortedModelByReference

- class meshroom.common.qt.SortedModelByReference(parent)
Sort a source model based on the ordered list (reference) of the same elements. This proxy is useful if the model needs to be sorted a certain way for a specific use.
- __init__(parent)
Methods
__init__(parent)beginInsertColumns(self, parent, first, last)beginInsertRows(self, parent, first, last)beginMoveColumns(self, sourceParent, ...)beginMoveRows(self, sourceParent, ...)beginRemoveColumns(self, parent, first, last)beginRemoveRows(self, parent, first, last)beginResetModel(self)blockSignals(self, b)buddy(self, index)canDropMimeData(self, data, action, row, ...)canFetchMore(self, parent)changePersistentIndex(self, from_, to)changePersistentIndexList(self, from_, to)checkIndex(self, index[, options])childEvent(self, event)children(self)columnCount(self[, parent])connect(...)connectNotify(self, signal)createIndex(-> PySide2.QtCore.QModelIndex)customEvent(self, event)data(self, index[, role])decodeData(self, row, column, parent, stream)deleteLater(self)disconnect(...)disconnectNotify(self, signal)dropMimeData(self, data, action, row, ...)dumpObjectInfo(self)dumpObjectTree(self)dynamicPropertyNames(self)dynamicSortFilter(self)emit(self, arg__1, *args)encodeData(self, indexes, stream)endInsertColumns(self)endInsertRows(self)endMoveColumns(self)endMoveRows(self)endRemoveColumns(self)endRemoveRows(self)endResetModel(self)event(self, event)eventFilter(self, watched, event)fetchMore(self, parent)filterAcceptsColumn(self, source_column, ...)filterAcceptsRow(self, source_row, source_parent)filterCaseSensitivity(self)filterKeyColumn(self)filterRegExp(self)filterRegularExpression(self)filterRole(self)findChild(self, arg__1[, arg__2])findChildren(...)flags(self, index)hasChildren(self[, parent])hasIndex(self, row, column[, parent])headerData(self, section, orientation[, role])index(self, row, column[, parent])inherits(self, classname)insertColumn(self, column[, parent])insertColumns(self, column, count[, parent])insertRow(self, row[, parent])insertRows(self, row, count[, parent])installEventFilter(self, filterObj)invalidate(self)invalidateFilter(self)isRecursiveFilteringEnabled(self)isSignalConnected(self, signal)isSortLocaleAware(self)isWidgetType(self)isWindowType(self)itemData(self, index)killTimer(self, id)lessThan(self, source_left, source_right)mapFromSource(self, sourceIndex)mapSelectionFromSource(self, sourceSelection)mapSelectionToSource(self, proxySelection)mapToSource(self, proxyIndex)match(self, start, role, value[, hits, flags])metaObject(self)mimeData(self, indexes)mimeTypes(self)moveColumn(self, sourceParent, sourceColumn, ...)moveColumns(self, sourceParent, ...)moveRow(self, sourceParent, sourceRow, ...)moveRows(self, sourceParent, sourceRow, ...)moveToThread(self, thread)objectName(self)parent(-> PySide2.QtCore.QObject)persistentIndexList(self)property(self, name)receivers(self, signal)reference()registerUserData()removeColumn(self, column[, parent])removeColumns(self, column, count[, parent])removeEventFilter(self, obj)removeRow(self, row[, parent])removeRows(self, row, count[, parent])resetInternalData(self)revert(self)roleNames(self)rowCount(self[, parent])sender(self)senderSignalIndex(self)setData(self, index, value[, role])setDynamicSortFilter(self, enable)setFilterCaseSensitivity(self, cs)setFilterFixedString(self, pattern)setFilterKeyColumn(self, column)setFilterRegExp(-> None)setFilterRegularExpression(-> None)setFilterRole(self, role)setFilterWildcard(self, pattern)setHeaderData(self, section, orientation, value)setItemData(self, index, roles)setObjectName(self, name)setParent(self, parent)setProperty(self, name, value)setRecursiveFilteringEnabled(self, recursive)setReference(iterable)Set the reference ordered list
setSortCaseSensitivity(self, cs)setSortLocaleAware(self, on)setSortRole(self, role)setSourceModel(self, sourceModel)sibling(self, row, column, idx)signalsBlocked(self)sort()Sort the proxy and call invalidate()
sortCaseSensitivity(self)sortColumn(self)sortOrder(self)sortRole(self)sourceModel(self)span(self, index)startTimer(self, interval[, timerType])submit(self)supportedDragActions(self)supportedDropActions(self)thread(self)timerEvent(self, event)tr(self, arg__1[, arg__2, arg__3])Attributes
HorizontalSortHintNoLayoutChangeHintVerticalSortHintcolumnsAboutToBeInsertedcolumnsAboutToBeMovedcolumnsAboutToBeRemovedcolumnsInsertedcolumnsMovedcolumnsRemoveddataChangeddestroyeddynamicSortFilterChangedfilterCaseSensitivityChangedfilterRoleChangedheaderDataChangedlayoutAboutToBeChangedlayoutChangedmodelAboutToBeResetmodelResetobjectNameChangedrecursiveFilteringEnabledChangedrowsAboutToBeInsertedrowsAboutToBeMovedrowsAboutToBeRemovedrowsInsertedrowsMovedrowsRemovedsortCaseSensitivityChangedsortLocaleAwareChangedsortRoleChangedsourceModelChangedstaticMetaObject