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

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10438
4cd7e5a8b3cf
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog</h1>

<p>
Module implementing a dialog to select the data for pushing a branch.
</p>
<h3>Global Attributes</h3>

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

<table>

<tr>
<td><a href="#GitBranchPushDialog">GitBranchPushDialog</a></td>
<td>Class implementing a dialog to select the data for pushing a branch.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="GitBranchPushDialog" ID="GitBranchPushDialog"></a>
<h2>GitBranchPushDialog</h2>

<p>
    Class implementing a dialog to select the data for pushing a branch.
</p>
<h3>Derived from</h3>
QDialog, Ui_GitBranchPushDialog
<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="#GitBranchPushDialog.__init__">GitBranchPushDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#GitBranchPushDialog.getData">getData</a></td>
<td>Public method to get the selected data.</td>
</tr>
<tr>
<td><a href="#GitBranchPushDialog.on_branchComboBox_editTextChanged">on_branchComboBox_editTextChanged</a></td>
<td>Private slot to handle a change of the branch name.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="GitBranchPushDialog.__init__" ID="GitBranchPushDialog.__init__"></a>
<h4>GitBranchPushDialog (Constructor)</h4>
<b>GitBranchPushDialog</b>(<i>branches, remotes, delete=False, parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>branches</i></dt>
<dd>
list of branch names (list of string)
</dd>
<dt><i>remotes</i></dt>
<dd>
list of remote names (list of string)
</dd>
<dt><i>delete</i></dt>
<dd>
flag indicating a delete branch action (boolean)
</dd>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl>
<a NAME="GitBranchPushDialog.getData" ID="GitBranchPushDialog.getData"></a>
<h4>GitBranchPushDialog.getData</h4>
<b>getData</b>(<i></i>)

<p>
        Public method to get the selected data.
</p>
<dl>
<dt>Return:</dt>
<dd>
tuple of selected branch name, remote name and a flag
            indicating all branches (tuple of two strings and a boolean)
</dd>
</dl>
<a NAME="GitBranchPushDialog.on_branchComboBox_editTextChanged" ID="GitBranchPushDialog.on_branchComboBox_editTextChanged"></a>
<h4>GitBranchPushDialog.on_branchComboBox_editTextChanged</h4>
<b>on_branchComboBox_editTextChanged</b>(<i>txt</i>)

<p>
        Private slot to handle a change of the branch name.
</p>
<dl>

<dt><i>txt</i></dt>
<dd>
branch name (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial