Module implementing the search and replace widget.
None |
SearchReplaceSlidingWidget | Class implementing the search and replace widget with sliding behavior. |
SearchReplaceWidget | Class implementing the search and replace widget. |
None |
Class implementing the search and replace widget with sliding behavior.
None |
None |
SearchReplaceSlidingWidget | Constructor |
__enableScrollerButtons | Private method to set the enabled state of the scroll buttons. |
__slide | Private method to move the sliding widget. |
__slideLeft | Private slot to move the widget to the left, i.e. |
__slideRight | Private slot to move the widget to the right, i.e. |
changeEvent | Protected method handling state changes. |
findNext | Public slot to find the next occurrence of text. |
findPrev | Public slot to find the next previous of text. |
resizeEvent | Protected method to handle resize events. |
selectionChanged | Public slot tracking changes of selected text. |
show | Public slot to show the widget. |
updateSelectionCheckBox | Public slot to update the selection check box. |
None |
Constructor
Private method to set the enabled state of the scroll buttons.
Private method to move the sliding widget.
Private slot to move the widget to the left, i.e. show contents to the right.
Private slot to move the widget to the right, i.e. show contents to the left.
Protected method handling state changes.
Public slot to find the next occurrence of text.
Public slot to find the next previous of text.
Protected method to handle resize events.
Public slot tracking changes of selected text.
Public slot to show the widget.
Public slot to update the selection check box.
Class implementing the search and replace widget.
None |
None |
SearchReplaceWidget | Constructor |
__doReplace | Private method to replace one occurrence of text. |
__findByReturnPressed | Private slot to handle the returnPressed signal of the findtext combobox. |
__findNextPrev | Private method to find the next occurrence of the search text. |
__markOccurrences | Private method to mark all occurrences of the search text. |
__selectionBoundary | Private method to calculate the current selection boundary. |
__showFind | Private method to display this widget in find mode. |
__showReplace | Private slot to display this widget in replace mode. |
changeEvent | Protected method handling state changes. |
findNext | Public slot to find the next occurrence of text. |
findPrev | Public slot to find the next previous of text. |
keyPressEvent | Protected slot to handle key press events. |
on_closeButton_clicked | Private slot to close the widget. |
on_findNextButton_clicked | Private slot to find the next occurrence of text. |
on_findPrevButton_clicked | Private slot to find the previous occurrence of text. |
on_findtextCombo_editTextChanged | Private slot to enable/disable the find buttons. |
on_replaceAllButton_clicked | Private slot to replace all occurrences of text. |
on_replaceButton_clicked | Private slot to replace one occurrence of text. |
on_replaceSearchButton_clicked | Private slot to replace one occurrence of text and search for the next one. |
selectionChanged | Public slot tracking changes of selected text. |
show | Public slot to show the widget. |
updateSelectionCheckBox | Public slot to update the selection check box. |
None |
Constructor
Private method to replace one occurrence of text.
Private slot to handle the returnPressed signal of the findtext combobox.
Private method to find the next occurrence of the search text.
Private method to mark all occurrences of the search text.
Private method to calculate the current selection boundary.
Private method to display this widget in find mode.
Private slot to display this widget in replace mode.
Protected method handling state changes.
Public slot to find the next occurrence of text.
Public slot to find the next previous of text.
Protected slot to handle key press events.
Private slot to close the widget.
Private slot to find the next occurrence of text.
Private slot to find the previous occurrence of text.
Private slot to enable/disable the find buttons.
Private slot to replace all occurrences of text.
Private slot to replace one occurrence of text.
Private slot to replace one occurrence of text and search for the next one.
Public slot tracking changes of selected text.
Public slot to show the widget.
Public slot to update the selection check box.