Documentation/Source/eric4.E4Network.E4NetworkMonitor.html

changeset 3
0d9daebf5b8c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric4.E4Network.E4NetworkMonitor.html	Mon Dec 28 16:18:43 2009 +0000
@@ -0,0 +1,362 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric4.E4Network.E4NetworkMonitor</title>
+<style>
+body {
+    background:white;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #4FA4FF; }
+h2 { color: white; background: #4FA4FF; }
+h3 { color: white; background: #00557F; }
+h4 { color: white; background: #00557F; }
+    
+a { color: #AA5500; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric4.E4Network.E4NetworkMonitor</h1>
+<p>
+Module implementing a network monitor dialog.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#E4NetworkMonitor">E4NetworkMonitor</a></td>
+<td>Class implementing a network monitor dialog.</td>
+</tr><tr>
+<td><a href="#E4NetworkRequest">E4NetworkRequest</a></td>
+<td>Class for storing all data related to a specific request.</td>
+</tr><tr>
+<td><a href="#E4RequestModel">E4RequestModel</a></td>
+<td>Class implementing a model storing request objects.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="E4NetworkMonitor" ID="E4NetworkMonitor"></a>
+<h2>E4NetworkMonitor</h2>
+<p>
+    Class implementing a network monitor dialog.
+</p>
+<h3>Derived from</h3>
+QDialog, Ui_E4NetworkMonitor
+<h3>Class Attributes</h3>
+<table>
+<tr><td>_monitor</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#E4NetworkMonitor.__init__">E4NetworkMonitor</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#E4NetworkMonitor.__currentChanged">__currentChanged</a></td>
+<td>Private slot to handle a change of the current index.</td>
+</tr><tr>
+<td><a href="#E4NetworkMonitor.__showHeaderDetails">__showHeaderDetails</a></td>
+<td>Private slot to show a dialog with the header details.</td>
+</tr><tr>
+<td><a href="#E4NetworkMonitor.closeEvent">closeEvent</a></td>
+<td>Protected method called upon closing the dialog.</td>
+</tr><tr>
+<td><a href="#E4NetworkMonitor.closeMonitor">closeMonitor</a></td>
+<td>Class method to close the monitor dialog.</td>
+</tr><tr>
+<td><a href="#E4NetworkMonitor.instance">instance</a></td>
+<td>Class method to get a reference to our singleton.</td>
+</tr><tr>
+<td><a href="#E4NetworkMonitor.reject">reject</a></td>
+<td>Public slot to close the dialog with a Reject status.</td>
+</tr>
+</table>
+<a NAME="E4NetworkMonitor.__init__" ID="E4NetworkMonitor.__init__"></a>
+<h4>E4NetworkMonitor (Constructor)</h4>
+<b>E4NetworkMonitor</b>(<i>networkAccessManager, parent = None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>networkAccessManager</i></dt>
+<dd>
+reference to the network access manager
+            (QNetworkAccessManager)
+</dd><dt><i>parent</i></dt>
+<dd>
+reference to the parent widget (QWidget)
+</dd>
+</dl><a NAME="E4NetworkMonitor.__currentChanged" ID="E4NetworkMonitor.__currentChanged"></a>
+<h4>E4NetworkMonitor.__currentChanged</h4>
+<b>__currentChanged</b>(<i>current, previous</i>)
+<p>
+        Private slot to handle a change of the current index.
+</p><dl>
+<dt><i>current</i></dt>
+<dd>
+new current index (QModelIndex)
+</dd><dt><i>previous</i></dt>
+<dd>
+old current index (QModelIndex)
+</dd>
+</dl><a NAME="E4NetworkMonitor.__showHeaderDetails" ID="E4NetworkMonitor.__showHeaderDetails"></a>
+<h4>E4NetworkMonitor.__showHeaderDetails</h4>
+<b>__showHeaderDetails</b>(<i>index</i>)
+<p>
+        Private slot to show a dialog with the header details.
+</p><dl>
+<dt><i>index</i></dt>
+<dd>
+index of the entry to show (QModelIndex)
+</dd>
+</dl><a NAME="E4NetworkMonitor.closeEvent" ID="E4NetworkMonitor.closeEvent"></a>
+<h4>E4NetworkMonitor.closeEvent</h4>
+<b>closeEvent</b>(<i>evt</i>)
+<p>
+        Protected method called upon closing the dialog.
+</p><dl>
+<dt><i>evt</i></dt>
+<dd>
+reference to the close event object (QCloseEvent)
+</dd>
+</dl><a NAME="E4NetworkMonitor.closeMonitor" ID="E4NetworkMonitor.closeMonitor"></a>
+<h4>E4NetworkMonitor.closeMonitor</h4>
+<b>closeMonitor</b>(<i></i>)
+<p>
+        Class method to close the monitor dialog.
+</p><a NAME="E4NetworkMonitor.instance" ID="E4NetworkMonitor.instance"></a>
+<h4>E4NetworkMonitor.instance</h4>
+<b>instance</b>(<i>networkAccessManager</i>)
+<p>
+        Class method to get a reference to our singleton.
+</p><dl>
+<dt><i>networkAccessManager</i></dt>
+<dd>
+reference to the network access manager
+            (QNetworkAccessManager)
+</dd>
+</dl><a NAME="E4NetworkMonitor.reject" ID="E4NetworkMonitor.reject"></a>
+<h4>E4NetworkMonitor.reject</h4>
+<b>reject</b>(<i></i>)
+<p>
+        Public slot to close the dialog with a Reject status.
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="E4NetworkRequest" ID="E4NetworkRequest"></a>
+<h2>E4NetworkRequest</h2>
+<p>
+    Class for storing all data related to a specific request.
+</p>
+<h3>Derived from</h3>
+object
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#E4NetworkRequest.__init__">E4NetworkRequest</a></td>
+<td>Constructor</td>
+</tr>
+</table>
+<a NAME="E4NetworkRequest.__init__" ID="E4NetworkRequest.__init__"></a>
+<h4>E4NetworkRequest (Constructor)</h4>
+<b>E4NetworkRequest</b>(<i></i>)
+<p>
+        Constructor
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="E4RequestModel" ID="E4RequestModel"></a>
+<h2>E4RequestModel</h2>
+<p>
+    Class implementing a model storing request objects.
+</p>
+<h3>Derived from</h3>
+QAbstractTableModel
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#E4RequestModel.__init__">E4RequestModel</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#E4RequestModel.__addReply">__addReply</a></td>
+<td>Private slot to add the reply data to the model.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.__addRequest">__addRequest</a></td>
+<td>Private method to add a request object to the model.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.__requestCreated">__requestCreated</a></td>
+<td>Private slot handling the creation of a network request.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.columnCount">columnCount</a></td>
+<td>Public method to get the number of columns of the model.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.data">data</a></td>
+<td>Public method to get data from the model.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.headerData">headerData</a></td>
+<td>Public method to get header data from the model.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.removeRows">removeRows</a></td>
+<td>Public method to remove entries from the model.</td>
+</tr><tr>
+<td><a href="#E4RequestModel.rowCount">rowCount</a></td>
+<td>Public method to get the number of rows of the model.</td>
+</tr>
+</table>
+<a NAME="E4RequestModel.__init__" ID="E4RequestModel.__init__"></a>
+<h4>E4RequestModel (Constructor)</h4>
+<b>E4RequestModel</b>(<i>networkAccessManager, parent = None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>networkAccessManager</i></dt>
+<dd>
+reference to the network access manager
+            (QNetworkAccessManager)
+</dd><dt><i>parent</i></dt>
+<dd>
+reference to the parent object (QObject)
+</dd>
+</dl><a NAME="E4RequestModel.__addReply" ID="E4RequestModel.__addReply"></a>
+<h4>E4RequestModel.__addReply</h4>
+<b>__addReply</b>(<i></i>)
+<p>
+        Private slot to add the reply data to the model.
+</p><a NAME="E4RequestModel.__addRequest" ID="E4RequestModel.__addRequest"></a>
+<h4>E4RequestModel.__addRequest</h4>
+<b>__addRequest</b>(<i>req</i>)
+<p>
+        Private method to add a request object to the model.
+</p><dl>
+<dt><i>req</i></dt>
+<dd>
+reference to the request object (E4NetworkRequest)
+</dd>
+</dl><a NAME="E4RequestModel.__requestCreated" ID="E4RequestModel.__requestCreated"></a>
+<h4>E4RequestModel.__requestCreated</h4>
+<b>__requestCreated</b>(<i>operation, request, reply</i>)
+<p>
+        Private slot handling the creation of a network request.
+</p><dl>
+<dt><i>operation</i></dt>
+<dd>
+network operation (QNetworkAccessManager.Operation)
+</dd><dt><i>request</i></dt>
+<dd>
+reference to the request object (QNetworkRequest)
+</dd><dt><i>reply</i></dt>
+<dd>
+reference to the reply object(QNetworkReply)
+</dd>
+</dl><a NAME="E4RequestModel.columnCount" ID="E4RequestModel.columnCount"></a>
+<h4>E4RequestModel.columnCount</h4>
+<b>columnCount</b>(<i>parent</i>)
+<p>
+        Public method to get the number of columns of the model.
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+parent index (QModelIndex)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+number of columns (integer)
+</dd>
+</dl><a NAME="E4RequestModel.data" ID="E4RequestModel.data"></a>
+<h4>E4RequestModel.data</h4>
+<b>data</b>(<i>index, role</i>)
+<p>
+        Public method to get data from the model.
+</p><dl>
+<dt><i>index</i></dt>
+<dd>
+index to get data for (QModelIndex)
+</dd><dt><i>role</i></dt>
+<dd>
+role of the data to retrieve (integer)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+requested data
+</dd>
+</dl><a NAME="E4RequestModel.headerData" ID="E4RequestModel.headerData"></a>
+<h4>E4RequestModel.headerData</h4>
+<b>headerData</b>(<i>section, orientation, role</i>)
+<p>
+        Public method to get header data from the model.
+</p><dl>
+<dt><i>section</i></dt>
+<dd>
+section number (integer)
+</dd><dt><i>orientation</i></dt>
+<dd>
+orientation (Qt.Orientation)
+</dd><dt><i>role</i></dt>
+<dd>
+role of the data to retrieve (integer)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+requested data
+</dd>
+</dl><a NAME="E4RequestModel.removeRows" ID="E4RequestModel.removeRows"></a>
+<h4>E4RequestModel.removeRows</h4>
+<b>removeRows</b>(<i>row, count, parent</i>)
+<p>
+        Public method to remove entries from the model.
+</p><dl>
+<dt><i>row</i></dt>
+<dd>
+start row (integer)
+</dd><dt><i>count</i></dt>
+<dd>
+number of rows to remove (integer)
+</dd><dt><i>parent</i></dt>
+<dd>
+parent index (QModelIndex)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating success (boolean)
+</dd>
+</dl><a NAME="E4RequestModel.rowCount" ID="E4RequestModel.rowCount"></a>
+<h4>E4RequestModel.rowCount</h4>
+<b>rowCount</b>(<i>parent</i>)
+<p>
+        Public method to get the number of rows of the model.
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+parent index (QModelIndex)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+number of columns (integer)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial