spinetoolbox.spine_db_editor.mvcmodels.tree_item_utility¶
A tree model for parameter_value lists.
| authors: |
|
|---|---|
| date: | 28.6.2019 |
Module Contents¶
Classes¶
NonLazyTreeItem |
A tree item that fetches their children as they are inserted. |
EditableMixin |
|
LastGrayMixin |
Paints the last item gray. |
AllBoldMixin |
Bolds text. |
EmptyChildMixin |
Guarantess there’s always an empty child. |
NonLazyDBItem |
An item representing a db. |
-
class
spinetoolbox.spine_db_editor.mvcmodels.tree_item_utility.NonLazyTreeItem(model=None)[source]¶ Bases:
spinetoolbox.mvcmodels.minimal_tree_model.TreeItemA tree item that fetches their children as they are inserted.
Initializes item.
Parameters: model (MinimalTreeModel, NoneType) – The model where the item belongs.
-
class
spinetoolbox.spine_db_editor.mvcmodels.tree_item_utility.LastGrayMixin[source]¶ Paints the last item gray.
-
class
spinetoolbox.spine_db_editor.mvcmodels.tree_item_utility.EmptyChildMixin[source]¶ Guarantess there’s always an empty child.
-
class
spinetoolbox.spine_db_editor.mvcmodels.tree_item_utility.NonLazyDBItem(db_map)[source]¶ Bases:
spinetoolbox.spine_db_editor.mvcmodels.tree_item_utility.NonLazyTreeItemAn item representing a db.
Init class.
- Args
- db_mngr (SpineDBManager) db_map (DiffDatabaseMapping)