Documentation/Source/eric5.E5Gui.E5LineEdit.html

changeset 3018
70924c0bdaf1
parent 2966
f85f686981ad
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3017:6a8cb7632448 3018:70924c0bdaf1
46 </table> 46 </table>
47 <hr /><hr /> 47 <hr /><hr />
48 <a NAME="E5ClearableLineEdit" ID="E5ClearableLineEdit"></a> 48 <a NAME="E5ClearableLineEdit" ID="E5ClearableLineEdit"></a>
49 <h2>E5ClearableLineEdit</h2> 49 <h2>E5ClearableLineEdit</h2>
50 <p> 50 <p>
51 Class implementing a line edit widget showing some inactive text and a clear button, 51 Class implementing a line edit widget showing some inactive text and a
52 if it has some contents. 52 clear button, if it has some contents.
53 </p> 53 </p>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 E5LineEdit 55 E5LineEdit
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
57 <table> 57 <table>
87 </dd><dt><i>inactiveText=</i></dt> 87 </dd><dt><i>inactiveText=</i></dt>
88 <dd> 88 <dd>
89 text to be shown on inactivity (string) 89 text to be shown on inactivity (string)
90 </dd><dt><i>side=</i></dt> 90 </dd><dt><i>side=</i></dt>
91 <dd> 91 <dd>
92 side the clear button should be shown at (E5LineEdit.RightSide, 92 side the clear button should be shown at
93 E5LineEdit.LeftSide) 93 (E5LineEdit.RightSide, E5LineEdit.LeftSide)
94 </dd> 94 </dd>
95 </dl><a NAME="E5ClearableLineEdit.__textChanged" ID="E5ClearableLineEdit.__textChanged"></a> 95 </dl><a NAME="E5ClearableLineEdit.__textChanged" ID="E5ClearableLineEdit.__textChanged"></a>
96 <h4>E5ClearableLineEdit.__textChanged</h4> 96 <h4>E5ClearableLineEdit.__textChanged</h4>
97 <b>__textChanged</b>(<i>txt</i>) 97 <b>__textChanged</b>(<i>txt</i>)
98 <p> 98 <p>
194 <dt><i>widget</i></dt> 194 <dt><i>widget</i></dt>
195 <dd> 195 <dd>
196 reference to the widget to add (QWidget) 196 reference to the widget to add (QWidget)
197 </dd><dt><i>position</i></dt> 197 </dd><dt><i>position</i></dt>
198 <dd> 198 <dd>
199 position to add to (E5LineEdit.LeftSide, E5LineEdit.RightSide) 199 position to add to (E5LineEdit.LeftSide,
200 E5LineEdit.RightSide)
200 </dd> 201 </dd>
201 </dl><a NAME="E5LineEdit.event" ID="E5LineEdit.event"></a> 202 </dl><a NAME="E5LineEdit.event" ID="E5LineEdit.event"></a>
202 <h4>E5LineEdit.event</h4> 203 <h4>E5LineEdit.event</h4>
203 <b>event</b>(<i>evt</i>) 204 <b>event</b>(<i>evt</i>)
204 <p> 205 <p>
289 <p> 290 <p>
290 Public method to get the text margin for a side. 291 Public method to get the text margin for a side.
291 </p><dl> 292 </p><dl>
292 <dt><i>position</i></dt> 293 <dt><i>position</i></dt>
293 <dd> 294 <dd>
294 side to get margin for (E5LineEdit.LeftSide, E5LineEdit.RightSide) 295 side to get margin for (E5LineEdit.LeftSide,
296 E5LineEdit.RightSide)
295 </dd> 297 </dd>
296 </dl><dl> 298 </dl><dl>
297 <dt>Returns:</dt> 299 <dt>Returns:</dt>
298 <dd> 300 <dd>
299 text margin (integer) 301 text margin (integer)

eric ide

mercurial