insarviz.view.schema.ListSchema module

class insarviz.view.schema.ListSchema.ListIconRoles(display, icon_name)[source]

Bases: ListRoles

data(role)[source]
class insarviz.view.schema.ListSchema.ListRoles(display)[source]

Bases: object

context_menu(parent_widget, node)[source]
data(role)[source]
class insarviz.view.schema.ListSchema.ListSchema(display, elemSchema)[source]

Bases: Schema

A schema for lists of objects.

TODO_DOC

class ListNode(item_model, schema, model)[source]

Bases: Node

begin_insert_rows(start, l)[source]
begin_remove_rows(start, stop)[source]
can_mime_import_child(mimeData, __action__, __row__, __column__, **kwargs)[source]

Check whether the data can be inserted as a child of this node

can_mime_import_self(mimeData, __action__, **kwargs)[source]

Check whether the data is in a suitable format for importing into this node

columnCount()[source]
context_menu(parent_widget)[source]
create_child_node(row, __column__)[source]
data(role)[source]
property elemSchema
end_insert_rows(start, l)[source]
end_remove_rows(start, stop)[source]
end_replace_rows(start, end)[source]
flags()[source]
property list_roles
mime_import_child(mimeData, __action__, row, __column__, **kwargs)[source]

Insert the given data as a child of this node. Return True if the import succeeded

mime_import_self(mimeData, __action__, **kwargs)[source]

Import the given data into the model. Return True if the import succeeded

removeRows(row, count)[source]
rowCount()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ListNode" inherits "Node": Methods:   #17 type=Slot, signature=begin_remove_rows(int,int), parameters=int, int   #18 type=Slot, signature=end_remove_rows(int,int), parameters=int, int   #19 type=Slot, signature=begin_insert_rows(int,int), parameters=int, int   #20 type=Slot, signature=end_insert_rows(int,int), parameters=int, int   #21 type=Slot, signature=end_replace_rows(int,int), parameters=int, int )
make_node(item_model, model)[source]
supported_mime_types()[source]