# eric7.Plugins.VcsPlugins.vcsGit.GitArchiveDataDialog

Module implementing a dialog to enter the data for the creation of an archive.

### Global Attributes

None

### Classes

GitArchiveDataDialog | Class implementing a dialog to enter the data for the creation of an archive.

### Functions

None

## GitArchiveDataDialog

Class implementing a dialog to enter the data for the creation of an archive.

### Derived from

QDialog, Ui_GitArchiveDataDialog

### Class Attributes

None

### Class Methods

None

### Methods

GitArchiveDataDialog | Constructor
__updateOK | Private slot to update the OK button.
getData | Public method to retrieve the entered data.
on_branchButton_toggled | Private slot to handle changes of the Branch select button.
on_branchCombo_editTextChanged | Private slot to handle changes of the Branch combo.
on_fileButton_clicked | Private slot to select a file via a file selection dialog.
on_fileEdit_textChanged | Private slot to handle changes of the file edit.
on_revButton_toggled | Private slot to handle changes of the rev select button.
on_revEdit_textChanged | Private slot to handle changes of the rev edit.
on_tagButton_toggled | Private slot to handle changes of the Tag select button.
on_tagCombo_editTextChanged | Private slot to handle changes of the Tag combo.

### Static Methods

None

#### GitArchiveDataDialog (Constructor)

GitArchiveDataDialog(tagsList, branchesList, formatsList, parent=None)

Constructor

tagsList (list of str)
  list of tags
branchesList (list of str)
  list of branches
formatsList (list of str)
  list of archive formats
parent (QWidget)
  reference to the parent widget

#### GitArchiveDataDialog.__updateOK

__updateOK()

Private slot to update the OK button.

#### GitArchiveDataDialog.getData

getData()

Public method to retrieve the entered data.

Return:
  tuple of selected revision, archive format, archive file and prefix

Return Type:
  tuple of (str, str, str, str)

#### GitArchiveDataDialog.on_branchButton_toggled

on_branchButton_toggled(_checked)

Private slot to handle changes of the Branch select button.

_checked (bool)
  state of the button (unused)

#### GitArchiveDataDialog.on_branchCombo_editTextChanged

on_branchCombo_editTextChanged(_txt)

Private slot to handle changes of the Branch combo.

_txt (str)
  text of the combo (unused)

#### GitArchiveDataDialog.on_fileButton_clicked

on_fileButton_clicked()

Private slot to select a file via a file selection dialog.

#### GitArchiveDataDialog.on_fileEdit_textChanged

on_fileEdit_textChanged(_txt)

Private slot to handle changes of the file edit.

_txt (str)
  text of the edit (unused)

#### GitArchiveDataDialog.on_revButton_toggled

on_revButton_toggled(_checked)

Private slot to handle changes of the rev select button.

_checked (bool)
  state of the button (unused)

#### GitArchiveDataDialog.on_revEdit_textChanged

on_revEdit_textChanged(_txt)

Private slot to handle changes of the rev edit.

_txt (str)
  text of the edit (unused)

#### GitArchiveDataDialog.on_tagButton_toggled

on_tagButton_toggled(_checked)

Private slot to handle changes of the Tag select button.

_checked (bool)
  state of the button (unused)

#### GitArchiveDataDialog.on_tagCombo_editTextChanged

on_tagCombo_editTextChanged(_txt)

Private slot to handle changes of the Tag combo.

_txt (str)
  text of the combo (unused)

Up