forked from qt-creator/qt-creator
30 lines
471 B
C
30 lines
471 B
C
|
|
#ifndef FINDDIALOG_H
|
||
|
|
#define FINDDIALOG_H
|
||
|
|
|
||
|
|
#include <QtGui/QDialog>
|
||
|
|
#include <QLineEdit>
|
||
|
|
#include <QPushButton>
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class FindDialog;
|
||
|
|
}
|
||
|
|
|
||
|
|
class FindDialog : public QDialog {
|
||
|
|
Q_OBJECT
|
||
|
|
public:
|
||
|
|
FindDialog(QWidget *parent = 0);
|
||
|
|
~FindDialog();
|
||
|
|
QString getFindText();
|
||
|
|
|
||
|
|
public slots:
|
||
|
|
void findClicked();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::FindDialog *m_ui;
|
||
|
|
QPushButton *findButton;
|
||
|
|
QLineEdit *lineEdit;
|
||
|
|
QString findText;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // FINDDIALOG_H
|