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

Thu, 07 Jul 2022 11:23:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 07 Jul 2022 11:23:56 +0200
branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
eric7/Documentation/Source/eric7.Project.UicLoadUi6.html@d64760b2da50
child 9565
ed264631ab1e
permissions
-rw-r--r--

Reorganized the project structure to use the source layout in order to support up-to-date build systems with "pyproject.toml".

<!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