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. |
replace | Public method to replace the current selection. |
replaceAll | Public method to replace all occurrences. |
replaceSearch | Public method to replace the current selection and search again. |
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.
Public method to replace the current selection.
Public method to replace all occurrences.
Public method to replace the current selection and search again.
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. |
__setFindNextEnabled | Private method to set the enabled state of "Find Next". |
__setFindPrevEnabled | Private method to set the enabled state of "Find Prev". |
__setReplaceAllEnabled | Private method to set the enabled state of "Replace All". |
__setReplaceAndSearchEnabled | Private method to set the enabled state of "Replace And Search". |
__setReplaceSelectionEnabled | Private method to set the enabled state of "Replace Occurrence". |
__setShortcuts | Private method to set the local action's shortcuts to the same key sequences as in the view manager. |
__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. |
replace | Public method to replace the current selection. |
replaceAll | Public method to replace all occurrences. |
replaceSearch | Public method to replace the current selection and search again. |
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 set the enabled state of "Find Next".
Private method to set the enabled state of "Find Prev".
Private method to set the enabled state of "Replace All".
Private method to set the enabled state of "Replace And Search".
Private method to set the enabled state of "Replace Occurrence".
Private method to set the local action's shortcuts to the same key sequences as in the view manager.
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 method to replace the current selection.
Public method to replace all occurrences.
Public method to replace the current selection and search again.
Public slot tracking changes of selected text.
Public slot to show the widget.
Public slot to update the selection check box.