Documentation/Source/eric6.Utilities.__init__.html

changeset 6296
db9b3a419845
parent 6106
921d070cec82
child 6495
6e73d31af3af
--- a/Documentation/Source/eric6.Utilities.__init__.html	Fri May 18 19:24:37 2018 +0200
+++ b/Documentation/Source/eric6.Utilities.__init__.html	Fri May 18 19:41:02 2018 +0200
@@ -50,7 +50,7 @@
 <td>Public method to convert a path relative to a start path with universal separators to an absolute path.</td>
 </tr><tr>
 <td><a href="#checkPyside">checkPyside</a></td>
-<td>Module function to check the presence of PySide.</td>
+<td>Module function to check the presence of PySide/PySide2.</td>
 </tr><tr>
 <td><a href="#compactPath">compactPath</a></td>
 <td>Function to return a compacted path fitting inside the given width.</td>
@@ -107,7 +107,7 @@
 <td>Module function to generate the executable path for a PyQt tool.</td>
 </tr><tr>
 <td><a href="#generatePySideToolPath">generatePySideToolPath</a></td>
-<td>Module function to generate the executable path for a PySide tool.</td>
+<td>Module function to generate the executable path for a PySide/PySide2 tool.</td>
 </tr><tr>
 <td><a href="#generateQtToolName">generateQtToolName</a></td>
 <td>Module function to generate the executable name for a Qt tool like designer.</td>
@@ -439,14 +439,24 @@
 <hr /><hr />
 <a NAME="checkPyside" ID="checkPyside"></a>
 <h2>checkPyside</h2>
-<b>checkPyside</b>(<i></i>)
+<b>checkPyside</b>(<i>variant="2"</i>)
 <p>
-    Module function to check the presence of PySide.
+    Module function to check the presence of PySide/PySide2.
 </p><dl>
+<dt><i>variant</i> (str)</dt>
+<dd>
+indicator for the PySide variant
+</dd>
+</dl><dl>
 <dt>Returns:</dt>
 <dd>
-list of two flags indicating the presence of PySide for Python2
-        and PySide for Python3 (boolean, boolean)
+list of two flags indicating the presence of PySide/PySide2 for
+        Python2 and PySide/PySide2 for Python3
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (bool, bool)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -859,18 +869,26 @@
 <hr /><hr />
 <a NAME="generatePySideToolPath" ID="generatePySideToolPath"></a>
 <h2>generatePySideToolPath</h2>
-<b>generatePySideToolPath</b>(<i>toolname</i>)
+<b>generatePySideToolPath</b>(<i>toolname, variant="2"</i>)
 <p>
-    Module function to generate the executable path for a PySide tool.
+    Module function to generate the executable path for a PySide/PySide2 tool.
 </p><dl>
-<dt><i>toolname</i></dt>
+<dt><i>toolname</i> (str)</dt>
 <dd>
-base name of the tool (string)
+base name of the tool
+</dd><dt><i>variant</i> (str)</dt>
+<dd>
+indicator for the PySide variant
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-the PySide tool path with extension (string)
+the PySide/PySide2 tool path with extension
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial