Documentation/Source/eric5.Project.NewDialogClassDialog.html

Fri, 11 Mar 2011 16:51:57 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 11 Mar 2011 16:51:57 +0100
changeset 945
8cd4d08fa9f6
parent 928
41f8bd4b1ed7
child 1228
7afaf2fca55b
permissions
-rw-r--r--

Made code mostly PEP 8 compliant (except all whitespace and line length).

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Project.NewDialogClassDialog</title>
<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>eric5.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>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_pathButton_clicked">on_pathButton_clicked</a></td>
<td>Private slot called to open a directory selection dialog.</td>
</tr><tr>
<td><a href="#NewDialogClassDialog.on_pathnameEdit_textChanged">on_pathnameEdit_textChanged</a></td>
<td>Private slot called, when thext of the pathname edit has changed.</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>Returns:</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_pathButton_clicked" ID="NewDialogClassDialog.on_pathButton_clicked"></a>
<h4>NewDialogClassDialog.on_pathButton_clicked</h4>
<b>on_pathButton_clicked</b>(<i></i>)
<p>
        Private slot called to open a directory selection dialog.
</p><a NAME="NewDialogClassDialog.on_pathnameEdit_textChanged" ID="NewDialogClassDialog.on_pathnameEdit_textChanged"></a>
<h4>NewDialogClassDialog.on_pathnameEdit_textChanged</h4>
<b>on_pathnameEdit_textChanged</b>(<i>text</i>)
<p>
        Private slot called, when thext of the pathname edit 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>

eric ide

mercurial