src/eric7/Documentation/Source/eric7.Project.UicLoadUi6.html

Sun, 02 Oct 2022 11:29:11 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 02 Oct 2022 11:29:11 +0200
branch
eric7
changeset 9377
b9c8dc3b7da1
parent 9209
b99e7fd55fd3
child 9565
ed264631ab1e
permissions
-rw-r--r--

Scripts
- renamed 'eric7.py' to 'eric7_ide.py' in order to remove the ambiguity between the main script and the package

<!DOCTYPE html>
<html><head>
<title>eric7.Project.UicLoadUi6</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Project.UicLoadUi6</h1>

<p>
Module to get the object name, class name or signatures of a Qt form (*.ui).
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Functions</h3>

<table>

<tr>
<td><a href="#__mapType">__mapType</a></td>
<td>Private function to map a type as reported by Qt's meta object to the correct Python type.</td>
</tr>
<tr>
<td><a href="#className">className</a></td>
<td>Function to get the class name of a form.</td>
</tr>
<tr>
<td><a href="#objectName">objectName</a></td>
<td>Function to get the object name of a form.</td>
</tr>
<tr>
<td><a href="#signatures">signatures</a></td>
<td>Function to get the signatures of form elements.</td>
</tr>
</table>
<hr />
<hr />
<a NAME="__mapType" ID="__mapType"></a>
<h2>__mapType</h2>
<b>__mapType</b>(<i>type_</i>)

<p>
    Private function to map a type as reported by Qt's meta object to the
    correct Python type.
</p>
<dl>

<dt><i>type_</i> (QByteArray or bytes)</dt>
<dd>
type as reported by Qt
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
mapped Python type
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="className" ID="className"></a>
<h2>className</h2>
<b>className</b>(<i>formFile, projectPath</i>)

<p>
    Function to get the class name of a form.
</p>
<dl>

<dt><i>formFile</i> (str)</dt>
<dd>
file name of the form
</dd>
<dt><i>projectPath</i> (str)</dt>
<dd>
directory name of the project
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="objectName" ID="objectName"></a>
<h2>objectName</h2>
<b>objectName</b>(<i>formFile, projectPath</i>)

<p>
    Function to get the object name of a form.
</p>
<dl>

<dt><i>formFile</i> (str)</dt>
<dd>
file name of the form
</dd>
<dt><i>projectPath</i> (str)</dt>
<dd>
directory name of the project
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="signatures" ID="signatures"></a>
<h2>signatures</h2>
<b>signatures</b>(<i>formFile, projectPath</i>)

<p>
    Function to get the signatures of form elements.
</p>
<dl>

<dt><i>formFile</i> (str)</dt>
<dd>
file name of the form
</dd>
<dt><i>projectPath</i> (str)</dt>
<dd>
directory name of the project
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial