--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OllamaInterface/Documentation/Source/Plugin_AI_Ollama.OllamaInterface.AutoResizeTextBrowser.html Thu Aug 29 13:15:36 2024 +0200 @@ -0,0 +1,111 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_AI_Ollama.OllamaInterface.AutoResizeTextBrowser</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>Plugin_AI_Ollama.OllamaInterface.AutoResizeTextBrowser</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="#AutoResizeTextBrowser">AutoResizeTextBrowser</a></td> +<td>Class implementing a QTextBrowser widget that resizes automatically.</td> +</tr> +</table> + +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> + +<hr /> +<hr /> +<a NAME="AutoResizeTextBrowser" ID="AutoResizeTextBrowser"></a> +<h2>AutoResizeTextBrowser</h2> +<p> + Class implementing a QTextBrowser widget that resizes automatically. +</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="#AutoResizeTextBrowser.__init__">AutoResizeTextBrowser</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#AutoResizeTextBrowser.resizeEvent">resizeEvent</a></td> +<td>Protected method to handle resize events.</td> +</tr> +<tr> +<td><a href="#AutoResizeTextBrowser.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="AutoResizeTextBrowser.__init__" ID="AutoResizeTextBrowser.__init__"></a> +<h4>AutoResizeTextBrowser (Constructor)</h4> +<b>AutoResizeTextBrowser</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="AutoResizeTextBrowser.resizeEvent" ID="AutoResizeTextBrowser.resizeEvent"></a> +<h4>AutoResizeTextBrowser.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="AutoResizeTextBrowser.updateGeometry" ID="AutoResizeTextBrowser.updateGeometry"></a> +<h4>AutoResizeTextBrowser.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>