2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#ifndef FINDDIALOG_H
|
|
|
|
#define FINDDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QLineEdit;
|
|
|
|
class QPushButton;
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
class FindDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-09-06 21:24:56 +00:00
|
|
|
FindDialog(QWidget *parent = nullptr);
|
2011-04-27 10:05:43 +00:00
|
|
|
QString getFindText();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void findClicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QPushButton *findButton;
|
|
|
|
QLineEdit *lineEdit;
|
|
|
|
QString findText;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|