eric6/Documentation/Source/eric6.Utilities.__init__.html

changeset 7635
0cdead130a81
parent 7602
44998fccbf6f
child 7728
a233627a5e25
equal deleted inserted replaced
7634:8c3d033e5044 7635:0cdead130a81
59 <td><a href="#absoluteUniversalPath">absoluteUniversalPath</a></td> 59 <td><a href="#absoluteUniversalPath">absoluteUniversalPath</a></td>
60 <td>Public method to convert a path relative to a start path with universal separators to an absolute path.</td> 60 <td>Public method to convert a path relative to a start path with universal separators to an absolute path.</td>
61 </tr> 61 </tr>
62 <tr> 62 <tr>
63 <td><a href="#checkPyside">checkPyside</a></td> 63 <td><a href="#checkPyside">checkPyside</a></td>
64 <td>Module function to check the presence of PySide/PySide2.</td> 64 <td>Module function to check the presence of PySide2.</td>
65 </tr> 65 </tr>
66 <tr> 66 <tr>
67 <td><a href="#compactPath">compactPath</a></td> 67 <td><a href="#compactPath">compactPath</a></td>
68 <td>Function to return a compacted path fitting inside the given width.</td> 68 <td>Function to return a compacted path fitting inside the given width.</td>
69 </tr> 69 </tr>
139 <td><a href="#generatePyQtToolPath">generatePyQtToolPath</a></td> 139 <td><a href="#generatePyQtToolPath">generatePyQtToolPath</a></td>
140 <td>Module function to generate the executable path for a PyQt tool.</td> 140 <td>Module function to generate the executable path for a PyQt tool.</td>
141 </tr> 141 </tr>
142 <tr> 142 <tr>
143 <td><a href="#generatePySideToolPath">generatePySideToolPath</a></td> 143 <td><a href="#generatePySideToolPath">generatePySideToolPath</a></td>
144 <td>Module function to generate the executable path for a PySide/PySide2 tool.</td> 144 <td>Module function to generate the executable path for a PySide2 tool.</td>
145 </tr> 145 </tr>
146 <tr> 146 <tr>
147 <td><a href="#generateQtToolName">generateQtToolName</a></td> 147 <td><a href="#generateQtToolName">generateQtToolName</a></td>
148 <td>Module function to generate the executable name for a Qt tool like designer.</td> 148 <td>Module function to generate the executable name for a Qt tool like designer.</td>
149 </tr> 149 </tr>
581 <a NAME="checkPyside" ID="checkPyside"></a> 581 <a NAME="checkPyside" ID="checkPyside"></a>
582 <h2>checkPyside</h2> 582 <h2>checkPyside</h2>
583 <b>checkPyside</b>(<i>variant="2"</i>) 583 <b>checkPyside</b>(<i>variant="2"</i>)
584 584
585 <p> 585 <p>
586 Module function to check the presence of PySide/PySide2. 586 Module function to check the presence of PySide2.
587 </p> 587 </p>
588 <dl> 588 <dl>
589 589
590 <dt><i>variant</i> (str)</dt> 590 <dt><i>variant</i> (str)</dt>
591 <dd> 591 <dd>
592 indicator for the PySide variant 592 indicator for the PySide variant (not used)
593 </dd> 593 </dd>
594 </dl> 594 </dl>
595 <dl> 595 <dl>
596 <dt>Returns:</dt> 596 <dt>Returns:</dt>
597 <dd> 597 <dd>
598 list of two flags indicating the presence of PySide/PySide2 for 598 flags indicating the presence of PySide2
599 Python2 and PySide/PySide2 for Python3
600 </dd> 599 </dd>
601 </dl> 600 </dl>
602 <dl> 601 <dl>
603 <dt>Return Type:</dt> 602 <dt>Return Type:</dt>
604 <dd> 603 <dd>
605 tuple of (bool, bool) 604 bool
606 </dd> 605 </dd>
607 </dl> 606 </dl>
608 <div align="right"><a href="#top">Up</a></div> 607 <div align="right"><a href="#top">Up</a></div>
609 <hr /> 608 <hr />
610 <hr /> 609 <hr />
760 </dd> 759 </dd>
761 </dl> 760 </dl>
762 <dl> 761 <dl>
763 <dt>Returns:</dt> 762 <dt>Returns:</dt>
764 <dd> 763 <dd>
765 Python version if file is Python2 or Python3 (int) 764 Python version if file is Python3 (int)
766 </dd> 765 </dd>
767 </dl> 766 </dl>
768 <div align="right"><a href="#top">Up</a></div> 767 <div align="right"><a href="#top">Up</a></div>
769 <hr /> 768 <hr />
770 <hr /> 769 <hr />
1158 <a NAME="generatePySideToolPath" ID="generatePySideToolPath"></a> 1157 <a NAME="generatePySideToolPath" ID="generatePySideToolPath"></a>
1159 <h2>generatePySideToolPath</h2> 1158 <h2>generatePySideToolPath</h2>
1160 <b>generatePySideToolPath</b>(<i>toolname, variant="2"</i>) 1159 <b>generatePySideToolPath</b>(<i>toolname, variant="2"</i>)
1161 1160
1162 <p> 1161 <p>
1163 Module function to generate the executable path for a PySide/PySide2 tool. 1162 Module function to generate the executable path for a PySide2 tool.
1164 </p> 1163 </p>
1165 <dl> 1164 <dl>
1166 1165
1167 <dt><i>toolname</i> (str)</dt> 1166 <dt><i>toolname</i> (str)</dt>
1168 <dd> 1167 <dd>
1169 base name of the tool 1168 base name of the tool
1170 </dd> 1169 </dd>
1171 <dt><i>variant</i> (str)</dt> 1170 <dt><i>variant</i> (str)</dt>
1172 <dd> 1171 <dd>
1173 indicator for the PySide variant 1172 indicator for the PySide variant (not used)
1174 </dd> 1173 </dd>
1175 </dl> 1174 </dl>
1176 <dl> 1175 <dl>
1177 <dt>Returns:</dt> 1176 <dt>Returns:</dt>
1178 <dd> 1177 <dd>
1179 the PySide/PySide2 tool path with extension 1178 the PySide2 tool path with extension
1180 </dd> 1179 </dd>
1181 </dl> 1180 </dl>
1182 <dl> 1181 <dl>
1183 <dt>Return Type:</dt> 1182 <dt>Return Type:</dt>
1184 <dd> 1183 <dd>

eric ide

mercurial