--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.Project.NewDialogClassDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,192 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Project.NewDialogClassDialog</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.Project.NewDialogClassDialog</h1> + +<p> +Module implementing a dialog to enter the data for a new dialog class file. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#NewDialogClassDialog">NewDialogClassDialog</a></td> +<td>Class implementing a dialog to ente the data for a new dialog class file.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="NewDialogClassDialog" ID="NewDialogClassDialog"></a> +<h2>NewDialogClassDialog</h2> + +<p> + Class implementing a dialog to ente the data for a new dialog class file. +</p> +<h3>Derived from</h3> +QDialog, Ui_NewDialogClassDialog +<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="#NewDialogClassDialog.__init__">NewDialogClassDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#NewDialogClassDialog.__enableOkButton">__enableOkButton</a></td> +<td>Private slot to set the enable state of theok button.</td> +</tr> +<tr> +<td><a href="#NewDialogClassDialog.getData">getData</a></td> +<td>Public method to retrieve the data entered into the dialog.</td> +</tr> +<tr> +<td><a href="#NewDialogClassDialog.on_classnameEdit_textChanged">on_classnameEdit_textChanged</a></td> +<td>Private slot called, when thext of the classname edit has changed.</td> +</tr> +<tr> +<td><a href="#NewDialogClassDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td> +<td>Private slot called, when thext of the filename edit has changed.</td> +</tr> +<tr> +<td><a href="#NewDialogClassDialog.on_pathnamePicker_textChanged">on_pathnamePicker_textChanged</a></td> +<td>Private slot called, when the text of the path name has changed.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a> +<h4>NewDialogClassDialog (Constructor)</h4> +<b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>defaultClassName</i></dt> +<dd> +proposed name for the new class (string) +</dd> +<dt><i>defaultFile</i></dt> +<dd> +proposed name for the source file (string) +</dd> +<dt><i>defaultPath</i></dt> +<dd> +default path for the new file (string) +</dd> +<dt><i>parent</i></dt> +<dd> +parent widget if the dialog (QWidget) +</dd> +</dl> +<a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a> +<h4>NewDialogClassDialog.__enableOkButton</h4> +<b>__enableOkButton</b>(<i></i>) + +<p> + Private slot to set the enable state of theok button. +</p> +<a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a> +<h4>NewDialogClassDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public method to retrieve the data entered into the dialog. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple giving the classname (string) and the file name (string) +</dd> +</dl> +<a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a> +<h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4> +<b>on_classnameEdit_textChanged</b>(<i>text</i>) + +<p> + Private slot called, when thext of the classname edit has changed. +</p> +<dl> + +<dt><i>text</i></dt> +<dd> +changed text (string) +</dd> +</dl> +<a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a> +<h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4> +<b>on_filenameEdit_textChanged</b>(<i>text</i>) + +<p> + Private slot called, when thext of the filename edit has changed. +</p> +<dl> + +<dt><i>text</i></dt> +<dd> +changed text (string) +</dd> +</dl> +<a NAME="NewDialogClassDialog.on_pathnamePicker_textChanged" ID="NewDialogClassDialog.on_pathnamePicker_textChanged"></a> +<h4>NewDialogClassDialog.on_pathnamePicker_textChanged</h4> +<b>on_pathnamePicker_textChanged</b>(<i>text</i>) + +<p> + Private slot called, when the text of the path name has changed. +</p> +<dl> + +<dt><i>text</i></dt> +<dd> +changed text (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file