5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.Navigation.ReloadStopButton</h1> |
9 <h1>eric7.WebBrowser.Navigation.ReloadStopButton</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a button alternating between reload and stop. |
11 Module implementing a button alternating between reload and stop. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#ReloadStopButton">ReloadStopButton</a></td> |
22 <td><a href="#ReloadStopButton">ReloadStopButton</a></td> |
25 <td>Class implementing a button alternating between reload and stop.</td> |
23 <td>Class implementing a button alternating between reload and stop.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="ReloadStopButton" ID="ReloadStopButton"></a> |
34 <a NAME="ReloadStopButton" ID="ReloadStopButton"></a> |
36 <h2>ReloadStopButton</h2> |
35 <h2>ReloadStopButton</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a button alternating between reload and stop. |
37 Class implementing a button alternating between reload and stop. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Signals</h3> |
40 <h3>Signals</h3> |
42 <dl> |
41 <dl> |
43 |
42 |
44 <dt>reloadClicked()</dt> |
43 <dt>reloadClicked()</dt> |
45 <dd> |
44 <dd> |
51 </dd> |
50 </dd> |
52 </dl> |
51 </dl> |
53 <h3>Derived from</h3> |
52 <h3>Derived from</h3> |
54 EricToolButton |
53 EricToolButton |
55 <h3>Class Attributes</h3> |
54 <h3>Class Attributes</h3> |
56 |
|
57 <table> |
55 <table> |
58 <tr><td>None</td></tr> |
56 <tr><td>None</td></tr> |
59 </table> |
57 </table> |
|
58 |
60 <h3>Class Methods</h3> |
59 <h3>Class Methods</h3> |
61 |
|
62 <table> |
60 <table> |
63 <tr><td>None</td></tr> |
61 <tr><td>None</td></tr> |
64 </table> |
62 </table> |
|
63 |
65 <h3>Methods</h3> |
64 <h3>Methods</h3> |
66 |
|
67 <table> |
65 <table> |
68 |
|
69 <tr> |
66 <tr> |
70 <td><a href="#ReloadStopButton.__init__">ReloadStopButton</a></td> |
67 <td><a href="#ReloadStopButton.__init__">ReloadStopButton</a></td> |
71 <td>Constructor</td> |
68 <td>Constructor</td> |
72 </tr> |
69 </tr> |
73 <tr> |
70 <tr> |
81 <tr> |
78 <tr> |
82 <td><a href="#ReloadStopButton.setLoading">setLoading</a></td> |
79 <td><a href="#ReloadStopButton.setLoading">setLoading</a></td> |
83 <td>Public method to set the loading state.</td> |
80 <td>Public method to set the loading state.</td> |
84 </tr> |
81 </tr> |
85 </table> |
82 </table> |
|
83 |
86 <h3>Static Methods</h3> |
84 <h3>Static Methods</h3> |
87 |
|
88 <table> |
85 <table> |
89 <tr><td>None</td></tr> |
86 <tr><td>None</td></tr> |
90 </table> |
87 </table> |
91 |
88 |
|
89 |
92 <a NAME="ReloadStopButton.__init__" ID="ReloadStopButton.__init__"></a> |
90 <a NAME="ReloadStopButton.__init__" ID="ReloadStopButton.__init__"></a> |
93 <h4>ReloadStopButton (Constructor)</h4> |
91 <h4>ReloadStopButton (Constructor)</h4> |
94 <b>ReloadStopButton</b>(<i>parent=None</i>) |
92 <b>ReloadStopButton</b>(<i>parent=None</i>) |
95 |
|
96 <p> |
93 <p> |
97 Constructor |
94 Constructor |
98 </p> |
95 </p> |
|
96 |
99 <dl> |
97 <dl> |
100 |
98 |
101 <dt><i>parent</i> (QWidget)</dt> |
99 <dt><i>parent</i> (QWidget)</dt> |
102 <dd> |
100 <dd> |
103 reference to the parent widget |
101 reference to the parent widget |
104 </dd> |
102 </dd> |
105 </dl> |
103 </dl> |
106 <a NAME="ReloadStopButton.__buttonClicked" ID="ReloadStopButton.__buttonClicked"></a> |
104 <a NAME="ReloadStopButton.__buttonClicked" ID="ReloadStopButton.__buttonClicked"></a> |
107 <h4>ReloadStopButton.__buttonClicked</h4> |
105 <h4>ReloadStopButton.__buttonClicked</h4> |
108 <b>__buttonClicked</b>(<i></i>) |
106 <b>__buttonClicked</b>(<i></i>) |
109 |
|
110 <p> |
107 <p> |
111 Private slot handling a user clicking the button. |
108 Private slot handling a user clicking the button. |
112 </p> |
109 </p> |
|
110 |
113 <a NAME="ReloadStopButton.__updateButton" ID="ReloadStopButton.__updateButton"></a> |
111 <a NAME="ReloadStopButton.__updateButton" ID="ReloadStopButton.__updateButton"></a> |
114 <h4>ReloadStopButton.__updateButton</h4> |
112 <h4>ReloadStopButton.__updateButton</h4> |
115 <b>__updateButton</b>(<i></i>) |
113 <b>__updateButton</b>(<i></i>) |
116 |
|
117 <p> |
114 <p> |
118 Private slot to update the button. |
115 Private slot to update the button. |
119 </p> |
116 </p> |
|
117 |
120 <a NAME="ReloadStopButton.setLoading" ID="ReloadStopButton.setLoading"></a> |
118 <a NAME="ReloadStopButton.setLoading" ID="ReloadStopButton.setLoading"></a> |
121 <h4>ReloadStopButton.setLoading</h4> |
119 <h4>ReloadStopButton.setLoading</h4> |
122 <b>setLoading</b>(<i>loading</i>) |
120 <b>setLoading</b>(<i>loading</i>) |
123 |
|
124 <p> |
121 <p> |
125 Public method to set the loading state. |
122 Public method to set the loading state. |
126 </p> |
123 </p> |
|
124 |
127 <dl> |
125 <dl> |
128 |
126 |
129 <dt><i>loading</i> (bool)</dt> |
127 <dt><i>loading</i> (bool)</dt> |
130 <dd> |
128 <dd> |
131 flag indicating the new loading state |
129 flag indicating the new loading state |