spinetoolbox.widgets.commit_dialog

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

author
  1. Marin (KTH)

date

13.5.2018

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: PySide2.QtWidgets.QDialog

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

Initialize class.

Parameters
  • parent (QWidget) – the parent widget

  • db_names (str) – database names

receive_text_changed(self)[source]

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