diff -r 4e4c8ee38c45 -r 8a1d447323a2 src/eric7/Documentation/Source/eric7.EricWidgets.EricAutoResizeTextBrowser.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricAutoResizeTextBrowser.html Mon Sep 16 13:20:17 2024 +0200 @@ -0,0 +1,112 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.EricWidgets.EricAutoResizeTextBrowser</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.EricWidgets.EricAutoResizeTextBrowser</h1> +<p> +Module implementing a QTextBrowser widget that resizes automatically. +</p> + +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> + +<h3>Classes</h3> +<table> +<tr> +<td><a href="#EricAutoResizeTextBrowser">EricAutoResizeTextBrowser</a></td> +<td>Class implementing a QTextBrowser widget that adjusts its size automatically to the contained text.</td> +</tr> +</table> + +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> + +<hr /> +<hr /> +<a NAME="EricAutoResizeTextBrowser" ID="EricAutoResizeTextBrowser"></a> +<h2>EricAutoResizeTextBrowser</h2> +<p> + Class implementing a QTextBrowser widget that adjusts its size automatically to the + contained text. +</p> + +<h3>Derived from</h3> +QTextBrowser +<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="#EricAutoResizeTextBrowser.__init__">EricAutoResizeTextBrowser</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EricAutoResizeTextBrowser.resizeEvent">resizeEvent</a></td> +<td>Protected method to handle resize events.</td> +</tr> +<tr> +<td><a href="#EricAutoResizeTextBrowser.updateGeometry">updateGeometry</a></td> +<td>Public method to update the geometry depending on the current text.</td> +</tr> +</table> + +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + + +<a NAME="EricAutoResizeTextBrowser.__init__" ID="EricAutoResizeTextBrowser.__init__"></a> +<h4>EricAutoResizeTextBrowser (Constructor)</h4> +<b>EricAutoResizeTextBrowser</b>(<i>parent=None</i>) +<p> + Constructor +</p> + +<dl> + +<dt><i>parent</i> (QWidget (optional))</dt> +<dd> +reference to the parent widget (defaults to None) +</dd> +</dl> +<a NAME="EricAutoResizeTextBrowser.resizeEvent" ID="EricAutoResizeTextBrowser.resizeEvent"></a> +<h4>EricAutoResizeTextBrowser.resizeEvent</h4> +<b>resizeEvent</b>(<i>evt</i>) +<p> + Protected method to handle resize events. +</p> + +<dl> + +<dt><i>evt</i> (QResizeEvent)</dt> +<dd> +reference to the resize event +</dd> +</dl> +<a NAME="EricAutoResizeTextBrowser.updateGeometry" ID="EricAutoResizeTextBrowser.updateGeometry"></a> +<h4>EricAutoResizeTextBrowser.updateGeometry</h4> +<b>updateGeometry</b>(<i></i>) +<p> + Public method to update the geometry depending on the current text. +</p> + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html>