eric7.Plugins.VcsPlugins.vcsGit.GitDescribeDialog

Module implementing a dialog to show the results of the git describe action.

Global Attributes

None

Classes

GitDescribeDialog Class implementing a dialog to show the results of the git describe action.

Functions

None


GitDescribeDialog

Class implementing a dialog to show the results of the git describe action.

Derived from

QDialog, Ui_GitDescribeDialog

Class Attributes

None

Class Methods

None

Methods

GitDescribeDialog Constructor
__finish Private slot called when the process finished or the user pressed the button.
__procFinished Private slot connected to the finished signal.
__readStderr Private slot to handle the readyReadStderr signal.
__readStdout Private slot to handle the readyReadStdout signal.
__resizeColumns Private method to resize the list columns.
__resort Private method to resort the tree.
closeEvent Protected slot implementing a close event handler.
keyPressEvent Protected slot to handle a key press event.
on_buttonBox_clicked Private slot called by a button of the button box clicked.
on_input_returnPressed Private slot to handle the press of the return key in the input field.
on_passwordCheckBox_toggled Private slot to handle the password checkbox toggled.
on_sendButton_clicked Private slot to send the input to the git process.
start Public slot to start the tag/branch list command.

Static Methods

None

GitDescribeDialog (Constructor)

GitDescribeDialog(vcs, parent=None)

Constructor

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

GitDescribeDialog.__finish

__finish()

Private slot called when the process finished or the user pressed the button.

GitDescribeDialog.__procFinished

__procFinished(_exitCode, _exitStatus)

Private slot connected to the finished signal.

_exitCode (int)
exit code of the process (unused)
_exitStatus (QProcess.ExitStatus)
exit status of the process (unused)

GitDescribeDialog.__readStderr

__readStderr()

Private slot to handle the readyReadStderr signal.

It reads the error output of the process and inserts it into the error pane.

GitDescribeDialog.__readStdout

__readStdout()

Private slot to handle the readyReadStdout signal.

It reads the output of the process, formats it and inserts it into the contents pane.

GitDescribeDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

GitDescribeDialog.__resort

__resort()

Private method to resort the tree.

GitDescribeDialog.closeEvent

closeEvent(e)

Protected slot implementing a close event handler.

e (QCloseEvent)
close event

GitDescribeDialog.keyPressEvent

keyPressEvent(evt)

Protected slot to handle a key press event.

evt (QKeyEvent)
the key press event

GitDescribeDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

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

button (QAbstractButton)
button that was clicked

GitDescribeDialog.on_input_returnPressed

on_input_returnPressed()

Private slot to handle the press of the return key in the input field.

GitDescribeDialog.on_passwordCheckBox_toggled

on_passwordCheckBox_toggled(isOn)

Private slot to handle the password checkbox toggled.

isOn (bool)
flag indicating the status of the check box

GitDescribeDialog.on_sendButton_clicked

on_sendButton_clicked()

Private slot to send the input to the git process.

GitDescribeDialog.start

start(path, commits)

Public slot to start the tag/branch list command.

path (str)
name of directory to be listed
commits (list of str)
list of commits to be described
Up