Documentation/Source/eric5.MultiProject.AddProjectDialog.html

Mon, 26 Jul 2010 19:59:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Jul 2010 19:59:27 +0200
changeset 409
0ea528e80202
parent 58
37f0444c3479
child 440
69ace3e2dcf6
permissions
-rw-r--r--

Added another style for the source docu.

<?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.MultiProject.AddProjectDialog</title>
<style>
body {
    background: white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: black; background: #C1BBA4; }
h4 { color: black; background: #C1BBA4; }
    
a { color: #C07037; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.MultiProject.AddProjectDialog</h1>
<p>
Module implementing the add project dialog.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#AddProjectDialog">AddProjectDialog</a></td>
<td>Class implementing the add project dialog.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="AddProjectDialog" ID="AddProjectDialog"></a>
<h2>AddProjectDialog</h2>
<p>
    Class implementing the add project dialog.
</p>
<h3>Derived from</h3>
QDialog, Ui_AddProjectDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#AddProjectDialog.__init__">AddProjectDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td>
<td>Private method to update the dialog.</td>
</tr><tr>
<td><a href="#AddProjectDialog.getData">getData</a></td>
<td>Public slot to retrieve the dialogs data.</td>
</tr><tr>
<td><a href="#AddProjectDialog.on_fileButton_clicked">on_fileButton_clicked</a></td>
<td>Private slot to display a file selection dialog.</td>
</tr><tr>
<td><a href="#AddProjectDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td>
<td>Private slot called when the project filename has changed.</td>
</tr><tr>
<td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
<td>Private slot called when the project name has changed.</td>
</tr>
</table>
<a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a>
<h4>AddProjectDialog (Constructor)</h4>
<b>AddProjectDialog</b>(<i>parent = None, startdir = None, project = None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent widget of this dialog (QWidget)
</dd><dt><i>startdir</i></dt>
<dd>
start directory for the selection dialog (string)
</dd><dt><i>project</i></dt>
<dd>
dictionary containing project data
</dd>
</dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a>
<h4>AddProjectDialog.__updateUi</h4>
<b>__updateUi</b>(<i></i>)
<p>
        Private method to update the dialog.
</p><a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a>
<h4>AddProjectDialog.getData</h4>
<b>getData</b>(<i></i>)
<p>
        Public slot to retrieve the dialogs data.
</p><dl>
<dt>Returns:</dt>
<dd>
tuple of four values (string, string, boolean, string) giving the
            project name, the name of the project file, a flag telling, whether
            the project shall be the master project and a short description
            for the project
</dd>
</dl><a NAME="AddProjectDialog.on_fileButton_clicked" ID="AddProjectDialog.on_fileButton_clicked"></a>
<h4>AddProjectDialog.on_fileButton_clicked</h4>
<b>on_fileButton_clicked</b>(<i></i>)
<p>
        Private slot to display a file selection dialog.
</p><a NAME="AddProjectDialog.on_filenameEdit_textChanged" ID="AddProjectDialog.on_filenameEdit_textChanged"></a>
<h4>AddProjectDialog.on_filenameEdit_textChanged</h4>
<b>on_filenameEdit_textChanged</b>(<i>p0</i>)
<p>
        Private slot called when the project filename has changed.
</p><a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a>
<h4>AddProjectDialog.on_nameEdit_textChanged</h4>
<b>on_nameEdit_textChanged</b>(<i>p0</i>)
<p>
        Private slot called when the project name has changed.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial