Table of Contents

Class: SearchReplaceDialog ./QScintilla/SearchReplaceDialog.py

Class implementing the search and replace dialog.

Base Classes   
SearchReplaceForm
Methods   
__init__
enableFindButtons
handleFind
handleFindNext
handleReplace
handleReplaceAll
showFind
showReplace
  __init__ 
__init__ (
        self,
        replace,
        vm,
        parent=None,
        name=None,
        modal=0,
        fl=0,
        )

Constructor

Arguments

replace
flag indicating a replace dialog is called
vm
reference to the viewmanager object
parent
parent widget of this dialog (QWidget)
name
name of this dialog (string or QString)
moadl
flag indicating a modal dialog
fl
window flags
  enableFindButtons 
enableFindButtons ( self )

Private slot to enable/disable the find buttons.

  handleFind 
handleFind ( self )

Private slot to find the entered text in the displayed editor.

  handleFindNext 
handleFindNext ( self )

Public slot to find the next occurance of text.

  handleReplace 
handleReplace ( self )

Public slot to replace one occurance of text.

  handleReplaceAll 
handleReplaceAll ( self )

Public slot to replace all occurances of text.

  showFind 
showFind ( self,  text='' )

Public method to display this dialog in find mode.

Arguments

text
text to be shown in the findtext edit
  showReplace 
showReplace ( self,  text='' )

Public slot to display this dialog in replace mode.

Arguments

text
text to be shown in the findtext edit

Table of Contents

This document was automatically generated on Fri Mar 14 19:54:53 2003 by HappyDoc version 2.1