spinetoolbox.spine_db_editor.widgets.select_position_parameters_dialog

Classes for custom QDialogs to add items to databases.

author
  1. Marin (KTH)

date

13.5.2018

Module Contents

Classes

SelectPositionParametersDialog

ParameterNameDelegate

A delegate for the database name.

class spinetoolbox.spine_db_editor.widgets.select_position_parameters_dialog.SelectPositionParametersDialog(parent)[source]

Bases: PySide2.QtWidgets.QDialog

selection_made[source]
accept(self)[source]
_parameter_position_x(self)[source]
_parameter_position_y(self)[source]
class spinetoolbox.spine_db_editor.widgets.select_position_parameters_dialog.ParameterNameDelegate(parent, db_mngr, *db_maps)[source]

Bases: PySide2.QtWidgets.QStyledItemDelegate

A delegate for the database name.

setModelData(self, editor, model, index)[source]

Send signal.

setEditorData(self, editor, index)[source]

Do nothing. We’re setting editor data right away in createEditor.

updateEditorGeometry(self, editor, option, index)[source]
_close_editor(self, editor, index)[source]

Closes editor. Needed by SearchBarEditor.

createEditor(self, parent, option, index)[source]

Returns editor.