--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.Project.UicLoadUi5.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,139 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Project.UicLoadUi5</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Project.UicLoadUi5</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> \ No newline at end of file