|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.Navigation.ReloadStopButton</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.WebBrowser.Navigation.ReloadStopButton</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a button alternating between reload and stop. |
|
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="#ReloadStopButton">ReloadStopButton</a></td> |
|
25 <td>Class implementing a button alternating between reload and stop.</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="ReloadStopButton" ID="ReloadStopButton"></a> |
|
36 <h2>ReloadStopButton</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a button alternating between reload and stop. |
|
40 </p> |
|
41 <h3>Signals</h3> |
|
42 <dl> |
|
43 |
|
44 <dt>reloadClicked()</dt> |
|
45 <dd> |
|
46 emitted to initiate a reload action |
|
47 </dd> |
|
48 <dt>stopClicked()</dt> |
|
49 <dd> |
|
50 emitted to initiate a stop action |
|
51 </dd> |
|
52 </dl> |
|
53 <h3>Derived from</h3> |
|
54 EricToolButton |
|
55 <h3>Class Attributes</h3> |
|
56 |
|
57 <table> |
|
58 <tr><td>None</td></tr> |
|
59 </table> |
|
60 <h3>Class Methods</h3> |
|
61 |
|
62 <table> |
|
63 <tr><td>None</td></tr> |
|
64 </table> |
|
65 <h3>Methods</h3> |
|
66 |
|
67 <table> |
|
68 |
|
69 <tr> |
|
70 <td><a href="#ReloadStopButton.__init__">ReloadStopButton</a></td> |
|
71 <td>Constructor</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#ReloadStopButton.__buttonClicked">__buttonClicked</a></td> |
|
75 <td>Private slot handling a user clicking the button.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#ReloadStopButton.__updateButton">__updateButton</a></td> |
|
79 <td>Private slot to update the button.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#ReloadStopButton.setLoading">setLoading</a></td> |
|
83 <td>Public method to set the loading state.</td> |
|
84 </tr> |
|
85 </table> |
|
86 <h3>Static Methods</h3> |
|
87 |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 |
|
92 <a NAME="ReloadStopButton.__init__" ID="ReloadStopButton.__init__"></a> |
|
93 <h4>ReloadStopButton (Constructor)</h4> |
|
94 <b>ReloadStopButton</b>(<i>parent=None</i>) |
|
95 |
|
96 <p> |
|
97 Constructor |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>parent</i> (QWidget)</dt> |
|
102 <dd> |
|
103 reference to the parent widget |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="ReloadStopButton.__buttonClicked" ID="ReloadStopButton.__buttonClicked"></a> |
|
107 <h4>ReloadStopButton.__buttonClicked</h4> |
|
108 <b>__buttonClicked</b>(<i></i>) |
|
109 |
|
110 <p> |
|
111 Private slot handling a user clicking the button. |
|
112 </p> |
|
113 <a NAME="ReloadStopButton.__updateButton" ID="ReloadStopButton.__updateButton"></a> |
|
114 <h4>ReloadStopButton.__updateButton</h4> |
|
115 <b>__updateButton</b>(<i></i>) |
|
116 |
|
117 <p> |
|
118 Private slot to update the button. |
|
119 </p> |
|
120 <a NAME="ReloadStopButton.setLoading" ID="ReloadStopButton.setLoading"></a> |
|
121 <h4>ReloadStopButton.setLoading</h4> |
|
122 <b>setLoading</b>(<i>loading</i>) |
|
123 |
|
124 <p> |
|
125 Public method to set the loading state. |
|
126 </p> |
|
127 <dl> |
|
128 |
|
129 <dt><i>loading</i> (bool)</dt> |
|
130 <dd> |
|
131 flag indicating the new loading state |
|
132 </dd> |
|
133 </dl> |
|
134 <div align="right"><a href="#top">Up</a></div> |
|
135 <hr /> |
|
136 </body></html> |