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