> In principle this works out-of-the-box because the settings are
> restored by Qt.

What I forgot to say is:

If you also want to remember the settings in the dialog, like
word-wrap, case-sensitivity and so on, you need to implement the
following two functions:

- void FindAndReplace::restoreSession()
- void FindAndReplace::saveSession() const

See for instance the corresponding functions in GuiViewSource.

Vincent

Reply via email to