|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.Navigation.ReloadStopButton</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.WebBrowser.Navigation.ReloadStopButton</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a button alternating between reload and stop. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#ReloadStopButton">ReloadStopButton</a></td> |
|
39 <td>Class implementing a button alternating between reload and stop.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="ReloadStopButton" ID="ReloadStopButton"></a> |
|
50 <h2>ReloadStopButton</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a button alternating between reload and stop. |
|
54 </p> |
|
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
|
58 <dt>reloadClicked()</dt> |
|
59 <dd> |
|
60 emitted to initiate a reload action |
|
61 </dd> |
|
62 <dt>stopClicked()</dt> |
|
63 <dd> |
|
64 emitted to initiate a stop action |
|
65 </dd> |
|
66 </dl> |
|
67 <h3>Derived from</h3> |
|
68 EricToolButton |
|
69 <h3>Class Attributes</h3> |
|
70 |
|
71 <table> |
|
72 <tr><td>None</td></tr> |
|
73 </table> |
|
74 <h3>Class Methods</h3> |
|
75 |
|
76 <table> |
|
77 <tr><td>None</td></tr> |
|
78 </table> |
|
79 <h3>Methods</h3> |
|
80 |
|
81 <table> |
|
82 |
|
83 <tr> |
|
84 <td><a href="#ReloadStopButton.__init__">ReloadStopButton</a></td> |
|
85 <td>Constructor</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#ReloadStopButton.__buttonClicked">__buttonClicked</a></td> |
|
89 <td>Private slot handling a user clicking the button.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#ReloadStopButton.__updateButton">__updateButton</a></td> |
|
93 <td>Private slot to update the button.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#ReloadStopButton.setLoading">setLoading</a></td> |
|
97 <td>Public method to set the loading state.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 |
|
102 <table> |
|
103 <tr><td>None</td></tr> |
|
104 </table> |
|
105 |
|
106 <a NAME="ReloadStopButton.__init__" ID="ReloadStopButton.__init__"></a> |
|
107 <h4>ReloadStopButton (Constructor)</h4> |
|
108 <b>ReloadStopButton</b>(<i>parent=None</i>) |
|
109 |
|
110 <p> |
|
111 Constructor |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>parent</i> (QWidget)</dt> |
|
116 <dd> |
|
117 reference to the parent widget |
|
118 </dd> |
|
119 </dl> |
|
120 <a NAME="ReloadStopButton.__buttonClicked" ID="ReloadStopButton.__buttonClicked"></a> |
|
121 <h4>ReloadStopButton.__buttonClicked</h4> |
|
122 <b>__buttonClicked</b>(<i></i>) |
|
123 |
|
124 <p> |
|
125 Private slot handling a user clicking the button. |
|
126 </p> |
|
127 <a NAME="ReloadStopButton.__updateButton" ID="ReloadStopButton.__updateButton"></a> |
|
128 <h4>ReloadStopButton.__updateButton</h4> |
|
129 <b>__updateButton</b>(<i></i>) |
|
130 |
|
131 <p> |
|
132 Private slot to update the button. |
|
133 </p> |
|
134 <a NAME="ReloadStopButton.setLoading" ID="ReloadStopButton.setLoading"></a> |
|
135 <h4>ReloadStopButton.setLoading</h4> |
|
136 <b>setLoading</b>(<i>loading</i>) |
|
137 |
|
138 <p> |
|
139 Public method to set the loading state. |
|
140 </p> |
|
141 <dl> |
|
142 |
|
143 <dt><i>loading</i> (bool)</dt> |
|
144 <dd> |
|
145 flag indicating the new loading state |
|
146 </dd> |
|
147 </dl> |
|
148 <div align="right"><a href="#top">Up</a></div> |
|
149 <hr /> |
|
150 </body></html> |