--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.EricWidgets.EricLineEditButton.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,180 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.EricWidgets.EricLineEditButton</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.EricWidgets.EricLineEditButton</h1> + +<p> +Module implementing a button class to be used with EricLineEdit. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EricLineEditButton">EricLineEditButton</a></td> +<td>Class implementing a button to be used with EricLineEdit.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EricLineEditButton" ID="EricLineEditButton"></a> +<h2>EricLineEditButton</h2> + +<p> + Class implementing a button to be used with EricLineEdit. +</p> +<h3>Derived from</h3> +QAbstractButton +<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="#EricLineEditButton.__init__">EricLineEditButton</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EricLineEditButton.__clicked">__clicked</a></td> +<td>Private slot to handle a button click.</td> +</tr> +<tr> +<td><a href="#EricLineEditButton.menu">menu</a></td> +<td>Public method to get a reference to the menu.</td> +</tr> +<tr> +<td><a href="#EricLineEditButton.paintEvent">paintEvent</a></td> +<td>Protected method handling a paint event.</td> +</tr> +<tr> +<td><a href="#EricLineEditButton.setIcon">setIcon</a></td> +<td>Public method to set the button icon.</td> +</tr> +<tr> +<td><a href="#EricLineEditButton.setMenu">setMenu</a></td> +<td>Public method to set the button menu.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EricLineEditButton.__init__" ID="EricLineEditButton.__init__"></a> +<h4>EricLineEditButton (Constructor)</h4> +<b>EricLineEditButton</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl> +<a NAME="EricLineEditButton.__clicked" ID="EricLineEditButton.__clicked"></a> +<h4>EricLineEditButton.__clicked</h4> +<b>__clicked</b>(<i></i>) + +<p> + Private slot to handle a button click. +</p> +<a NAME="EricLineEditButton.menu" ID="EricLineEditButton.menu"></a> +<h4>EricLineEditButton.menu</h4> +<b>menu</b>(<i></i>) + +<p> + Public method to get a reference to the menu. +</p> +<dl> +<dt>Return:</dt> +<dd> +reference to the associated menu (QMenu) +</dd> +</dl> +<a NAME="EricLineEditButton.paintEvent" ID="EricLineEditButton.paintEvent"></a> +<h4>EricLineEditButton.paintEvent</h4> +<b>paintEvent</b>(<i>evt</i>) + +<p> + Protected method handling a paint event. +</p> +<dl> + +<dt><i>evt</i></dt> +<dd> +reference to the paint event (QPaintEvent) +</dd> +</dl> +<a NAME="EricLineEditButton.setIcon" ID="EricLineEditButton.setIcon"></a> +<h4>EricLineEditButton.setIcon</h4> +<b>setIcon</b>(<i>icon</i>) + +<p> + Public method to set the button icon. +</p> +<dl> + +<dt><i>icon</i></dt> +<dd> +icon to be set (QIcon) +</dd> +</dl> +<a NAME="EricLineEditButton.setMenu" ID="EricLineEditButton.setMenu"></a> +<h4>EricLineEditButton.setMenu</h4> +<b>setMenu</b>(<i>menu</i>) + +<p> + Public method to set the button menu. +</p> +<dl> + +<dt><i>menu</i></dt> +<dd> +reference to the menu (QMenu) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file