2001-08-19 13:25:15 +00:00
|
|
|
/**
|
|
|
|
* \file QSearchDialog.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Edwin Leuven
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QSEARCHDIALOG_H
|
|
|
|
#define QSEARCHDIALOG_H
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "ui/QSearchDialogBase.h"
|
|
|
|
#include "QSearch.h"
|
|
|
|
|
|
|
|
class QCloseEvent;
|
2001-08-31 02:34:10 +00:00
|
|
|
class QComboBox;
|
2001-08-19 13:25:15 +00:00
|
|
|
|
|
|
|
class QSearchDialog : public QSearchDialogBase
|
|
|
|
{ Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2001-08-31 02:34:10 +00:00
|
|
|
QSearchDialog(QSearch * form);
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-31 02:34:10 +00:00
|
|
|
protected slots:
|
|
|
|
void findChanged();
|
|
|
|
void findClicked();
|
|
|
|
void replaceClicked();
|
|
|
|
void replaceallClicked();
|
2001-08-19 13:25:15 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void closeEvent(QCloseEvent * e);
|
|
|
|
|
|
|
|
private:
|
2001-08-31 02:34:10 +00:00
|
|
|
// add a string to the combo if needed
|
2002-01-25 19:34:22 +00:00
|
|
|
void remember(string const & find, QComboBox & combo);
|
2001-08-31 02:34:10 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
QSearch * form_;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSEARCHDIALOG_H
|