16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.E5Network.E5NetworkIcon</h1> |
23 <h1>eric6.E5Network.E5NetworkIcon</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a statusbar icon tracking the network status. |
26 Module implementing a statusbar icon tracking the network status. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#E5NetworkIcon">E5NetworkIcon</a></td> |
38 <td><a href="#E5NetworkIcon">E5NetworkIcon</a></td> |
34 <td>Class implementing a statusbar icon tracking the network status.</td> |
39 <td>Class implementing a statusbar icon tracking the network status.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="E5NetworkIcon" ID="E5NetworkIcon"></a> |
49 <a NAME="E5NetworkIcon" ID="E5NetworkIcon"></a> |
43 <h2>E5NetworkIcon</h2> |
50 <h2>E5NetworkIcon</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a statusbar icon tracking the network status. |
53 Class implementing a statusbar icon tracking the network status. |
46 </p><h3>Signals</h3> |
54 </p> |
|
55 <h3>Signals</h3> |
47 <dl> |
56 <dl> |
|
57 |
48 <dt>onlineStateChanged(online)</dt> |
58 <dt>onlineStateChanged(online)</dt> |
49 <dd> |
59 <dd> |
50 emitted to indicate a change of the |
60 emitted to indicate a change of the |
51 network state |
61 network state |
52 </dd> |
62 </dd> |
53 </dl> |
63 </dl> |
54 <h3>Derived from</h3> |
64 <h3>Derived from</h3> |
55 QLabel |
65 QLabel |
56 <h3>Class Attributes</h3> |
66 <h3>Class Attributes</h3> |
|
67 |
57 <table> |
68 <table> |
58 <tr><td>None</td></tr> |
69 <tr><td>None</td></tr> |
59 </table> |
70 </table> |
60 <h3>Class Methods</h3> |
71 <h3>Class Methods</h3> |
|
72 |
61 <table> |
73 <table> |
62 <tr><td>None</td></tr> |
74 <tr><td>None</td></tr> |
63 </table> |
75 </table> |
64 <h3>Methods</h3> |
76 <h3>Methods</h3> |
|
77 |
65 <table> |
78 <table> |
|
79 |
66 <tr> |
80 <tr> |
67 <td><a href="#E5NetworkIcon.__init__">E5NetworkIcon</a></td> |
81 <td><a href="#E5NetworkIcon.__init__">E5NetworkIcon</a></td> |
68 <td>Constructor</td> |
82 <td>Constructor</td> |
69 </tr><tr> |
83 </tr> |
|
84 <tr> |
70 <td><a href="#E5NetworkIcon.__onlineStateChanged">__onlineStateChanged</a></td> |
85 <td><a href="#E5NetworkIcon.__onlineStateChanged">__onlineStateChanged</a></td> |
71 <td>Private slot handling online state changes.</td> |
86 <td>Private slot handling online state changes.</td> |
72 </tr><tr> |
87 </tr> |
|
88 <tr> |
73 <td><a href="#E5NetworkIcon.isOnline">isOnline</a></td> |
89 <td><a href="#E5NetworkIcon.isOnline">isOnline</a></td> |
74 <td>Public method to get the online state.</td> |
90 <td>Public method to get the online state.</td> |
75 </tr> |
91 </tr> |
76 </table> |
92 </table> |
77 <h3>Static Methods</h3> |
93 <h3>Static Methods</h3> |
|
94 |
78 <table> |
95 <table> |
79 <tr><td>None</td></tr> |
96 <tr><td>None</td></tr> |
80 </table> |
97 </table> |
|
98 |
81 <a NAME="E5NetworkIcon.__init__" ID="E5NetworkIcon.__init__"></a> |
99 <a NAME="E5NetworkIcon.__init__" ID="E5NetworkIcon.__init__"></a> |
82 <h4>E5NetworkIcon (Constructor)</h4> |
100 <h4>E5NetworkIcon (Constructor)</h4> |
83 <b>E5NetworkIcon</b>(<i>parent=None</i>) |
101 <b>E5NetworkIcon</b>(<i>parent=None</i>) |
|
102 |
84 <p> |
103 <p> |
85 Constructor |
104 Constructor |
86 </p><dl> |
105 </p> |
|
106 <dl> |
|
107 |
87 <dt><i>parent</i> (QWidget)</dt> |
108 <dt><i>parent</i> (QWidget)</dt> |
88 <dd> |
109 <dd> |
89 reference to the parent widget |
110 reference to the parent widget |
90 </dd> |
111 </dd> |
91 </dl><a NAME="E5NetworkIcon.__onlineStateChanged" ID="E5NetworkIcon.__onlineStateChanged"></a> |
112 </dl> |
|
113 <a NAME="E5NetworkIcon.__onlineStateChanged" ID="E5NetworkIcon.__onlineStateChanged"></a> |
92 <h4>E5NetworkIcon.__onlineStateChanged</h4> |
114 <h4>E5NetworkIcon.__onlineStateChanged</h4> |
93 <b>__onlineStateChanged</b>(<i>online</i>) |
115 <b>__onlineStateChanged</b>(<i>online</i>) |
|
116 |
94 <p> |
117 <p> |
95 Private slot handling online state changes. |
118 Private slot handling online state changes. |
96 </p><dl> |
119 </p> |
|
120 <dl> |
|
121 |
97 <dt><i>online</i> (bool)</dt> |
122 <dt><i>online</i> (bool)</dt> |
98 <dd> |
123 <dd> |
99 flag indicating the online status |
124 flag indicating the online status |
100 </dd> |
125 </dd> |
101 </dl><a NAME="E5NetworkIcon.isOnline" ID="E5NetworkIcon.isOnline"></a> |
126 </dl> |
|
127 <a NAME="E5NetworkIcon.isOnline" ID="E5NetworkIcon.isOnline"></a> |
102 <h4>E5NetworkIcon.isOnline</h4> |
128 <h4>E5NetworkIcon.isOnline</h4> |
103 <b>isOnline</b>(<i></i>) |
129 <b>isOnline</b>(<i></i>) |
|
130 |
104 <p> |
131 <p> |
105 Public method to get the online state. |
132 Public method to get the online state. |
106 </p><dl> |
133 </p> |
|
134 <dl> |
107 <dt>Returns:</dt> |
135 <dt>Returns:</dt> |
108 <dd> |
136 <dd> |
109 online state |
137 online state |
110 </dd> |
138 </dd> |
111 </dl><dl> |
139 </dl> |
|
140 <dl> |
112 <dt>Return Type:</dt> |
141 <dt>Return Type:</dt> |
113 <dd> |
142 <dd> |
114 bool |
143 bool |
115 </dd> |
144 </dd> |
116 </dl> |
145 </dl> |