Documentation/Source/eric6.Globals.__init__.html

changeset 5737
6820ae39114e
parent 5697
ee81081a0ff7
child 5848
56388f41b1e6
--- a/Documentation/Source/eric6.Globals.__init__.html	Sat May 13 16:32:54 2017 +0200
+++ b/Documentation/Source/eric6.Globals.__init__.html	Sat May 13 16:34:04 2017 +0200
@@ -64,6 +64,9 @@
 <td><a href="#isWindowsPlatform">isWindowsPlatform</a></td>
 <td>Function to check, if this is a Windows platform.</td>
 </tr><tr>
+<td><a href="#qVersionTuple">qVersionTuple</a></td>
+<td>Module function to get the Qt version as a tuple.</td>
+</tr><tr>
 <td><a href="#setConfigDir">setConfigDir</a></td>
 <td>Module function to set the name of the directory storing the config data.</td>
 </tr><tr>
@@ -84,6 +87,9 @@
 </tr><tr>
 <td><a href="#translate">translate</a></td>
 <td>Module function to handle different PyQt 4/5 QCoreApplication.translate parameter.</td>
+</tr><tr>
+<td><a href="#versionToTuple">versionToTuple</a></td>
+<td>Module function to convert a version string into a tuple.</td>
 </tr>
 </table>
 <hr /><hr />
@@ -232,6 +238,24 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="qVersionTuple" ID="qVersionTuple"></a>
+<h2>qVersionTuple</h2>
+<b>qVersionTuple</b>(<i></i>)
+<p>
+    Module function to get the Qt version as a tuple.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+Qt version as a tuple
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of int
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="setConfigDir" ID="setConfigDir"></a>
 <h2>setConfigDir</h2>
 <b>setConfigDir</b>(<i>d</i>)
@@ -365,5 +389,32 @@
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="versionToTuple" ID="versionToTuple"></a>
+<h2>versionToTuple</h2>
+<b>versionToTuple</b>(<i>version</i>)
+<p>
+    Module function to convert a version string into a tuple.
+</p><p>
+    Note: A version string consists of non-negative decimals separated by "."
+    optionally followed by a suffix. Suffix is everything after the last
+    decimal.
+</p><dl>
+<dt><i>version</i> (str)</dt>
+<dd>
+version string
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+version tuple without the suffix
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of int
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
 <hr />
 </body></html>
\ No newline at end of file

eric ide

mercurial