eric7/Documentation/Source/eric7.DebugClients.Python.DebugVariables.html

branch
eric7
changeset 8575
423c4db4101e
parent 8372
e0227a7c850e
child 8596
d64760b2da50
--- a/eric7/Documentation/Source/eric7.DebugClients.Python.DebugVariables.html	Fri Sep 03 19:56:55 2021 +0200
+++ b/eric7/Documentation/Source/eric7.DebugClients.Python.DebugVariables.html	Fri Sep 03 19:57:39 2021 +0200
@@ -28,7 +28,7 @@
 <h3>Global Attributes</h3>
 
 <table>
-<tr><td>_TypeMap</td></tr><tr><td>arrayResolver</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>dictViewResolver</td></tr><tr><td>listResolver</td></tr><tr><td>multiValueDictResolver</td></tr><tr><td>ndarrayResolver</td></tr><tr><td>setResolver</td></tr>
+<tr><td>_MapCount</td></tr><tr><td>_TryArray</td></tr><tr><td>_TypeMap</td></tr><tr><td>arrayResolver</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>dictViewResolver</td></tr><tr><td>listResolver</td></tr><tr><td>multiValueDictResolver</td></tr><tr><td>ndarrayResolver</td></tr><tr><td>qtResolver</td></tr><tr><td>setResolver</td></tr>
 </table>
 <h3>Classes</h3>
 
@@ -67,6 +67,10 @@
 <td>Class used to resolve from numpy ndarray including some meta data.</td>
 </tr>
 <tr>
+<td><a href="#QtResolver">QtResolver</a></td>
+<td>Class used to resolve the Qt implementations.</td>
+</tr>
+<tr>
 <td><a href="#SetResolver">SetResolver</a></td>
 <td>Class used to resolve from a set or frozenset.</td>
 </tr>
@@ -80,8 +84,12 @@
 <td>Protected function to initialize the type map.</td>
 </tr>
 <tr>
-<td><a href="#getType">getType</a></td>
-<td>Public method to get the type information for an object.</td>
+<td><a href="#getResolver">getResolver</a></td>
+<td>Public method to get the resolver based on the type info of an object.</td>
+</tr>
+<tr>
+<td><a href="#updateTypeMap">updateTypeMap</a></td>
+<td>Public function to update the type map based on module imports.</td>
 </tr>
 </table>
 <hr />
@@ -109,8 +117,8 @@
 <table>
 
 <tr>
-<td><a href="#ArrayResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#ArrayResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#ArrayResolver.resolve">resolve</a></td>
@@ -123,12 +131,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="ArrayResolver.getDictionary" ID="ArrayResolver.getDictionary"></a>
-<h4>ArrayResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="ArrayResolver.getVariableList" ID="ArrayResolver.getVariableList"></a>
+<h4>ArrayResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -140,14 +148,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a>
@@ -159,7 +167,7 @@
 </p>
 <dl>
 
-<dt><i>var</i> (tuple or list)</dt>
+<dt><i>var</i> (array.array)</dt>
 <dd>
 variable to extract an attribute or value from
 </dd>
@@ -206,8 +214,8 @@
 <table>
 
 <tr>
-<td><a href="#BaseResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#BaseResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#BaseResolver.resolve">resolve</a></td>
@@ -220,12 +228,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="BaseResolver.getDictionary" ID="BaseResolver.getDictionary"></a>
-<h4>BaseResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="BaseResolver.getVariableList" ID="BaseResolver.getVariableList"></a>
+<h4>BaseResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -237,13 +245,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-dictionary containing the variable attributes
+list containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Return Type:</dt>
 <dd>
-dict
+list
 </dd>
 </dl>
 <a NAME="BaseResolver.resolve" ID="BaseResolver.resolve"></a>
@@ -302,8 +310,8 @@
 <table>
 
 <tr>
-<td><a href="#DefaultResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#DefaultResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
@@ -312,12 +320,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="DefaultResolver.getDictionary" ID="DefaultResolver.getDictionary"></a>
-<h4>DefaultResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="DefaultResolver.getVariableList" ID="DefaultResolver.getVariableList"></a>
+<h4>DefaultResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -329,14 +337,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -365,8 +373,8 @@
 <table>
 
 <tr>
-<td><a href="#DictResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#DictResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#DictResolver.keyToStr">keyToStr</a></td>
@@ -383,12 +391,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a>
-<h4>DictResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="DictResolver.getVariableList" ID="DictResolver.getVariableList"></a>
+<h4>DictResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -400,14 +408,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a>
@@ -492,8 +500,8 @@
 <table>
 
 <tr>
-<td><a href="#DictViewResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#DictViewResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#DictViewResolver.resolve">resolve</a></td>
@@ -506,12 +514,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="DictViewResolver.getDictionary" ID="DictViewResolver.getDictionary"></a>
-<h4>DictViewResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="DictViewResolver.getVariableList" ID="DictViewResolver.getVariableList"></a>
+<h4>DictViewResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -521,15 +529,16 @@
 </dd>
 </dl>
 <dl>
-<dt>Return:</dt>
+<dt>Yield:</dt>
 <dd>
-dictionary containing the variable attributes
+tuple containing the batch start index and a list
+            containing the variable attributes
 </dd>
 </dl>
 <dl>
-<dt>Return Type:</dt>
+<dt>Yield Type:</dt>
 <dd>
-dict
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="DictViewResolver.resolve" ID="DictViewResolver.resolve"></a>
@@ -541,7 +550,7 @@
 </p>
 <dl>
 
-<dt><i>var</i> (tuple or list)</dt>
+<dt><i>var</i> (dict_items, dict_keys or dict_values)</dt>
 <dd>
 variable to extract an attribute or value from
 </dd>
@@ -588,8 +597,8 @@
 <table>
 
 <tr>
-<td><a href="#ListResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#ListResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#ListResolver.resolve">resolve</a></td>
@@ -602,12 +611,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="ListResolver.getDictionary" ID="ListResolver.getDictionary"></a>
-<h4>ListResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="ListResolver.getVariableList" ID="ListResolver.getVariableList"></a>
+<h4>ListResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -619,14 +628,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="ListResolver.resolve" ID="ListResolver.resolve"></a>
@@ -685,8 +694,8 @@
 <table>
 
 <tr>
-<td><a href="#MultiValueDictResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#MultiValueDictResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#MultiValueDictResolver.resolve">resolve</a></td>
@@ -699,12 +708,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="MultiValueDictResolver.getDictionary" ID="MultiValueDictResolver.getDictionary"></a>
-<h4>MultiValueDictResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="MultiValueDictResolver.getVariableList" ID="MultiValueDictResolver.getVariableList"></a>
+<h4>MultiValueDictResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -716,14 +725,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a>
@@ -735,7 +744,7 @@
 </p>
 <dl>
 
-<dt><i>var</i> (dict)</dt>
+<dt><i>var</i> (MultiValueDict)</dt>
 <dd>
 variable to extract an attribute or value from
 </dd>
@@ -786,8 +795,8 @@
 <td>Private method to check, if an array is of a numeric type.</td>
 </tr>
 <tr>
-<td><a href="#NdArrayResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#NdArrayResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#NdArrayResolver.resolve">resolve</a></td>
@@ -826,12 +835,12 @@
 bool
 </dd>
 </dl>
-<a NAME="NdArrayResolver.getDictionary" ID="NdArrayResolver.getDictionary"></a>
-<h4>NdArrayResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="NdArrayResolver.getVariableList" ID="NdArrayResolver.getVariableList"></a>
+<h4>NdArrayResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -843,14 +852,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a>
@@ -862,7 +871,7 @@
 </p>
 <dl>
 
-<dt><i>var</i> (tuple or list)</dt>
+<dt><i>var</i> (ndarray)</dt>
 <dd>
 variable to extract an attribute or value from
 </dd>
@@ -886,6 +895,103 @@
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
+<a NAME="QtResolver" ID="QtResolver"></a>
+<h2>QtResolver</h2>
+
+<p>
+    Class used to resolve the Qt implementations.
+</p>
+<h3>Derived from</h3>
+BaseResolver
+<h3>Class Attributes</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+
+<table>
+
+<tr>
+<td><a href="#QtResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
+</tr>
+<tr>
+<td><a href="#QtResolver.resolve">resolve</a></td>
+<td>Public method to get an attribute from a variable.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+
+<a NAME="QtResolver.getVariableList" ID="QtResolver.getVariableList"></a>
+<h4>QtResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
+
+<p>
+        Public method to get the attributes of a variable as a list.
+</p>
+<dl>
+
+<dt><i>var</i> (any)</dt>
+<dd>
+variable to be converted
+</dd>
+</dl>
+<dl>
+<dt>Yield:</dt>
+<dd>
+tuple containing the batch start index and a list
+            containing the variable attributes
+</dd>
+</dl>
+<dl>
+<dt>Yield Type:</dt>
+<dd>
+tuple of (int, list)
+</dd>
+</dl>
+<a NAME="QtResolver.resolve" ID="QtResolver.resolve"></a>
+<h4>QtResolver.resolve</h4>
+<b>resolve</b>(<i>var, attribute</i>)
+
+<p>
+        Public method to get an attribute from a variable.
+</p>
+<dl>
+
+<dt><i>var</i> (Qt objects)</dt>
+<dd>
+variable to extract an attribute or value from
+</dd>
+<dt><i>attribute</i> (str)</dt>
+<dd>
+name of the attribute to extract
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+value of the attribute
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+any
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
 <a NAME="SetResolver" ID="SetResolver"></a>
 <h2>SetResolver</h2>
 
@@ -909,8 +1015,8 @@
 <table>
 
 <tr>
-<td><a href="#SetResolver.getDictionary">getDictionary</a></td>
-<td>Public method to get the attributes of a variable as a dictionary.</td>
+<td><a href="#SetResolver.getVariableList">getVariableList</a></td>
+<td>Public method to get the attributes of a variable as a list.</td>
 </tr>
 <tr>
 <td><a href="#SetResolver.resolve">resolve</a></td>
@@ -923,12 +1029,12 @@
 <tr><td>None</td></tr>
 </table>
 
-<a NAME="SetResolver.getDictionary" ID="SetResolver.getDictionary"></a>
-<h4>SetResolver.getDictionary</h4>
-<b>getDictionary</b>(<i>var</i>)
+<a NAME="SetResolver.getVariableList" ID="SetResolver.getVariableList"></a>
+<h4>SetResolver.getVariableList</h4>
+<b>getVariableList</b>(<i>var</i>)
 
 <p>
-        Public method to get the attributes of a variable as a dictionary.
+        Public method to get the attributes of a variable as a list.
 </p>
 <dl>
 
@@ -940,14 +1046,14 @@
 <dl>
 <dt>Yield:</dt>
 <dd>
-tuple containing the batch start index and a dictionary
+tuple containing the batch start index and a list
             containing the variable attributes
 </dd>
 </dl>
 <dl>
 <dt>Yield Type:</dt>
 <dd>
-tuple of (int, dict)
+tuple of (int, list)
 </dd>
 </dl>
 <a NAME="SetResolver.resolve" ID="SetResolver.resolve"></a>
@@ -993,32 +1099,42 @@
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
-<a NAME="getType" ID="getType"></a>
-<h2>getType</h2>
-<b>getType</b>(<i>obj</i>)
+<a NAME="getResolver" ID="getResolver"></a>
+<h2>getResolver</h2>
+<b>getResolver</b>(<i>obj</i>)
 
 <p>
-    Public method to get the type information for an object.
+    Public method to get the resolver based on the type info of an object.
 </p>
 <dl>
 
 <dt><i>obj</i> (any)</dt>
 <dd>
-object to get type information for
+object to get resolver for
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-tuple containing the type name, type string and resolver
+resolver
 </dd>
 </dl>
 <dl>
 <dt>Return Type:</dt>
 <dd>
-tuple of str, str, BaseResolver
+BaseResolver
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
+<hr />
+<a NAME="updateTypeMap" ID="updateTypeMap"></a>
+<h2>updateTypeMap</h2>
+<b>updateTypeMap</b>(<i></i>)
+
+<p>
+    Public function to update the type map based on module imports.
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
 </body></html>
\ No newline at end of file

eric ide

mercurial