eric7.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog

Module implementing a dialog to enter the commit message.

Global Attributes

None

Classes

SvnCommitDialog Class implementing a dialog to enter the commit message.

Functions

None


SvnCommitDialog

Class implementing a dialog to enter the commit message.

Signals

accepted()
emitted, if the dialog was accepted
rejected()
emitted, if the dialog was rejected

Derived from

QWidget, Ui_SvnCommitDialog

Class Attributes

None

Class Methods

None

Methods

SvnCommitDialog Constructor
changelistsData Public method to retrieve the change lists data.
hasChangelists Public method to check, if the user entered some change lists.
logMessage Public method to retrieve the log message.
on_buttonBox_accepted Private slot called by the buttonBox accepted signal.
on_buttonBox_clicked Private slot called by a button of the button box clicked.
on_buttonBox_rejected Private slot called by the buttonBox rejected signal.
on_recentComboBox_activated Private slot to select a commit message from recent ones.
showEvent Protected method called when the dialog is about to be shown.

Static Methods

None

SvnCommitDialog (Constructor)

SvnCommitDialog(vcs, parent=None)

Constructor

vcs (Subversion)
reference to the vcs object
parent (QWidget)
parent widget

SvnCommitDialog.changelistsData

changelistsData()

Public method to retrieve the change lists data.

Return:
tuple containing the change lists and a flag indicating to keep the change lists
Return Type:
tuple of (list of str, bool)

SvnCommitDialog.hasChangelists

hasChangelists()

Public method to check, if the user entered some change lists.

Return:
flag indicating availability of change lists
Return Type:
bool

SvnCommitDialog.logMessage

logMessage()

Public method to retrieve the log message.

Return:
the log message
Return Type:
str

SvnCommitDialog.on_buttonBox_accepted

on_buttonBox_accepted()

Private slot called by the buttonBox accepted signal.

SvnCommitDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button (QAbstractButton)
button that was clicked

SvnCommitDialog.on_buttonBox_rejected

on_buttonBox_rejected()

Private slot called by the buttonBox rejected signal.

SvnCommitDialog.on_recentComboBox_activated

on_recentComboBox_activated(index)

Private slot to select a commit message from recent ones.

index (int)
index of the selected entry

SvnCommitDialog.showEvent

showEvent(_evt)

Protected method called when the dialog is about to be shown.

_evt (QShowEvent)
reference to the event object (unused)
Up