--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitCopyDialog.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,141 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Plugins.VcsPlugins.vcsGit.GitCopyDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Plugins.VcsPlugins.vcsGit.GitCopyDialog</h1> + +<p> +Module implementing a dialog to enter the data for a copy or rename operation. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#GitCopyDialog">GitCopyDialog</a></td> +<td>Class implementing a dialog to enter the data for a copy or rename operation.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="GitCopyDialog" ID="GitCopyDialog"></a> +<h2>GitCopyDialog</h2> + +<p> + Class implementing a dialog to enter the data for a copy or rename + operation. +</p> +<h3>Derived from</h3> +QDialog, Ui_GitCopyDialog +<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="#GitCopyDialog.__init__">GitCopyDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#GitCopyDialog.getData">getData</a></td> +<td>Public method to retrieve the copy data.</td> +</tr> +<tr> +<td><a href="#GitCopyDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> +<td>Private slot to handle the button press for selecting the target via a selection dialog.</td> +</tr> +<tr> +<td><a href="#GitCopyDialog.on_targetEdit_textChanged">on_targetEdit_textChanged</a></td> +<td>Private slot to handle changes of the target.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="GitCopyDialog.__init__" ID="GitCopyDialog.__init__"></a> +<h4>GitCopyDialog (Constructor)</h4> +<b>GitCopyDialog</b>(<i>source, parent=None, move=False</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>source</i></dt> +<dd> +name of the source file/directory (string) +</dd> +<dt><i>parent</i></dt> +<dd> +parent widget (QWidget) +</dd> +<dt><i>move</i></dt> +<dd> +flag indicating a move operation (boolean) +</dd> +</dl> +<a NAME="GitCopyDialog.getData" ID="GitCopyDialog.getData"></a> +<h4>GitCopyDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public method to retrieve the copy data. +</p> +<dl> +<dt>Return:</dt> +<dd> +the target name (string) and a flag indicating + the operation should be enforced (boolean) +</dd> +</dl> +<a NAME="GitCopyDialog.on_dirButton_clicked" ID="GitCopyDialog.on_dirButton_clicked"></a> +<h4>GitCopyDialog.on_dirButton_clicked</h4> +<b>on_dirButton_clicked</b>(<i></i>) + +<p> + Private slot to handle the button press for selecting the target via a + selection dialog. +</p> +<a NAME="GitCopyDialog.on_targetEdit_textChanged" ID="GitCopyDialog.on_targetEdit_textChanged"></a> +<h4>GitCopyDialog.on_targetEdit_textChanged</h4> +<b>on_targetEdit_textChanged</b>(<i>txt</i>) + +<p> + Private slot to handle changes of the target. +</p> +<dl> + +<dt><i>txt</i></dt> +<dd> +contents of the target edit (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file