Documentation/Source/eric4.E4Gui.E4LineEdit.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.E4Gui.E4LineEdit</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.E4Gui.E4LineEdit</h1>
24 <p>
25 Module implementing specialized line edits.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#E4LineEdit">E4LineEdit</a></td>
35 <td>Class implementing a line edit widget showing some inactive text.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="E4LineEdit" ID="E4LineEdit"></a>
44 <h2>E4LineEdit</h2>
45 <p>
46 Class implementing a line edit widget showing some inactive text.
47 </p>
48 <h3>Derived from</h3>
49 QLineEdit
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#E4LineEdit.__init__">E4LineEdit</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#E4LineEdit.inactiveText">inactiveText</a></td>
61 <td>Public method to get the inactive text.</td>
62 </tr><tr>
63 <td><a href="#E4LineEdit.paintEvent">paintEvent</a></td>
64 <td>Protected method handling a paint event.</td>
65 </tr><tr>
66 <td><a href="#E4LineEdit.setInactiveText">setInactiveText</a></td>
67 <td>Public method to set the inactive text.</td>
68 </tr>
69 </table>
70 <a NAME="E4LineEdit.__init__" ID="E4LineEdit.__init__"></a>
71 <h4>E4LineEdit (Constructor)</h4>
72 <b>E4LineEdit</b>(<i>parent = None, inactiveText = ""</i>)
73 <p>
74 Constructor
75 </p><dl>
76 <dt><i>parent</i></dt>
77 <dd>
78 reference to the parent widget (QWidget)
79 </dd><dt><i>inactiveText</i></dt>
80 <dd>
81 text to be shown on inactivity (string)
82 </dd>
83 </dl><a NAME="E4LineEdit.inactiveText" ID="E4LineEdit.inactiveText"></a>
84 <h4>E4LineEdit.inactiveText</h4>
85 <b>inactiveText</b>(<i></i>)
86 <p>
87 Public method to get the inactive text.
88 </p><p>
89 return inactive text (string)
90 </p><a NAME="E4LineEdit.paintEvent" ID="E4LineEdit.paintEvent"></a>
91 <h4>E4LineEdit.paintEvent</h4>
92 <b>paintEvent</b>(<i>evt</i>)
93 <p>
94 Protected method handling a paint event.
95 </p><dl>
96 <dt><i>evt</i></dt>
97 <dd>
98 reference to the paint event (QPaintEvent)
99 </dd>
100 </dl><a NAME="E4LineEdit.setInactiveText" ID="E4LineEdit.setInactiveText"></a>
101 <h4>E4LineEdit.setInactiveText</h4>
102 <b>setInactiveText</b>(<i>inactiveText</i>)
103 <p>
104 Public method to set the inactive text.
105 </p><dl>
106 <dt><i>inactiveText</i></dt>
107 <dd>
108 text to be shown on inactivity (string)
109 </dd>
110 </dl>
111 <div align="right"><a href="#top">Up</a></div>
112 <hr />
113 </body></html>

eric ide

mercurial