# eric4.VCS.vcsCVS.CvsHistoryDialog

Module implementing a dialog to show the output of the cvs history command process.

### Classes

CvsHistoryDialog | Module implementing a dialog to show the output of the cvs history command process.

### Functions

None

## CvsHistoryDialog

Module implementing a dialog to show the output of the cvs history command process.

### Derived from

QWidget, Ui_CvsHistoryDialog

### Methods

CvsHistoryDialog | Constructor
__finish | Private slot called when the process finished or the user pressed the button.
__generateItem | Private method to generate a status item in the status list.
__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 | Private 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 subversion process.
start | Public slot to start the cvs history command.

#### CvsHistoryDialog (Constructor)

CvsHistoryDialog(vcs, parent = None)

Constructor

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

#### CvsHistoryDialog.__finish

__finish()

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

#### CvsHistoryDialog.__generateItem

__generateItem(index, date, time, timezone, event, author, revision, file, path)

Private method to generate a status item in the status list.

index
  index number of the history entry (integer)
date
  date of the entry (string or QString)
time
  time of the entry (string or QString)
timezone
  timezone of the entry (string or QString)
event
  event type (string or QString)
author
  author (string or QString)
revision
  revision number (string or QString)
file
  file name (string or QString)
path
  path of the file (string or QString)

#### CvsHistoryDialog.__procFinished

__procFinished(exitCode, exitStatus)

Private slot connected to the finished signal.

exitCode
  exit code of the process (integer)
exitStatus
  exit status of the process (QProcess.ExitStatus)

#### CvsHistoryDialog.__readStderr

__readStderr()

Private slot to handle the readyReadStderr signal.

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

#### CvsHistoryDialog.__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.

#### CvsHistoryDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

#### CvsHistoryDialog.__resort

__resort()

Private method to resort the tree.

#### CvsHistoryDialog.closeEvent

closeEvent(e)

Private slot implementing a close event handler.

e
  close event (QCloseEvent)

#### CvsHistoryDialog.keyPressEvent

keyPressEvent(evt)

Protected slot to handle a key press event.

evt
  the key press event (QKeyEvent)

#### CvsHistoryDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

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

button
  button that was clicked (QAbstractButton)

#### CvsHistoryDialog.on_input_returnPressed

on_input_returnPressed()

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

#### CvsHistoryDialog.on_passwordCheckBox_toggled

on_passwordCheckBox_toggled(isOn)

Private slot to handle the password checkbox toggled.

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

#### CvsHistoryDialog.on_sendButton_clicked

on_sendButton_clicked()

Private slot to send the input to the subversion process.

#### CvsHistoryDialog.start

start(fn)

Public slot to start the cvs history command.

fn
  filename (string)

Up