eric6/Documentation/Source/eric6.E5Gui.E5TextEditSearchWidget.html

changeset 8268
6b8128e0c9d1
parent 7989
a21d673a8f99
equal deleted inserted replaced
8267:6baca884c73a 8268:6b8128e0c9d1
36 36
37 <tr> 37 <tr>
38 <td><a href="#E5TextEditSearchWidget">E5TextEditSearchWidget</a></td> 38 <td><a href="#E5TextEditSearchWidget">E5TextEditSearchWidget</a></td>
39 <td>Class implementing a horizontal search widget for QTextEdit.</td> 39 <td>Class implementing a horizontal search widget for QTextEdit.</td>
40 </tr> 40 </tr>
41 <tr>
42 <td><a href="#E5TextEditType">E5TextEditType</a></td>
43 <td>Class defining the supported text edit types.</td>
44 </tr>
41 </table> 45 </table>
42 <h3>Functions</h3> 46 <h3>Functions</h3>
43 47
44 <table> 48 <table>
45 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
294 flag indicating to prefer width for height 298 flag indicating to prefer width for height
295 </dd> 299 </dd>
296 </dl> 300 </dl>
297 <a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a> 301 <a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a>
298 <h4>E5TextEditSearchWidget.attachTextEdit</h4> 302 <h4>E5TextEditSearchWidget.attachTextEdit</h4>
299 <b>attachTextEdit</b>(<i>textedit, editType="QTextEdit"</i>) 303 <b>attachTextEdit</b>(<i>textedit, editType=E5TextEditType.QTEXTEDIT</i>)
300 304
301 <p> 305 <p>
302 Public method to attach a QTextEdit widget. 306 Public method to attach a QTextEdit widget.
303 </p> 307 </p>
304 <dl> 308 <dl>
305 309
306 <dt><i>textedit</i> (QTextEdit, QWebEngineView or QWebView)</dt> 310 <dt><i>textedit</i> (QTextEdit, QWebEngineView or QWebView)</dt>
307 <dd> 311 <dd>
308 reference to the edit widget to be attached 312 reference to the edit widget to be attached
309 </dd> 313 </dd>
310 <dt><i>editType</i> (str (one of "QTextEdit", "QWebEngineView" or "QWebView"))</dt> 314 <dt><i>editType</i> (E5TextEditType)</dt>
311 <dd> 315 <dd>
312 type of the attached edit widget 316 type of the attached edit widget
313 </dd>
314 </dl>
315 <dl>
316
317 <dt>Raises <b>ValueError</b>:</dt>
318 <dd>
319 raised to indicate a bad parameter value
320 </dd> 317 </dd>
321 </dl> 318 </dl>
322 <a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a> 319 <a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a>
323 <h4>E5TextEditSearchWidget.keyPressEvent</h4> 320 <h4>E5TextEditSearchWidget.keyPressEvent</h4>
324 <b>keyPressEvent</b>(<i>event</i>) 321 <b>keyPressEvent</b>(<i>event</i>)
375 flag indicating to prefer width 372 flag indicating to prefer width
376 </dd> 373 </dd>
377 </dl> 374 </dl>
378 <div align="right"><a href="#top">Up</a></div> 375 <div align="right"><a href="#top">Up</a></div>
379 <hr /> 376 <hr />
377 <hr />
378 <a NAME="E5TextEditType" ID="E5TextEditType"></a>
379 <h2>E5TextEditType</h2>
380
381 <p>
382 Class defining the supported text edit types.
383 </p>
384 <h3>Derived from</h3>
385 enum.Enum
386 <h3>Class Attributes</h3>
387
388 <table>
389 <tr><td>QTEXTBROWSER</td></tr><tr><td>QTEXTEDIT</td></tr><tr><td>QWEBENGINEVIEW</td></tr><tr><td>UNKNOWN</td></tr>
390 </table>
391 <h3>Class Methods</h3>
392
393 <table>
394 <tr><td>None</td></tr>
395 </table>
396 <h3>Methods</h3>
397
398 <table>
399 <tr><td>None</td></tr>
400 </table>
401 <h3>Static Methods</h3>
402
403 <table>
404 <tr><td>None</td></tr>
405 </table>
406
407 <div align="right"><a href="#top">Up</a></div>
408 <hr />
380 </body></html> 409 </body></html>

eric ide

mercurial