--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,184 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog</h1> + +<p> +Module implementing a dialog to enter data needed for the initial creation +of a repository configuration file (hgrc). +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#HgRepoConfigDataDialog">HgRepoConfigDataDialog</a></td> +<td>Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="HgRepoConfigDataDialog" ID="HgRepoConfigDataDialog"></a> +<h2>HgRepoConfigDataDialog</h2> + +<p> + Class implementing a dialog to enter data needed for the initial creation + of a repository configuration file (hgrc). +</p> +<h3>Derived from</h3> +QDialog, Ui_HgRepoConfigDataDialog +<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="#HgRepoConfigDataDialog.__init__">HgRepoConfigDataDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#HgRepoConfigDataDialog.getData">getData</a></td> +<td>Public method to get the data entered into the dialog.</td> +</tr> +<tr> +<td><a href="#HgRepoConfigDataDialog.getLargefilesData">getLargefilesData</a></td> +<td>Public method to get the data for the largefiles extension.</td> +</tr> +<tr> +<td><a href="#HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked">on_defaultPushShowPasswordButton_clicked</a></td> +<td>Private slot to switch the default password visibility of the default push password.</td> +</tr> +<tr> +<td><a href="#HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked">on_defaultShowPasswordButton_clicked</a></td> +<td>Private slot to switch the default password visibility of the default password.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="HgRepoConfigDataDialog.__init__" ID="HgRepoConfigDataDialog.__init__"></a> +<h4>HgRepoConfigDataDialog (Constructor)</h4> +<b>HgRepoConfigDataDialog</b>(<i>withLargefiles=False, largefilesData=None, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>withLargefiles</i></dt> +<dd> +flag indicating to configure the largefiles + section (boolean) +</dd> +<dt><i>largefilesData</i></dt> +<dd> +dictionary with data for the largefiles + section (dict) +</dd> +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl> +<a NAME="HgRepoConfigDataDialog.getData" ID="HgRepoConfigDataDialog.getData"></a> +<h4>HgRepoConfigDataDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public method to get the data entered into the dialog. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple giving the default and default push URLs (tuple of + two strings) +</dd> +</dl> +<a NAME="HgRepoConfigDataDialog.getLargefilesData" ID="HgRepoConfigDataDialog.getLargefilesData"></a> +<h4>HgRepoConfigDataDialog.getLargefilesData</h4> +<b>getLargefilesData</b>(<i></i>) + +<p> + Public method to get the data for the largefiles extension. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple with the minimum file size (integer) and file patterns + (list of string). None as value denote to use the default value. +</dd> +</dl> +<a NAME="HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked" ID="HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked"></a> +<h4>HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked</h4> +<b>on_defaultPushShowPasswordButton_clicked</b>(<i>checked</i>) + +<p> + Private slot to switch the default password visibility + of the default push password. +</p> +<dl> + +<dt><i>checked</i></dt> +<dd> +state of the push button (boolean) +</dd> +</dl> +<a NAME="HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked" ID="HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked"></a> +<h4>HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked</h4> +<b>on_defaultShowPasswordButton_clicked</b>(<i>checked</i>) + +<p> + Private slot to switch the default password visibility + of the default password. +</p> +<dl> + +<dt><i>checked</i></dt> +<dd> +state of the push button (boolean) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file