Documentation/Source/eric5.Project.CreateDialogCodeDialog.html

Sun, 04 Sep 2011 16:06:54 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 04 Sep 2011 16:06:54 +0200
branch
5_1_x
changeset 1278
fb0460fd00b9
parent 440
69ace3e2dcf6
permissions
-rw-r--r--

Regenerated source docu according to latest standard.

<?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.CreateDialogCodeDialog</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.CreateDialogCodeDialog</h1>
<p>
Module implementing a dialog to generate code for a Qt4 dialog.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>pyqtSignatureRole</td></tr><tr><td>pythonSignatureRole</td></tr><tr><td>rubySignatureRole</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#CreateDialogCodeDialog">CreateDialogCodeDialog</a></td>
<td>Class implementing a dialog to generate code for a Qt4 dialog.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="CreateDialogCodeDialog" ID="CreateDialogCodeDialog"></a>
<h2>CreateDialogCodeDialog</h2>
<p>
    Class implementing a dialog to generate code for a Qt4 dialog.
</p>
<h3>Derived from</h3>
QDialog, Ui_CreateDialogCodeDialog
<h3>Class Attributes</h3>
<table>
<tr><td>DialogClasses</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#CreateDialogCodeDialog.__init__">CreateDialogCodeDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__className">__className</a></td>
<td>Private method to get the class name of the dialog.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__generateCode">__generateCode</a></td>
<td>Private slot to generate the code as requested by the user.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__generatePythonCode">__generatePythonCode</a></td>
<td>Private slot to generate Python code as requested by the user.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__mapType">__mapType</a></td>
<td>Private method to map a type as reported by Qt's meta object to the correct Python type.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__objectName">__objectName</a></td>
<td>Private method to get the object name of the dialog.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__signatures">__signatures</a></td>
<td>Private slot to get the signatures.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.__updateSlotsModel">__updateSlotsModel</a></td>
<td>Private slot to update the slots tree display.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.initError">initError</a></td>
<td>Public method to determine, if there was an initialzation error.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot to handle the buttonBox clicked signal.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.on_classNameCombo_activated">on_classNameCombo_activated</a></td>
<td>Private slot to handle the activated signal of the classname combo.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.on_clearFilterButton_clicked">on_clearFilterButton_clicked</a></td>
<td>Private slot called by a click of the clear filter button.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.on_filterEdit_textChanged">on_filterEdit_textChanged</a></td>
<td>Private slot called, when thext of the filter edit has changed.</td>
</tr><tr>
<td><a href="#CreateDialogCodeDialog.on_newButton_clicked">on_newButton_clicked</a></td>
<td>Private slot called to enter the data for a new dialog class.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="CreateDialogCodeDialog.__init__" ID="CreateDialogCodeDialog.__init__"></a>
<h4>CreateDialogCodeDialog (Constructor)</h4>
<b>CreateDialogCodeDialog</b>(<i>formName, project, parent = None</i>)
<p>
        Constructor
</p><dl>
<dt><i>formName</i></dt>
<dd>
name of the file containing the form (string)
</dd><dt><i>project</i></dt>
<dd>
reference to the project object
</dd><dt><i>parent</i></dt>
<dd>
parent widget if the dialog (QWidget)
</dd>
</dl><a NAME="CreateDialogCodeDialog.__className" ID="CreateDialogCodeDialog.__className"></a>
<h4>CreateDialogCodeDialog.__className</h4>
<b>__className</b>(<i></i>)
<p>
        Private method to get the class name of the dialog.
</p><dl>
<dt>Returns:</dt>
<dd>
class name (sting)
</dd>
</dl><a NAME="CreateDialogCodeDialog.__generateCode" ID="CreateDialogCodeDialog.__generateCode"></a>
<h4>CreateDialogCodeDialog.__generateCode</h4>
<b>__generateCode</b>(<i></i>)
<p>
        Private slot to generate the code as requested by the user.
</p><a NAME="CreateDialogCodeDialog.__generatePythonCode" ID="CreateDialogCodeDialog.__generatePythonCode"></a>
<h4>CreateDialogCodeDialog.__generatePythonCode</h4>
<b>__generatePythonCode</b>(<i></i>)
<p>
        Private slot to generate Python code as requested by the user.
</p><a NAME="CreateDialogCodeDialog.__mapType" ID="CreateDialogCodeDialog.__mapType"></a>
<h4>CreateDialogCodeDialog.__mapType</h4>
<b>__mapType</b>(<i>type_</i>)
<p>
        Private method to map a type as reported by Qt's meta object to the 
        correct Python type.
</p><dl>
<dt><i>type_</i></dt>
<dd>
type as reported by Qt (QByteArray)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
mapped Python type (string)
</dd>
</dl><a NAME="CreateDialogCodeDialog.__objectName" ID="CreateDialogCodeDialog.__objectName"></a>
<h4>CreateDialogCodeDialog.__objectName</h4>
<b>__objectName</b>(<i></i>)
<p>
        Private method to get the object name of the dialog.
</p><dl>
<dt>Returns:</dt>
<dd>
object name (string)
</dd>
</dl><a NAME="CreateDialogCodeDialog.__signatures" ID="CreateDialogCodeDialog.__signatures"></a>
<h4>CreateDialogCodeDialog.__signatures</h4>
<b>__signatures</b>(<i></i>)
<p>
        Private slot to get the signatures.
</p><dl>
<dt>Returns:</dt>
<dd>
list of signatures (list of strings)
</dd>
</dl><a NAME="CreateDialogCodeDialog.__updateSlotsModel" ID="CreateDialogCodeDialog.__updateSlotsModel"></a>
<h4>CreateDialogCodeDialog.__updateSlotsModel</h4>
<b>__updateSlotsModel</b>(<i></i>)
<p>
        Private slot to update the slots tree display.
</p><a NAME="CreateDialogCodeDialog.initError" ID="CreateDialogCodeDialog.initError"></a>
<h4>CreateDialogCodeDialog.initError</h4>
<b>initError</b>(<i></i>)
<p>
        Public method to determine, if there was an initialzation error.
</p><dl>
<dt>Returns:</dt>
<dd>
flag indicating an initialzation error (boolean)
</dd>
</dl><a NAME="CreateDialogCodeDialog.on_buttonBox_clicked" ID="CreateDialogCodeDialog.on_buttonBox_clicked"></a>
<h4>CreateDialogCodeDialog.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)
<p>
        Private slot to handle the buttonBox clicked signal.
</p><dl>
<dt><i>button</i></dt>
<dd>
reference to the button that was clicked (QAbstractButton)
</dd>
</dl><a NAME="CreateDialogCodeDialog.on_classNameCombo_activated" ID="CreateDialogCodeDialog.on_classNameCombo_activated"></a>
<h4>CreateDialogCodeDialog.on_classNameCombo_activated</h4>
<b>on_classNameCombo_activated</b>(<i>index</i>)
<p>
        Private slot to handle the activated signal of the classname combo.
</p><dl>
<dt><i>index</i></dt>
<dd>
index of the activated item (integer)
</dd>
</dl><a NAME="CreateDialogCodeDialog.on_clearFilterButton_clicked" ID="CreateDialogCodeDialog.on_clearFilterButton_clicked"></a>
<h4>CreateDialogCodeDialog.on_clearFilterButton_clicked</h4>
<b>on_clearFilterButton_clicked</b>(<i></i>)
<p>
        Private slot called by a click of the clear filter button.
</p><a NAME="CreateDialogCodeDialog.on_filterEdit_textChanged" ID="CreateDialogCodeDialog.on_filterEdit_textChanged"></a>
<h4>CreateDialogCodeDialog.on_filterEdit_textChanged</h4>
<b>on_filterEdit_textChanged</b>(<i>text</i>)
<p>
        Private slot called, when thext of the filter edit has changed.
</p><dl>
<dt><i>text</i></dt>
<dd>
changed text (string)
</dd>
</dl><a NAME="CreateDialogCodeDialog.on_newButton_clicked" ID="CreateDialogCodeDialog.on_newButton_clicked"></a>
<h4>CreateDialogCodeDialog.on_newButton_clicked</h4>
<b>on_newButton_clicked</b>(<i></i>)
<p>
        Private slot called to enter the data for a new dialog class.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial