Module implementing a horizontal search widget for QTextEdit.
None |
EricTextEditSearchWidget | Class implementing a horizontal search widget for QTextEdit. |
EricTextEditType | Class defining the supported text edit types. |
None |
Class implementing a horizontal search widget for QTextEdit.
None |
None |
EricTextEditSearchWidget | Constructor |
__addWidthForHeightLayout | Private method to set the middle part of the layout. |
__closeButtonClicked | Private slot to close the widget. |
__find | Private method to search the associated text edit. |
__findByReturnPressed | Private slot to handle the returnPressed signal of the findtext combobox. |
__findPrevNextQTextEdit | Private method to to search the associated edit widget of type QTextEdit. |
__findPrevNextQWebEngineView | Private method to to search the associated edit widget of type QWebEngineView. |
__findTextFinished | Private slot handling the findTextFinished signal of the web page. |
__setFindtextComboBackground | Private slot to change the findtext combo background to indicate errors. |
__setSearchButtons | Private slot to set the state of the search buttons. |
__setupUi | Private method to generate the UI. |
activate | Public slot to activate the widget. |
attachTextEdit | Public method to attach a QTextEdit or QWebEngineView widget. |
deactivate | Public slot to deactivate the widget. |
detachTextEdit | Public method to detach the current text edit. |
findNext | Public slot to find the next occurrence of the current search term. |
findPrev | Public slot to find the previous occurrence of the current search term. |
keyPressEvent | Protected slot to handle key press events. |
on_findNextButton_clicked | Private slot to find the next occurrence. |
on_findPrevButton_clicked | Private slot to find the previous occurrence. |
on_findtextCombo_editTextChanged | Private slot to enable/disable the find buttons. |
setWidthForHeight | Public method to set the 'width for height'. |
showInfo | Public method to show some information in the info label. |
None |
Constructor
Private method to set the middle part of the layout.
Private slot to close the widget.
Note: The widget is just hidden.
Private method to search the associated text edit.
Private slot to handle the returnPressed signal of the findtext combobox.
Private method to to search the associated edit widget of type QTextEdit.
Private method to to search the associated edit widget of type QWebEngineView.
Private slot handling the findTextFinished signal of the web page.
Private slot to change the findtext combo background to indicate errors.
Private slot to set the state of the search buttons.
Private method to generate the UI.
Public slot to activate the widget.
Public method to attach a QTextEdit or QWebEngineView widget.
Public slot to deactivate the widget.
Public method to detach the current text edit.
Public slot to find the next occurrence of the current search term.
Public slot to find the previous occurrence of the current search term.
Protected slot to handle key press events.
Private slot to find the next occurrence.
Private slot to find the previous occurrence.
Private slot to enable/disable the find buttons.
Public method to set the 'width for height'.
Public method to show some information in the info label.
Class defining the supported text edit types.
QTEXTBROWSER |
QTEXTEDIT |
QWEBENGINEVIEW |
UNKNOWN |
None |
None |
None |