spinetoolbox.spine_db_editor.widgets.object_name_list_editor
¶
Contains the ObjectNameListEditor class.
- author
Marin (KTH)
- date
27.11.2019
Module Contents¶
Classes¶
A custom delegate to use with ObjectNameListEditor. |
|
A dialog to select the object name list for a relationship using Google-like search bars. |
- class spinetoolbox.spine_db_editor.widgets.object_name_list_editor.SearchBarDelegate[source]¶
Bases:
PySide2.QtWidgets.QItemDelegate
A custom delegate to use with ObjectNameListEditor.
- class spinetoolbox.spine_db_editor.widgets.object_name_list_editor.ObjectNameListEditor(parent, index, object_class_names, object_names_lists, current_object_names)[source]¶
Bases:
spinetoolbox.spine_db_editor.widgets.manage_items_dialogs.ManageItemsDialog
A dialog to select the object name list for a relationship using Google-like search bars.
Initializes widget.
- Parameters
parent (SpineDBEditor) –
index (QModelIndex) –
object_class_names (list) – string object_class names
object_names_lists (list) – lists of string object names
current_object_names (list) –