--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.WebBrowser.Navigation.ReloadStopButton.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,150 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.WebBrowser.Navigation.ReloadStopButton</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.WebBrowser.Navigation.ReloadStopButton</h1> + +<p> +Module implementing a button alternating between reload and stop. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#ReloadStopButton">ReloadStopButton</a></td> +<td>Class implementing a button alternating between reload and stop.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="ReloadStopButton" ID="ReloadStopButton"></a> +<h2>ReloadStopButton</h2> + +<p> + Class implementing a button alternating between reload and stop. +</p> +<h3>Signals</h3> +<dl> + +<dt>reloadClicked()</dt> +<dd> +emitted to initiate a reload action +</dd> +<dt>stopClicked()</dt> +<dd> +emitted to initiate a stop action +</dd> +</dl> +<h3>Derived from</h3> +EricToolButton +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#ReloadStopButton.__init__">ReloadStopButton</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#ReloadStopButton.__buttonClicked">__buttonClicked</a></td> +<td>Private slot handling a user clicking the button.</td> +</tr> +<tr> +<td><a href="#ReloadStopButton.__updateButton">__updateButton</a></td> +<td>Private slot to update the button.</td> +</tr> +<tr> +<td><a href="#ReloadStopButton.setLoading">setLoading</a></td> +<td>Public method to set the loading state.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="ReloadStopButton.__init__" ID="ReloadStopButton.__init__"></a> +<h4>ReloadStopButton (Constructor)</h4> +<b>ReloadStopButton</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="ReloadStopButton.__buttonClicked" ID="ReloadStopButton.__buttonClicked"></a> +<h4>ReloadStopButton.__buttonClicked</h4> +<b>__buttonClicked</b>(<i></i>) + +<p> + Private slot handling a user clicking the button. +</p> +<a NAME="ReloadStopButton.__updateButton" ID="ReloadStopButton.__updateButton"></a> +<h4>ReloadStopButton.__updateButton</h4> +<b>__updateButton</b>(<i></i>) + +<p> + Private slot to update the button. +</p> +<a NAME="ReloadStopButton.setLoading" ID="ReloadStopButton.setLoading"></a> +<h4>ReloadStopButton.setLoading</h4> +<b>setLoading</b>(<i>loading</i>) + +<p> + Public method to set the loading state. +</p> +<dl> + +<dt><i>loading</i> (bool)</dt> +<dd> +flag indicating the new loading state +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file