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>
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#include "QSearch.h"
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "ui/QSearchDialogBase.h"
|
2001-08-19 13:25:15 +00:00
|
|
|
|
|
|
|
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);
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-31 02:34:10 +00:00
|
|
|
protected slots:
|
|
|
|
void findChanged();
|
|
|
|
void findClicked();
|
|
|
|
void replaceClicked();
|
|
|
|
void replaceallClicked();
|
2002-03-21 21:21:28 +00:00
|
|
|
|
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);
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
QSearch * form_;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSEARCHDIALOG_H
|