src/eric7/Documentation/Source/eric7.EricNetwork.EricNetworkIcon.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10479
856476537696
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.EricNetwork.EricNetworkIcon</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.EricNetwork.EricNetworkIcon</h1>
10
11 <p>
12 Module implementing a statusbar icon tracking the network status.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#EricNetworkIcon">EricNetworkIcon</a></td>
25 <td>Class implementing a statusbar icon tracking the network status.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="EricNetworkIcon" ID="EricNetworkIcon"></a>
36 <h2>EricNetworkIcon</h2>
37
38 <p>
39 Class implementing a statusbar icon tracking the network status.
40 </p>
41 <h3>Signals</h3>
42 <dl>
43
44 <dt>onlineStateChanged(online)</dt>
45 <dd>
46 emitted to indicate a change of the
47 network state
48 </dd>
49 <dt>reachabilityStateChanged(reachability)</dt>
50 <dd>
51 emitted to indicate a
52 change of the network reachability
53 </dd>
54 </dl>
55 <h3>Derived from</h3>
56 QLabel
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#EricNetworkIcon.__init__">EricNetworkIcon</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#EricNetworkIcon.__reachabilityChanged">__reachabilityChanged</a></td>
77 <td>Private slot handling reachability state changes.</td>
78 </tr>
79 <tr>
80 <td><a href="#EricNetworkIcon.isOnline">isOnline</a></td>
81 <td>Public method to get the online state.</td>
82 </tr>
83 </table>
84 <h3>Static Methods</h3>
85
86 <table>
87 <tr><td>None</td></tr>
88 </table>
89
90 <a NAME="EricNetworkIcon.__init__" ID="EricNetworkIcon.__init__"></a>
91 <h4>EricNetworkIcon (Constructor)</h4>
92 <b>EricNetworkIcon</b>(<i>parent=None</i>)
93
94 <p>
95 Constructor
96 </p>
97 <dl>
98
99 <dt><i>parent</i> (QWidget)</dt>
100 <dd>
101 reference to the parent widget
102 </dd>
103 </dl>
104 <a NAME="EricNetworkIcon.__reachabilityChanged" ID="EricNetworkIcon.__reachabilityChanged"></a>
105 <h4>EricNetworkIcon.__reachabilityChanged</h4>
106 <b>__reachabilityChanged</b>(<i>reachability</i>)
107
108 <p>
109 Private slot handling reachability state changes.
110 </p>
111 <dl>
112
113 <dt><i>reachability</i> (QNetworkInformation.Reachability)</dt>
114 <dd>
115 new reachability state
116 </dd>
117 </dl>
118 <a NAME="EricNetworkIcon.isOnline" ID="EricNetworkIcon.isOnline"></a>
119 <h4>EricNetworkIcon.isOnline</h4>
120 <b>isOnline</b>(<i></i>)
121
122 <p>
123 Public method to get the online state.
124 </p>
125 <dl>
126 <dt>Return:</dt>
127 <dd>
128 online state
129 </dd>
130 </dl>
131 <dl>
132 <dt>Return Type:</dt>
133 <dd>
134 bool
135 </dd>
136 </dl>
137 <div align="right"><a href="#top">Up</a></div>
138 <hr />
139 </body></html>

eric ide

mercurial