Documentation/Source/eric5.E5Gui.E5LineEditButton.html

changeset 643
719db11dd4df
child 945
8cd4d08fa9f6
child 1278
fb0460fd00b9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.E5Gui.E5LineEditButton.html	Sun Sep 26 20:25:09 2010 +0200
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric5.E5Gui.E5LineEditButton</title>
+<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>eric5.E5Gui.E5LineEditButton</h1>
+<p>
+Module implementing a button class to be used with E5LineEdit.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#E5LineEditButton">E5LineEditButton</a></td>
+<td>Class implementing a button to be used with E5LineEdit.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="E5LineEditButton" ID="E5LineEditButton"></a>
+<h2>E5LineEditButton</h2>
+<p>
+    Class implementing a button to be used with E5LineEdit.
+</p>
+<h3>Derived from</h3>
+QAbstractButton
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#E5LineEditButton.__init__">E5LineEditButton</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#E5LineEditButton.__clicked">__clicked</a></td>
+<td>Private slot to handle a button click.</td>
+</tr><tr>
+<td><a href="#E5LineEditButton.menu">menu</a></td>
+<td>Public method to get a reference to the menu.</td>
+</tr><tr>
+<td><a href="#E5LineEditButton.paintEvent">paintEvent</a></td>
+<td>Protected method handling a paint event.</td>
+</tr><tr>
+<td><a href="#E5LineEditButton.setIcon">setIcon</a></td>
+<td>Public method to set the button icon.</td>
+</tr><tr>
+<td><a href="#E5LineEditButton.setMenu">setMenu</a></td>
+<td>Public method to set the button menu.</td>
+</tr>
+</table>
+<a NAME="E5LineEditButton.__init__" ID="E5LineEditButton.__init__"></a>
+<h4>E5LineEditButton (Constructor)</h4>
+<b>E5LineEditButton</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="E5LineEditButton.__clicked" ID="E5LineEditButton.__clicked"></a>
+<h4>E5LineEditButton.__clicked</h4>
+<b>__clicked</b>(<i></i>)
+<p>
+        Private slot to handle a button click.
+</p><a NAME="E5LineEditButton.menu" ID="E5LineEditButton.menu"></a>
+<h4>E5LineEditButton.menu</h4>
+<b>menu</b>(<i></i>)
+<p>
+        Public method to get a reference to the menu.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+reference to the associated menu (QMenu)
+</dd>
+</dl><a NAME="E5LineEditButton.paintEvent" ID="E5LineEditButton.paintEvent"></a>
+<h4>E5LineEditButton.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="E5LineEditButton.setIcon" ID="E5LineEditButton.setIcon"></a>
+<h4>E5LineEditButton.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="E5LineEditButton.setMenu" ID="E5LineEditButton.setMenu"></a>
+<h4>E5LineEditButton.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

eric ide

mercurial