src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitArchiveDataDialog.html

Mon, 22 Apr 2024 18:23:20 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 22 Apr 2024 18:23:20 +0200
branch
eric7
changeset 10690
fab36645aa7d
parent 10479
856476537696
permissions
-rw-r--r--

Changed the source code and the source code documentation to improve the indication of unused method/function arguments.

<!DOCTYPE html>
<html><head>
<title>eric7.Plugins.VcsPlugins.vcsGit.GitArchiveDataDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.VcsPlugins.vcsGit.GitArchiveDataDialog</h1>
<p>
Module implementing a dialog to enter the data for the creation of an archive.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#GitArchiveDataDialog">GitArchiveDataDialog</a></td>
<td>Class implementing a dialog to enter the data for the creation of an archive.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="GitArchiveDataDialog" ID="GitArchiveDataDialog"></a>
<h2>GitArchiveDataDialog</h2>
<p>
    Class implementing a dialog to enter the data for the creation of an
    archive.
</p>

<h3>Derived from</h3>
QDialog, Ui_GitArchiveDataDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#GitArchiveDataDialog.__init__">GitArchiveDataDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.__updateOK">__updateOK</a></td>
<td>Private slot to update the OK button.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.getData">getData</a></td>
<td>Public method to retrieve the entered data.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_branchButton_toggled">on_branchButton_toggled</a></td>
<td>Private slot to handle changes of the Branch select button.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
<td>Private slot to handle changes of the Branch combo.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_fileButton_clicked">on_fileButton_clicked</a></td>
<td>Private slot to select a file via a file selection dialog.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td>
<td>Private slot to handle changes of the file edit.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_revButton_toggled">on_revButton_toggled</a></td>
<td>Private slot to handle changes of the rev select button.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_revEdit_textChanged">on_revEdit_textChanged</a></td>
<td>Private slot to handle changes of the rev edit.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_tagButton_toggled">on_tagButton_toggled</a></td>
<td>Private slot to handle changes of the Tag select button.</td>
</tr>
<tr>
<td><a href="#GitArchiveDataDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
<td>Private slot to handle changes of the Tag combo.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="GitArchiveDataDialog.__init__" ID="GitArchiveDataDialog.__init__"></a>
<h4>GitArchiveDataDialog (Constructor)</h4>
<b>GitArchiveDataDialog</b>(<i>tagsList, branchesList, formatsList, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>tagsList</i> (list of str)</dt>
<dd>
list of tags
</dd>
<dt><i>branchesList</i> (list of str)</dt>
<dd>
list of branches
</dd>
<dt><i>formatsList</i> (list of str)</dt>
<dd>
list of archive formats
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="GitArchiveDataDialog.__updateOK" ID="GitArchiveDataDialog.__updateOK"></a>
<h4>GitArchiveDataDialog.__updateOK</h4>
<b>__updateOK</b>(<i></i>)
<p>
        Private slot to update the OK button.
</p>

<a NAME="GitArchiveDataDialog.getData" ID="GitArchiveDataDialog.getData"></a>
<h4>GitArchiveDataDialog.getData</h4>
<b>getData</b>(<i></i>)
<p>
        Public method to retrieve the entered data.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple of selected revision, archive format, archive file and prefix
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, str, str, str)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_branchButton_toggled" ID="GitArchiveDataDialog.on_branchButton_toggled"></a>
<h4>GitArchiveDataDialog.on_branchButton_toggled</h4>
<b>on_branchButton_toggled</b>(<i>_checked</i>)
<p>
        Private slot to handle changes of the Branch select button.
</p>

<dl>

<dt><i>_checked</i> (bool)</dt>
<dd>
state of the button (unused)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_branchCombo_editTextChanged" ID="GitArchiveDataDialog.on_branchCombo_editTextChanged"></a>
<h4>GitArchiveDataDialog.on_branchCombo_editTextChanged</h4>
<b>on_branchCombo_editTextChanged</b>(<i>_txt</i>)
<p>
        Private slot to handle changes of the Branch combo.
</p>

<dl>

<dt><i>_txt</i> (str)</dt>
<dd>
text of the combo (unused)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_fileButton_clicked" ID="GitArchiveDataDialog.on_fileButton_clicked"></a>
<h4>GitArchiveDataDialog.on_fileButton_clicked</h4>
<b>on_fileButton_clicked</b>(<i></i>)
<p>
        Private slot to select a file via a file selection dialog.
</p>

<a NAME="GitArchiveDataDialog.on_fileEdit_textChanged" ID="GitArchiveDataDialog.on_fileEdit_textChanged"></a>
<h4>GitArchiveDataDialog.on_fileEdit_textChanged</h4>
<b>on_fileEdit_textChanged</b>(<i>_txt</i>)
<p>
        Private slot to handle changes of the file edit.
</p>

<dl>

<dt><i>_txt</i> (str)</dt>
<dd>
text of the edit (unused)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_revButton_toggled" ID="GitArchiveDataDialog.on_revButton_toggled"></a>
<h4>GitArchiveDataDialog.on_revButton_toggled</h4>
<b>on_revButton_toggled</b>(<i>_checked</i>)
<p>
        Private slot to handle changes of the rev select button.
</p>

<dl>

<dt><i>_checked</i> (bool)</dt>
<dd>
state of the button (unused)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_revEdit_textChanged" ID="GitArchiveDataDialog.on_revEdit_textChanged"></a>
<h4>GitArchiveDataDialog.on_revEdit_textChanged</h4>
<b>on_revEdit_textChanged</b>(<i>_txt</i>)
<p>
        Private slot to handle changes of the rev edit.
</p>

<dl>

<dt><i>_txt</i> (str)</dt>
<dd>
text of the edit (unused)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_tagButton_toggled" ID="GitArchiveDataDialog.on_tagButton_toggled"></a>
<h4>GitArchiveDataDialog.on_tagButton_toggled</h4>
<b>on_tagButton_toggled</b>(<i>_checked</i>)
<p>
        Private slot to handle changes of the Tag select button.
</p>

<dl>

<dt><i>_checked</i> (bool)</dt>
<dd>
state of the button (unused)
</dd>
</dl>
<a NAME="GitArchiveDataDialog.on_tagCombo_editTextChanged" ID="GitArchiveDataDialog.on_tagCombo_editTextChanged"></a>
<h4>GitArchiveDataDialog.on_tagCombo_editTextChanged</h4>
<b>on_tagCombo_editTextChanged</b>(<i>_txt</i>)
<p>
        Private slot to handle changes of the Tag combo.
</p>

<dl>

<dt><i>_txt</i> (str)</dt>
<dd>
text of the combo (unused)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial