Documentation/Source/eric5.Graphics.GraphicsUtilities.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Graphics.GraphicsUtilities.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Graphics.GraphicsUtilities.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Graphics.GraphicsUtilities</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#115;&#111;&#109;&#101; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#97;&#108; &#117;&#116;&#105;&#108;&#105;&#116;y &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;&#115;.
+Module implementing some graphical utility functions.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,24 +32,24 @@
 <table>
 <tr>
 <td><a href="#RecursionError">RecursionError</a></td>
-<td>&#85;&#110;&#97;&#98;&#108;&#101; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#98;&#101;&#99;&#97;&#117;&#115;&#101; &#111;&#102; &#114;&#101;&#99;&#117;&#114;&#115;&#105;v&#101; &#115;&#116;&#114;&#117;&#99;&#116;&#117;&#114;&#101;.</td>
+<td>Unable to calculate result because of recursive structure.</td>
 </tr>
 </table>
 <h3>Functions</h3>
 <table>
 <tr>
 <td><a href="#_buildChildrenLists">_buildChildrenLists</a></td>
-<td>&#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#117;&#105;&#108;&#100; &#117;&#112; &#112;&#97;&#114;&#101;&#110;&#116; - &#99;&#104;&#105;&#108;&#100; &#114;&#101;&#108;&#97;&#116;&#105;&#111;&#110;&#115;&#104;&#105;&#112;&#115;.</td>
+<td>Function to build up parent - child relationships.</td>
 </tr><tr>
 <td><a href="#sort">sort</a></td>
-<td>&#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#115;&#111;&#114;&#116; w&#105;&#100;&#103;&#101;&#116;&#115; &#116;&#111;&#112;&#111;&#103;&#114;&#97;&#112;&#104;&#105;&#99;&#97;&#108;&#108;y.</td>
+<td>Function to sort widgets topographically.</td>
 </tr>
 </table>
 <hr /><hr />
 <a NAME="RecursionError" ID="RecursionError"></a>
 <h2>RecursionError</h2>
 <p>
-    &#85;&#110;&#97;&#98;&#108;&#101; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#98;&#101;&#99;&#97;&#117;&#115;&#101; &#111;&#102; &#114;&#101;&#99;&#117;&#114;&#115;&#105;v&#101; &#115;&#116;&#114;&#117;&#99;&#116;&#117;&#114;&#101;.
+    Unable to calculate result because of recursive structure.
 </p>
 <h3>Derived from</h3>
 OverflowError, ValueError
@@ -68,18 +68,18 @@
 <h2>_buildChildrenLists</h2>
 <b>_buildChildrenLists</b>(<i>routes</i>)
 <p>
-    &#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#117;&#105;&#108;&#100; &#117;&#112; &#112;&#97;&#114;&#101;&#110;&#116; - &#99;&#104;&#105;&#108;&#100; &#114;&#101;&#108;&#97;&#116;&#105;&#111;&#110;&#115;&#104;&#105;&#112;&#115;.
+    Function to build up parent - child relationships.
 </p><p>
-    &#84;&#97;&#107;&#101;&#110; &#102;&#114;&#111;&#109; &#66;&#111;&#97; &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;.
+    Taken from Boa Constructor.
 </p><dl>
 <dt><i>routes</i></dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#114;&#111;&#117;&#116;&#101;&#115; &#98;&#101;&#116;w&#101;&#101;&#110; &#110;&#111;&#100;&#101;&#115;
+list of routes between nodes
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y &#111;&#102; &#99;&#104;&#105;&#108;&#100; &#97;&#110;&#100; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; &#114;&#101;&#108;&#97;&#116;&#105;&#111;&#110;&#115;&#104;&#105;&#112;&#115;
+dictionary of child and dictionary of parent relationships
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -88,32 +88,32 @@
 <h2>sort</h2>
 <b>sort</b>(<i>nodes, routes, noRecursion = False</i>)
 <p>
-    &#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#115;&#111;&#114;&#116; w&#105;&#100;&#103;&#101;&#116;&#115; &#116;&#111;&#112;&#111;&#103;&#114;&#97;&#112;&#104;&#105;&#99;&#97;&#108;&#108;y.
+    Function to sort widgets topographically.
 </p><p>
-    &#80;&#97;&#115;&#115;&#101;&#100; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#110;&#111;&#100;&#101;&#115; &#97;&#110;&#100; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#111;&#117;&#114;&#99;&#101;, &#100;&#101;&#115;&#116; &#114;&#111;&#117;&#116;&#101;&#115;, &#105;&#116; &#97;&#116;&#116;&#101;&#109;&#112;&#116;&#115;
-    &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#97;&#103;&#101;&#115;, w&#104;&#101;&#114;&#101; &#101;&#97;&#99;&#104; &#115;&#117;&#98; &#108;&#105;&#115;&#116; &#105;&#115; &#111;&#110;&#101; &#115;&#116;&#97;&#103;&#101; &#105;&#110; &#97; &#112;&#114;&#111;&#99;&#101;&#115;&#115;.
+    Passed a list of nodes and a list of source, dest routes, it attempts
+    to create a list of stages, where each sub list is one stage in a process.
 </p><p>
-    &#84;&#104;&#101; &#97;&#108;&#103;&#111;&#114;&#105;&#116;&#104;&#109; w&#97;&#115; &#116;&#97;&#107;&#101;&#110; &#102;&#114;&#111;&#109; &#66;&#111;&#97; &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;.
+    The algorithm was taken from Boa Constructor.
 </p><dl>
 <dt><i>nodes</i></dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#110;&#111;&#100;&#101;&#115; &#116;&#111; &#98;&#101; &#115;&#111;&#114;&#116;&#101;&#100;
+list of nodes to be sorted
 </dd><dt><i>routes</i></dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#114;&#111;&#117;&#116;&#101;&#115; &#98;&#101;&#116;w&#101;&#101;&#110; &#116;&#104;&#101; &#110;&#111;&#100;&#101;&#115;
+list of routes between the nodes
 </dd><dt><i>noRecursion</i></dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103;, &#105;&#102; &#114;&#101;&#99;&#117;&#114;&#115;&#105;&#111;&#110; &#101;&#114;&#114;&#111;&#114;&#115; &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#114;&#97;&#105;&#115;&#101;&#100;
+flag indicating, if recursion errors should be raised
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#97;&#103;&#101;&#115;
+list of stages
 </dd>
 </dl><dl>
 <dt>Raises <b>RecursionError</b>:</dt>
 <dd>
-&#97; &#114;&#101;&#99;&#117;&#114;&#115;&#105;&#111;&#110; &#101;&#114;&#114;&#111;&#114; w&#97;&#115; &#100;&#101;&#116;&#101;&#99;&#116;&#101;&#100;
+a recursion error was detected
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial