FindReplaceDialog Class Reference
A find/replace dialog.
More...
#include <findreplacedialog.h>
List of all members.
Public Slots |
| void | findNext () |
| | Finds the next occurrence.
|
| void | findPrev () |
| | Finds the previous occurrence.
|
Public Member Functions |
| | FindReplaceDialog (QWidget *parent=0) |
| virtual | ~FindReplaceDialog () |
| void | setTextEdit (QTextEdit *textEdit) |
| | Associates the text editor where to perform the search.
|
| virtual void | writeSettings (QSettings &settings, const QString &prefix="FindReplaceDialog") |
| | Writes the state of the form to the passed settings.
|
| virtual void | readSettings (QSettings &settings, const QString &prefix="FindReplaceDialog") |
| | Reads the state of the form from the passed settings.
|
Protected Member Functions |
| void | changeEvent (QEvent *e) |
Protected Attributes |
| Ui::FindReplaceDialog * | ui |
Detailed Description
A find/replace dialog.
It relies on a FindReplaceForm object (see that class for the functionalities provided).
Constructor & Destructor Documentation
| FindReplaceDialog::FindReplaceDialog |
( |
QWidget * |
parent = 0 |
) |
|
| FindReplaceDialog::~FindReplaceDialog |
( |
|
) |
[virtual] |
Member Function Documentation
| void FindReplaceDialog::changeEvent |
( |
QEvent * |
e |
) |
[protected] |
| void FindReplaceDialog::findNext |
( |
|
) |
[slot] |
Finds the next occurrence.
| void FindReplaceDialog::findPrev |
( |
|
) |
[slot] |
Finds the previous occurrence.
| void FindReplaceDialog::readSettings |
( |
QSettings & |
settings, |
|
|
const QString & |
prefix = "FindReplaceDialog" | |
|
) |
| | [virtual] |
Reads the state of the form from the passed settings.
- Parameters:
-
| settings | |
| prefix | the prefix to look for in the settings |
Reimplemented in FindDialog.
| void FindReplaceDialog::setTextEdit |
( |
QTextEdit * |
textEdit |
) |
|
Associates the text editor where to perform the search.
- Parameters:
-
| void FindReplaceDialog::writeSettings |
( |
QSettings & |
settings, |
|
|
const QString & |
prefix = "FindReplaceDialog" | |
|
) |
| | [virtual] |
Writes the state of the form to the passed settings.
- Parameters:
-
| settings | |
| prefix | the prefix to insert in the settings |
Reimplemented in FindDialog.
Member Data Documentation