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