QCodeEdit  2.2
List of all members
QSearchReplacePanel Class Reference

A panel that provide inline search/replace functionalities. More...

Inheritance diagram for QSearchReplacePanel:
Inheritance graph
[legend]
 QSearchReplacePanel (QWidget *p=0)
 Constructor.
 
virtual ~QSearchReplacePanel ()
 Empty destructor.
 
virtual QString type () const
 
void display (int mode, bool replace)
 
void find (int backward=-1)
 
virtual bool forward (QMouseEvent *e)
 
virtual void editorChange (QEditor *e)
 Callback. More...
 
virtual bool eventFilter (QObject *o, QEvent *e)
 
virtual void hideEvent (QHideEvent *e)
 

Additional Inherited Members

- Public Member Functions inherited from QPanel
virtual QString id () const =0
 
 QPanel (QWidget *p=0)
 Constructor. More...
 
virtual ~QPanel ()
 Destructor.
 
QEditoreditor ()
 
void attach (QEditor *e)
 Connect the panel to a text editor.
 
virtual bool shallShow () const
 
bool defaultVisibility () const
 
void setDefaultVisibility (bool on)
 
- Static Public Member Functions inherited from QPanel
static QPanelpanel (const QString &id, QWidget *p=0)
 
static void registerCreator (QPanelCreator *c)
 
- Protected Member Functions inherited from QPanel
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void showEvent (QShowEvent *e)
 
virtual void paintEvent (QPaintEvent *e)
 
virtual bool paint (QPainter *p, QEditor *e)
 
- Private Member Functions inherited from Ui_SearchReplace
void setupUi (QWidget *SearchReplace)
 
void retranslateUi (QWidget *SearchReplace)
 
- Private Attributes inherited from Ui_SearchReplace
QVBoxLayout * vboxLayout
 
QFrame * frameSearch
 
QHBoxLayout * hboxLayout
 
QToolButtonbClose
 
QToolButtonbRefresh
 
QLabel * label
 
QLineEdit * leFind
 
QToolButtonbNext
 
QToolButtonbPrevious
 
QSpacerItem * spacerItem
 
QCheckBox * cbWords
 
QCheckBox * cbCursor
 
QCheckBox * cbSelection
 
QCheckBox * cbHighlight
 
QCheckBox * cbRegExp
 
QCheckBox * cbCase
 
QFrame * frameReplace
 
QHBoxLayout * hboxLayout1
 
QCheckBox * cbReplace
 
QLineEdit * leReplace
 
QSpacerItem * spacerItem1
 
QCheckBox * cbPrompt
 
QCheckBox * cbReplaceAll
 
QCheckBox * cbEscapeSeq
 

Detailed Description

A panel that provide inline search/replace functionalities.

Member Function Documentation

void QSearchReplacePanel::editorChange ( QEditor e)
protectedvirtual

Callback.

Each time attach() is called, this function is called as well so that the panel can fine tune its behaviour according to the editor monitored.

Note
the Default implementation does nothing...

Reimplemented from QPanel.


The documentation for this class was generated from the following files: