insarviz.view.schema.SchemaItemModel module

class insarviz.view.schema.SchemaItemModel.SchemaItemDelegate(item_model: SchemaItemModel, parent=None)[source]

Bases: QStyledItemDelegate

createEditor(parent: QWidget, option: QStyleOptionViewItem, index: QModelIndex) QWidget | None[source]
destroyEditor(editor: QWidget, index: QModelIndex)[source]
eventFilter(editor, event)[source]
needPersistent
paint(painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)[source]
setEditorData(editor: QWidget, index: QModelIndex)[source]
setModelData(editor: QWidget, model: QAbstractItemModel, index: QModelIndex)[source]
sizeHint(option: QStyleOptionViewItem, index: QModelIndex) QSize[source]
staticMetaObject = PySide6.QtCore.QMetaObject("SchemaItemDelegate" inherits "QStyledItemDelegate": Methods:   #9 type=Signal, signature=needPersistent(QModelIndex), parameters=QModelIndex )
class insarviz.view.schema.SchemaItemModel.SchemaItemModel(schema: Schema, model: Any)[source]

Bases: QAbstractItemModel

canDropMimeData(mimeData: QMimeData, action: DropAction, row: int, column: int, parent: QModelIndex) bool[source]
columnCount(index=<PySide6.QtCore.QModelIndex(-1, -1, 0x0, QObject(0x0))>) int[source]
data(index: QModelIndex, role: ItemDataRole)[source]
dropMimeData(mimeData: QMimeData, action: DropAction, row: int, column: int, parent: QModelIndex)[source]
flags(index: QModelIndex) ItemFlag[source]
index(row: int, column: int, parent: QModelIndex = <PySide6.QtCore.QModelIndex(-1, -1, 0x0, QObject(0x0))>) QModelIndex[source]
mimeData(indices: list[QModelIndex]) QMimeData | None[source]
mimeTypes() list[str][source]
needExpand
node_at(index: QModelIndex) Node[source]
parent(index: QModelIndex) QModelIndex[source]
removeRows(row: int, count: int, parent: QModelIndex)[source]
rowCount(index: QModelIndex = <PySide6.QtCore.QModelIndex(-1, -1, 0x0, QObject(0x0))>) int[source]
setData(index: QModelIndex, value: Any, role: ItemDataRole)[source]
staticMetaObject = PySide6.QtCore.QMetaObject("SchemaItemModel" inherits "QAbstractItemModel": Methods:   #76 type=Signal, signature=needExpand(QModelIndex), parameters=QModelIndex )
supportedDragActions() DropAction[source]
supportedDropActions() DropAction[source]
class insarviz.view.schema.SchemaItemModel.SchemaView(schema: Schema, model: Any, **kwargs)[source]

Bases: QTreeView

selection_changed
staticMetaObject = PySide6.QtCore.QMetaObject("SchemaView" inherits "QTreeView": Methods:   #88 type=Signal, signature=selection_changed(PyObject), parameters=PyObject   #89 type=Slot, signature=__on_current_changed(PyObject,PyObject), parameters=PyObject, PyObject   #90 type=Slot, signature=__expand_node(QModelIndex), parameters=QModelIndex   #91 type=Slot, signature=_make_custom_context_menu(QPoint), parameters=QPoint )