Documentation/Source/eric5.E5Network.E5NetworkMonitor.html

changeset 58
37f0444c3479
parent 52
ba69827929ee
child 365
0686ac00256e
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.E5Network.E5NetworkMonitor</h1> 23 <h1>eric5.E5Network.E5NetworkMonitor</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#100;&#105;&#97;&#108;&#111;&#103;. 25 Module implementing a network monitor dialog.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#E5NetworkMonitor">E5NetworkMonitor</a></td> 34 <td><a href="#E5NetworkMonitor">E5NetworkMonitor</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 35 <td>Class implementing a network monitor dialog.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#E5NetworkRequest">E5NetworkRequest</a></td> 37 <td><a href="#E5NetworkRequest">E5NetworkRequest</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#115;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#108;&#108; &#100;&#97;&#116;&#97; &#114;&#101;&#108;&#97;&#116;&#101;&#100; &#116;&#111; &#97; &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99; &#114;&#101;&#113;&#117;&#101;&#115;&#116;.</td> 38 <td>Class for storing all data related to a specific request.</td>
39 </tr><tr> 39 </tr><tr>
40 <td><a href="#E5RequestModel">E5RequestModel</a></td> 40 <td><a href="#E5RequestModel">E5RequestModel</a></td>
41 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#115;&#116;&#111;&#114;&#105;&#110;&#103; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#111;&#98;&#106;&#101;&#99;&#116;&#115;.</td> 41 <td>Class implementing a model storing request objects.</td>
42 </tr> 42 </tr>
43 </table> 43 </table>
44 <h3>Functions</h3> 44 <h3>Functions</h3>
45 <table> 45 <table>
46 <tr><td>None</td></tr> 46 <tr><td>None</td></tr>
47 </table> 47 </table>
48 <hr /><hr /> 48 <hr /><hr />
49 <a NAME="E5NetworkMonitor" ID="E5NetworkMonitor"></a> 49 <a NAME="E5NetworkMonitor" ID="E5NetworkMonitor"></a>
50 <h2>E5NetworkMonitor</h2> 50 <h2>E5NetworkMonitor</h2>
51 <p> 51 <p>
52 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#100;&#105;&#97;&#108;&#111;&#103;. 52 Class implementing a network monitor dialog.
53 </p> 53 </p>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 QDialog, Ui_E5NetworkMonitor 55 QDialog, Ui_E5NetworkMonitor
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
57 <table> 57 <table>
59 </table> 59 </table>
60 <h3>Methods</h3> 60 <h3>Methods</h3>
61 <table> 61 <table>
62 <tr> 62 <tr>
63 <td><a href="#E5NetworkMonitor.__init__">E5NetworkMonitor</a></td> 63 <td><a href="#E5NetworkMonitor.__init__">E5NetworkMonitor</a></td>
64 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 64 <td>Constructor</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#E5NetworkMonitor.__currentChanged">__currentChanged</a></td> 66 <td><a href="#E5NetworkMonitor.__currentChanged">__currentChanged</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.</td> 67 <td>Private slot to handle a change of the current index.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#E5NetworkMonitor.__showHeaderDetails">__showHeaderDetails</a></td> 69 <td><a href="#E5NetworkMonitor.__showHeaderDetails">__showHeaderDetails</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#97; &#100;&#105;&#97;&#108;&#111;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#101;&#116;&#97;&#105;&#108;&#115;.</td> 70 <td>Private slot to show a dialog with the header details.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#E5NetworkMonitor.closeEvent">closeEvent</a></td> 72 <td><a href="#E5NetworkMonitor.closeEvent">closeEvent</a></td>
73 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#117;&#112;&#111;&#110; &#99;&#108;&#111;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 73 <td>Protected method called upon closing the dialog.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#E5NetworkMonitor.closeMonitor">closeMonitor</a></td> 75 <td><a href="#E5NetworkMonitor.closeMonitor">closeMonitor</a></td>
76 <td>&#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 76 <td>Class method to close the monitor dialog.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#E5NetworkMonitor.instance">instance</a></td> 78 <td><a href="#E5NetworkMonitor.instance">instance</a></td>
79 <td>&#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#111;&#117;&#114; &#115;&#105;&#110;&#103;&#108;&#101;&#116;&#111;&#110;.</td> 79 <td>Class method to get a reference to our singleton.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#E5NetworkMonitor.reject">reject</a></td> 81 <td><a href="#E5NetworkMonitor.reject">reject</a></td>
82 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; w&#105;&#116;&#104; &#97; &#82;&#101;&#106;&#101;&#99;&#116; &#115;&#116;&#97;&#116;&#117;&#115;.</td> 82 <td>Public slot to close the dialog with a Reject status.</td>
83 </tr> 83 </tr>
84 </table> 84 </table>
85 <a NAME="E5NetworkMonitor.__init__" ID="E5NetworkMonitor.__init__"></a> 85 <a NAME="E5NetworkMonitor.__init__" ID="E5NetworkMonitor.__init__"></a>
86 <h4>E5NetworkMonitor (Constructor)</h4> 86 <h4>E5NetworkMonitor (Constructor)</h4>
87 <b>E5NetworkMonitor</b>(<i>networkAccessManager, parent = None</i>) 87 <b>E5NetworkMonitor</b>(<i>networkAccessManager, parent = None</i>)
88 <p> 88 <p>
89 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 89 Constructor
90 </p><dl> 90 </p><dl>
91 <dt><i>networkAccessManager</i></dt> 91 <dt><i>networkAccessManager</i></dt>
92 <dd> 92 <dd>
93 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#97;&#99;&#99;&#101;&#115;&#115; &#109;&#97;&#110;&#97;&#103;&#101;&#114; 93 reference to the network access manager
94 (&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#65;&#99;&#99;&#101;&#115;&#115;&#77;&#97;&#110;&#97;&#103;&#101;&#114;) 94 (QNetworkAccessManager)
95 </dd><dt><i>parent</i></dt> 95 </dd><dt><i>parent</i></dt>
96 <dd> 96 <dd>
97 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 97 reference to the parent widget (QWidget)
98 </dd> 98 </dd>
99 </dl><a NAME="E5NetworkMonitor.__currentChanged" ID="E5NetworkMonitor.__currentChanged"></a> 99 </dl><a NAME="E5NetworkMonitor.__currentChanged" ID="E5NetworkMonitor.__currentChanged"></a>
100 <h4>E5NetworkMonitor.__currentChanged</h4> 100 <h4>E5NetworkMonitor.__currentChanged</h4>
101 <b>__currentChanged</b>(<i>current, previous</i>) 101 <b>__currentChanged</b>(<i>current, previous</i>)
102 <p> 102 <p>
103 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x. 103 Private slot to handle a change of the current index.
104 </p><dl> 104 </p><dl>
105 <dt><i>current</i></dt> 105 <dt><i>current</i></dt>
106 <dd> 106 <dd>
107 &#110;&#101;w &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 107 new current index (QModelIndex)
108 </dd><dt><i>previous</i></dt> 108 </dd><dt><i>previous</i></dt>
109 <dd> 109 <dd>
110 &#111;&#108;&#100; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 110 old current index (QModelIndex)
111 </dd> 111 </dd>
112 </dl><a NAME="E5NetworkMonitor.__showHeaderDetails" ID="E5NetworkMonitor.__showHeaderDetails"></a> 112 </dl><a NAME="E5NetworkMonitor.__showHeaderDetails" ID="E5NetworkMonitor.__showHeaderDetails"></a>
113 <h4>E5NetworkMonitor.__showHeaderDetails</h4> 113 <h4>E5NetworkMonitor.__showHeaderDetails</h4>
114 <b>__showHeaderDetails</b>(<i>index</i>) 114 <b>__showHeaderDetails</b>(<i>index</i>)
115 <p> 115 <p>
116 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#97; &#100;&#105;&#97;&#108;&#111;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#101;&#116;&#97;&#105;&#108;&#115;. 116 Private slot to show a dialog with the header details.
117 </p><dl> 117 </p><dl>
118 <dt><i>index</i></dt> 118 <dt><i>index</i></dt>
119 <dd> 119 <dd>
120 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#115;&#104;&#111;w (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 120 index of the entry to show (QModelIndex)
121 </dd> 121 </dd>
122 </dl><a NAME="E5NetworkMonitor.closeEvent" ID="E5NetworkMonitor.closeEvent"></a> 122 </dl><a NAME="E5NetworkMonitor.closeEvent" ID="E5NetworkMonitor.closeEvent"></a>
123 <h4>E5NetworkMonitor.closeEvent</h4> 123 <h4>E5NetworkMonitor.closeEvent</h4>
124 <b>closeEvent</b>(<i>evt</i>) 124 <b>closeEvent</b>(<i>evt</i>)
125 <p> 125 <p>
126 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#117;&#112;&#111;&#110; &#99;&#108;&#111;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;. 126 Protected method called upon closing the dialog.
127 </p><dl> 127 </p><dl>
128 <dt><i>evt</i></dt> 128 <dt><i>evt</i></dt>
129 <dd> 129 <dd>
130 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#67;&#108;&#111;&#115;&#101;&#69;v&#101;&#110;&#116;) 130 reference to the close event object (QCloseEvent)
131 </dd> 131 </dd>
132 </dl><a NAME="E5NetworkMonitor.closeMonitor" ID="E5NetworkMonitor.closeMonitor"></a> 132 </dl><a NAME="E5NetworkMonitor.closeMonitor" ID="E5NetworkMonitor.closeMonitor"></a>
133 <h4>E5NetworkMonitor.closeMonitor</h4> 133 <h4>E5NetworkMonitor.closeMonitor</h4>
134 <b>closeMonitor</b>(<i></i>) 134 <b>closeMonitor</b>(<i></i>)
135 <p> 135 <p>
136 &#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#100;&#105;&#97;&#108;&#111;&#103;. 136 Class method to close the monitor dialog.
137 </p><a NAME="E5NetworkMonitor.instance" ID="E5NetworkMonitor.instance"></a> 137 </p><a NAME="E5NetworkMonitor.instance" ID="E5NetworkMonitor.instance"></a>
138 <h4>E5NetworkMonitor.instance</h4> 138 <h4>E5NetworkMonitor.instance</h4>
139 <b>instance</b>(<i>networkAccessManager</i>) 139 <b>instance</b>(<i>networkAccessManager</i>)
140 <p> 140 <p>
141 &#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#111;&#117;&#114; &#115;&#105;&#110;&#103;&#108;&#101;&#116;&#111;&#110;. 141 Class method to get a reference to our singleton.
142 </p><dl> 142 </p><dl>
143 <dt><i>networkAccessManager</i></dt> 143 <dt><i>networkAccessManager</i></dt>
144 <dd> 144 <dd>
145 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#97;&#99;&#99;&#101;&#115;&#115; &#109;&#97;&#110;&#97;&#103;&#101;&#114; 145 reference to the network access manager
146 (&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#65;&#99;&#99;&#101;&#115;&#115;&#77;&#97;&#110;&#97;&#103;&#101;&#114;) 146 (QNetworkAccessManager)
147 </dd> 147 </dd>
148 </dl><a NAME="E5NetworkMonitor.reject" ID="E5NetworkMonitor.reject"></a> 148 </dl><a NAME="E5NetworkMonitor.reject" ID="E5NetworkMonitor.reject"></a>
149 <h4>E5NetworkMonitor.reject</h4> 149 <h4>E5NetworkMonitor.reject</h4>
150 <b>reject</b>(<i></i>) 150 <b>reject</b>(<i></i>)
151 <p> 151 <p>
152 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; w&#105;&#116;&#104; &#97; &#82;&#101;&#106;&#101;&#99;&#116; &#115;&#116;&#97;&#116;&#117;&#115;. 152 Public slot to close the dialog with a Reject status.
153 </p> 153 </p>
154 <div align="right"><a href="#top">Up</a></div> 154 <div align="right"><a href="#top">Up</a></div>
155 <hr /><hr /> 155 <hr /><hr />
156 <a NAME="E5NetworkRequest" ID="E5NetworkRequest"></a> 156 <a NAME="E5NetworkRequest" ID="E5NetworkRequest"></a>
157 <h2>E5NetworkRequest</h2> 157 <h2>E5NetworkRequest</h2>
158 <p> 158 <p>
159 &#67;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#115;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#108;&#108; &#100;&#97;&#116;&#97; &#114;&#101;&#108;&#97;&#116;&#101;&#100; &#116;&#111; &#97; &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99; &#114;&#101;&#113;&#117;&#101;&#115;&#116;. 159 Class for storing all data related to a specific request.
160 </p> 160 </p>
161 <h3>Derived from</h3> 161 <h3>Derived from</h3>
162 object 162 object
163 <h3>Class Attributes</h3> 163 <h3>Class Attributes</h3>
164 <table> 164 <table>
166 </table> 166 </table>
167 <h3>Methods</h3> 167 <h3>Methods</h3>
168 <table> 168 <table>
169 <tr> 169 <tr>
170 <td><a href="#E5NetworkRequest.__init__">E5NetworkRequest</a></td> 170 <td><a href="#E5NetworkRequest.__init__">E5NetworkRequest</a></td>
171 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 171 <td>Constructor</td>
172 </tr> 172 </tr>
173 </table> 173 </table>
174 <a NAME="E5NetworkRequest.__init__" ID="E5NetworkRequest.__init__"></a> 174 <a NAME="E5NetworkRequest.__init__" ID="E5NetworkRequest.__init__"></a>
175 <h4>E5NetworkRequest (Constructor)</h4> 175 <h4>E5NetworkRequest (Constructor)</h4>
176 <b>E5NetworkRequest</b>(<i></i>) 176 <b>E5NetworkRequest</b>(<i></i>)
177 <p> 177 <p>
178 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 178 Constructor
179 </p> 179 </p>
180 <div align="right"><a href="#top">Up</a></div> 180 <div align="right"><a href="#top">Up</a></div>
181 <hr /><hr /> 181 <hr /><hr />
182 <a NAME="E5RequestModel" ID="E5RequestModel"></a> 182 <a NAME="E5RequestModel" ID="E5RequestModel"></a>
183 <h2>E5RequestModel</h2> 183 <h2>E5RequestModel</h2>
184 <p> 184 <p>
185 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#115;&#116;&#111;&#114;&#105;&#110;&#103; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#111;&#98;&#106;&#101;&#99;&#116;&#115;. 185 Class implementing a model storing request objects.
186 </p> 186 </p>
187 <h3>Derived from</h3> 187 <h3>Derived from</h3>
188 QAbstractTableModel 188 QAbstractTableModel
189 <h3>Class Attributes</h3> 189 <h3>Class Attributes</h3>
190 <table> 190 <table>
192 </table> 192 </table>
193 <h3>Methods</h3> 193 <h3>Methods</h3>
194 <table> 194 <table>
195 <tr> 195 <tr>
196 <td><a href="#E5RequestModel.__init__">E5RequestModel</a></td> 196 <td><a href="#E5RequestModel.__init__">E5RequestModel</a></td>
197 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 197 <td>Constructor</td>
198 </tr><tr> 198 </tr><tr>
199 <td><a href="#E5RequestModel.__addReply">__addReply</a></td> 199 <td><a href="#E5RequestModel.__addReply">__addReply</a></td>
200 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#114;&#101;&#112;&#108;y &#100;&#97;&#116;&#97; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 200 <td>Private slot to add the reply data to the model.</td>
201 </tr><tr> 201 </tr><tr>
202 <td><a href="#E5RequestModel.__addRequest">__addRequest</a></td> 202 <td><a href="#E5RequestModel.__addRequest">__addRequest</a></td>
203 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 203 <td>Private method to add a request object to the model.</td>
204 </tr><tr> 204 </tr><tr>
205 <td><a href="#E5RequestModel.__requestCreated">__requestCreated</a></td> 205 <td><a href="#E5RequestModel.__requestCreated">__requestCreated</a></td>
206 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#114;&#101;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#114;&#101;&#113;&#117;&#101;&#115;&#116;.</td> 206 <td>Private slot handling the creation of a network request.</td>
207 </tr><tr> 207 </tr><tr>
208 <td><a href="#E5RequestModel.columnCount">columnCount</a></td> 208 <td><a href="#E5RequestModel.columnCount">columnCount</a></td>
209 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 209 <td>Public method to get the number of columns of the model.</td>
210 </tr><tr> 210 </tr><tr>
211 <td><a href="#E5RequestModel.data">data</a></td> 211 <td><a href="#E5RequestModel.data">data</a></td>
212 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 212 <td>Public method to get data from the model.</td>
213 </tr><tr> 213 </tr><tr>
214 <td><a href="#E5RequestModel.headerData">headerData</a></td> 214 <td><a href="#E5RequestModel.headerData">headerData</a></td>
215 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 215 <td>Public method to get header data from the model.</td>
216 </tr><tr> 216 </tr><tr>
217 <td><a href="#E5RequestModel.removeRows">removeRows</a></td> 217 <td><a href="#E5RequestModel.removeRows">removeRows</a></td>
218 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 218 <td>Public method to remove entries from the model.</td>
219 </tr><tr> 219 </tr><tr>
220 <td><a href="#E5RequestModel.rowCount">rowCount</a></td> 220 <td><a href="#E5RequestModel.rowCount">rowCount</a></td>
221 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 221 <td>Public method to get the number of rows of the model.</td>
222 </tr> 222 </tr>
223 </table> 223 </table>
224 <a NAME="E5RequestModel.__init__" ID="E5RequestModel.__init__"></a> 224 <a NAME="E5RequestModel.__init__" ID="E5RequestModel.__init__"></a>
225 <h4>E5RequestModel (Constructor)</h4> 225 <h4>E5RequestModel (Constructor)</h4>
226 <b>E5RequestModel</b>(<i>networkAccessManager, parent = None</i>) 226 <b>E5RequestModel</b>(<i>networkAccessManager, parent = None</i>)
227 <p> 227 <p>
228 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 228 Constructor
229 </p><dl> 229 </p><dl>
230 <dt><i>networkAccessManager</i></dt> 230 <dt><i>networkAccessManager</i></dt>
231 <dd> 231 <dd>
232 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#97;&#99;&#99;&#101;&#115;&#115; &#109;&#97;&#110;&#97;&#103;&#101;&#114; 232 reference to the network access manager
233 (&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#65;&#99;&#99;&#101;&#115;&#115;&#77;&#97;&#110;&#97;&#103;&#101;&#114;) 233 (QNetworkAccessManager)
234 </dd><dt><i>parent</i></dt> 234 </dd><dt><i>parent</i></dt>
235 <dd> 235 <dd>
236 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 236 reference to the parent object (QObject)
237 </dd> 237 </dd>
238 </dl><a NAME="E5RequestModel.__addReply" ID="E5RequestModel.__addReply"></a> 238 </dl><a NAME="E5RequestModel.__addReply" ID="E5RequestModel.__addReply"></a>
239 <h4>E5RequestModel.__addReply</h4> 239 <h4>E5RequestModel.__addReply</h4>
240 <b>__addReply</b>(<i></i>) 240 <b>__addReply</b>(<i></i>)
241 <p> 241 <p>
242 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#114;&#101;&#112;&#108;y &#100;&#97;&#116;&#97; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 242 Private slot to add the reply data to the model.
243 </p><a NAME="E5RequestModel.__addRequest" ID="E5RequestModel.__addRequest"></a> 243 </p><a NAME="E5RequestModel.__addRequest" ID="E5RequestModel.__addRequest"></a>
244 <h4>E5RequestModel.__addRequest</h4> 244 <h4>E5RequestModel.__addRequest</h4>
245 <b>__addRequest</b>(<i>req</i>) 245 <b>__addRequest</b>(<i>req</i>)
246 <p> 246 <p>
247 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 247 Private method to add a request object to the model.
248 </p><dl> 248 </p><dl>
249 <dt><i>req</i></dt> 249 <dt><i>req</i></dt>
250 <dd> 250 <dd>
251 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#69;&#53;&#78;&#101;&#116;w&#111;&#114;&#107;&#82;&#101;&#113;&#117;&#101;&#115;&#116;) 251 reference to the request object (E5NetworkRequest)
252 </dd> 252 </dd>
253 </dl><a NAME="E5RequestModel.__requestCreated" ID="E5RequestModel.__requestCreated"></a> 253 </dl><a NAME="E5RequestModel.__requestCreated" ID="E5RequestModel.__requestCreated"></a>
254 <h4>E5RequestModel.__requestCreated</h4> 254 <h4>E5RequestModel.__requestCreated</h4>
255 <b>__requestCreated</b>(<i>operation, request, reply</i>) 255 <b>__requestCreated</b>(<i>operation, request, reply</i>)
256 <p> 256 <p>
257 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#114;&#101;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#114;&#101;&#113;&#117;&#101;&#115;&#116;. 257 Private slot handling the creation of a network request.
258 </p><dl> 258 </p><dl>
259 <dt><i>operation</i></dt> 259 <dt><i>operation</i></dt>
260 <dd> 260 <dd>
261 &#110;&#101;&#116;w&#111;&#114;&#107; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#65;&#99;&#99;&#101;&#115;&#115;&#77;&#97;&#110;&#97;&#103;&#101;&#114;.&#79;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;) 261 network operation (QNetworkAccessManager.Operation)
262 </dd><dt><i>request</i></dt> 262 </dd><dt><i>request</i></dt>
263 <dd> 263 <dd>
264 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#82;&#101;&#113;&#117;&#101;&#115;&#116;) 264 reference to the request object (QNetworkRequest)
265 </dd><dt><i>reply</i></dt> 265 </dd><dt><i>reply</i></dt>
266 <dd> 266 <dd>
267 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#101;&#112;&#108;y &#111;&#98;&#106;&#101;&#99;&#116;(&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#82;&#101;&#112;&#108;y) 267 reference to the reply object(QNetworkReply)
268 </dd> 268 </dd>
269 </dl><a NAME="E5RequestModel.columnCount" ID="E5RequestModel.columnCount"></a> 269 </dl><a NAME="E5RequestModel.columnCount" ID="E5RequestModel.columnCount"></a>
270 <h4>E5RequestModel.columnCount</h4> 270 <h4>E5RequestModel.columnCount</h4>
271 <b>columnCount</b>(<i>parent</i>) 271 <b>columnCount</b>(<i>parent</i>)
272 <p> 272 <p>
273 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 273 Public method to get the number of columns of the model.
274 </p><dl> 274 </p><dl>
275 <dt><i>parent</i></dt> 275 <dt><i>parent</i></dt>
276 <dd> 276 <dd>
277 &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 277 parent index (QModelIndex)
278 </dd> 278 </dd>
279 </dl><dl> 279 </dl><dl>
280 <dt>Returns:</dt> 280 <dt>Returns:</dt>
281 <dd> 281 <dd>
282 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 282 number of columns (integer)
283 </dd> 283 </dd>
284 </dl><a NAME="E5RequestModel.data" ID="E5RequestModel.data"></a> 284 </dl><a NAME="E5RequestModel.data" ID="E5RequestModel.data"></a>
285 <h4>E5RequestModel.data</h4> 285 <h4>E5RequestModel.data</h4>
286 <b>data</b>(<i>index, role</i>) 286 <b>data</b>(<i>index, role</i>)
287 <p> 287 <p>
288 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 288 Public method to get data from the model.
289 </p><dl> 289 </p><dl>
290 <dt><i>index</i></dt> 290 <dt><i>index</i></dt>
291 <dd> 291 <dd>
292 &#105;&#110;&#100;&#101;x &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 292 index to get data for (QModelIndex)
293 </dd><dt><i>role</i></dt> 293 </dd><dt><i>role</i></dt>
294 <dd> 294 <dd>
295 &#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 295 role of the data to retrieve (integer)
296 </dd> 296 </dd>
297 </dl><dl> 297 </dl><dl>
298 <dt>Returns:</dt> 298 <dt>Returns:</dt>
299 <dd> 299 <dd>
300 &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97; 300 requested data
301 </dd> 301 </dd>
302 </dl><a NAME="E5RequestModel.headerData" ID="E5RequestModel.headerData"></a> 302 </dl><a NAME="E5RequestModel.headerData" ID="E5RequestModel.headerData"></a>
303 <h4>E5RequestModel.headerData</h4> 303 <h4>E5RequestModel.headerData</h4>
304 <b>headerData</b>(<i>section, orientation, role</i>) 304 <b>headerData</b>(<i>section, orientation, role</i>)
305 <p> 305 <p>
306 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 306 Public method to get header data from the model.
307 </p><dl> 307 </p><dl>
308 <dt><i>section</i></dt> 308 <dt><i>section</i></dt>
309 <dd> 309 <dd>
310 &#115;&#101;&#99;&#116;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 310 section number (integer)
311 </dd><dt><i>orientation</i></dt> 311 </dd><dt><i>orientation</i></dt>
312 <dd> 312 <dd>
313 &#111;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; (&#81;&#116;.&#79;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;) 313 orientation (Qt.Orientation)
314 </dd><dt><i>role</i></dt> 314 </dd><dt><i>role</i></dt>
315 <dd> 315 <dd>
316 &#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 316 role of the data to retrieve (integer)
317 </dd> 317 </dd>
318 </dl><dl> 318 </dl><dl>
319 <dt>Returns:</dt> 319 <dt>Returns:</dt>
320 <dd> 320 <dd>
321 &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97; 321 requested data
322 </dd> 322 </dd>
323 </dl><a NAME="E5RequestModel.removeRows" ID="E5RequestModel.removeRows"></a> 323 </dl><a NAME="E5RequestModel.removeRows" ID="E5RequestModel.removeRows"></a>
324 <h4>E5RequestModel.removeRows</h4> 324 <h4>E5RequestModel.removeRows</h4>
325 <b>removeRows</b>(<i>row, count, parent</i>) 325 <b>removeRows</b>(<i>row, count, parent</i>)
326 <p> 326 <p>
327 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 327 Public method to remove entries from the model.
328 </p><dl> 328 </p><dl>
329 <dt><i>row</i></dt> 329 <dt><i>row</i></dt>
330 <dd> 330 <dd>
331 &#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 331 start row (integer)
332 </dd><dt><i>count</i></dt> 332 </dd><dt><i>count</i></dt>
333 <dd> 333 <dd>
334 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 334 number of rows to remove (integer)
335 </dd><dt><i>parent</i></dt> 335 </dd><dt><i>parent</i></dt>
336 <dd> 336 <dd>
337 &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 337 parent index (QModelIndex)
338 </dd> 338 </dd>
339 </dl><dl> 339 </dl><dl>
340 <dt>Returns:</dt> 340 <dt>Returns:</dt>
341 <dd> 341 <dd>
342 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 342 flag indicating success (boolean)
343 </dd> 343 </dd>
344 </dl><a NAME="E5RequestModel.rowCount" ID="E5RequestModel.rowCount"></a> 344 </dl><a NAME="E5RequestModel.rowCount" ID="E5RequestModel.rowCount"></a>
345 <h4>E5RequestModel.rowCount</h4> 345 <h4>E5RequestModel.rowCount</h4>
346 <b>rowCount</b>(<i>parent</i>) 346 <b>rowCount</b>(<i>parent</i>)
347 <p> 347 <p>
348 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;. 348 Public method to get the number of rows of the model.
349 </p><dl> 349 </p><dl>
350 <dt><i>parent</i></dt> 350 <dt><i>parent</i></dt>
351 <dd> 351 <dd>
352 &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 352 parent index (QModelIndex)
353 </dd> 353 </dd>
354 </dl><dl> 354 </dl><dl>
355 <dt>Returns:</dt> 355 <dt>Returns:</dt>
356 <dd> 356 <dd>
357 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 357 number of columns (integer)
358 </dd> 358 </dd>
359 </dl> 359 </dl>
360 <div align="right"><a href="#top">Up</a></div> 360 <div align="right"><a href="#top">Up</a></div>
361 <hr /> 361 <hr />
362 </body></html> 362 </body></html>

eric ide

mercurial