Documentation/Source/eric5.E5Gui.E5LineEdit.html

Mon, 26 Jul 2010 19:59:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Jul 2010 19:59:27 +0200
changeset 409
0ea528e80202
parent 58
37f0444c3479
child 440
69ace3e2dcf6
permissions
-rw-r--r--

Added another style for the source docu.

<?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.E5LineEdit</title>
<style>
body {
    background: white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: black; background: #C1BBA4; }
h4 { color: black; background: #C1BBA4; }
    
a { color: #C07037; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.E5Gui.E5LineEdit</h1>
<p>
Module implementing specialized line edits. 
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#E5LineEdit">E5LineEdit</a></td>
<td>Class implementing a line edit widget showing some inactive text.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="E5LineEdit" ID="E5LineEdit"></a>
<h2>E5LineEdit</h2>
<p>
    Class implementing a line edit widget showing some inactive text.
</p>
<h3>Derived from</h3>
QLineEdit
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#E5LineEdit.__init__">E5LineEdit</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#E5LineEdit.inactiveText">inactiveText</a></td>
<td>Public method to get the inactive text.</td>
</tr><tr>
<td><a href="#E5LineEdit.paintEvent">paintEvent</a></td>
<td>Protected method handling a paint event.</td>
</tr><tr>
<td><a href="#E5LineEdit.setInactiveText">setInactiveText</a></td>
<td>Public method to set the inactive text.</td>
</tr>
</table>
<a NAME="E5LineEdit.__init__" ID="E5LineEdit.__init__"></a>
<h4>E5LineEdit (Constructor)</h4>
<b>E5LineEdit</b>(<i>parent = None, inactiveText = ""</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd><dt><i>inactiveText</i></dt>
<dd>
text to be shown on inactivity (string)
</dd>
</dl><a NAME="E5LineEdit.inactiveText" ID="E5LineEdit.inactiveText"></a>
<h4>E5LineEdit.inactiveText</h4>
<b>inactiveText</b>(<i></i>)
<p>
        Public method to get the inactive text.
</p><p>
        return inactive text (string)
</p><a NAME="E5LineEdit.paintEvent" ID="E5LineEdit.paintEvent"></a>
<h4>E5LineEdit.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="E5LineEdit.setInactiveText" ID="E5LineEdit.setInactiveText"></a>
<h4>E5LineEdit.setInactiveText</h4>
<b>setInactiveText</b>(<i>inactiveText</i>)
<p>
        Public method to set the inactive text.
</p><dl>
<dt><i>inactiveText</i></dt>
<dd>
text to be shown on inactivity (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial