insarviz.view.schema.ListSchema module
- class insarviz.view.schema.ListSchema.ListSchema(display, elemSchema)[source]
Bases:
SchemaA schema for lists of objects.
TODO_DOC
- class ListNode(item_model, schema, model)[source]
Bases:
Node- 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
- property elemSchema
- 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
- 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 )