spinetoolbox.widgets.commit_dialog

Classes for custom QDialogs to add edit and remove database items.

Module Contents

Classes

CommitDialog

A dialog to query user's preferences for new commit.

class spinetoolbox.widgets.commit_dialog.CommitDialog(parent, *db_names)[source]

Bases: PySide6.QtWidgets.QDialog

A dialog to query user’s preferences for new commit.

Parameters
  • parent (QWidget) – the parent widget

  • db_names (Iterable of str) – database names

receive_text_changed()[source]

Called when text changes in the commit msg text edit. Enable/disable commit button accordingly.