4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "QDialogView.h"
16 #include "ui_SearchUi.h"
28 class QSearchDialog : public QDialog, public Ui::QSearchUi {
31 QSearchDialog(QSearch * form);
37 void replaceClicked();
38 void replaceallClicked();
40 virtual void closeEvent(QCloseEvent * e);
43 // add a string to the combo if needed
44 void remember(std::string const & find, QComboBox & combo);
51 : public QController<ControlSearch, QView<QSearchDialog> >
55 friend class QSearchDialog;
60 virtual void apply() {}
62 virtual void update_contents() {}
64 virtual void build_dialog();
66 void find(docstring const & str, bool casesens,
67 bool words, bool backwards);
69 void replace(docstring const & findstr,
70 docstring const & replacestr,
71 bool casesens, bool words, bool backwards, bool all);
74 } // namespace frontend